EmailDomainSquattingReputation

Check if an email address's domain is trying to squat other domain using Levenshtein distance algorithm.

javascript · Common Scripts

Details

IDEmailDomainSquattingReputation
Languagejavascript
From Version5.0.0
Tagsemail reputation

README

Checks if an email address’s domain is trying to squat other domain using Levenshtein distance algorithm.

Script Data


Name Description
Script Type javascript
Tags email, reputation

Inputs


Argument Name Description
email The email address to check.
domain The domain list to check against for squatting (comma separated).
threshold The similarity threshold.

Outputs


Path Description Type
Account The user account. Unknown
Account.Email The account’s email object. Unknown
Account.Email.Username The account’s email username. string
Account.Email.Address The account’s email address. string
Account.Email.Domain The account’s email domain. string
Account.Email.Distance The email address distance compared to the domains in the query. number
Account.Email.Distance.Domain The compared domain. string
Account.Email.Distance.Value The distance between the email domain and the compared domain. number
DBotScore.Indicator The indicator. string
DBotScore.Type The indicator type. string
DBotScore.Vendor The DBot vendor score. string
DBotScore.Score The DBot score. number
commonfields:
  id: EmailDomainSquattingReputation
  version: -1
name: EmailDomainSquattingReputation
script: ''
type: javascript
tags:
- email
- reputation
comment: Check if an email address's domain is trying to squat other domain using Levenshtein distance algorithm.
system: true
args:
- name: email
  required: true
  default: true
  description: The email address to check.
- name: domain
  required: true
  description: The domain list to check against for squatting (comma separated).
  isArray: true
- name: threshold
  description: The similarity threshold.
  defaultValue: "3"
outputs:
- contextPath: Account
  description: 'A user account.'
- contextPath: Account.Email
  description: The account email object.
- contextPath: Account.Email.Username
  description: The account email username.
  type: string
- contextPath: Account.Email.Address
  description: The account email address.
  type: string
- contextPath: Account.Email.Domain
  description: The account email domain.
  type: string
- contextPath: Account.Email.Distance
  description: The email address distance compare to the domains in query.
  type: number
- contextPath: Account.Email.Distance.Domain
  description: The compared domain.
  type: string
- contextPath: Account.Email.Distance.Value
  description: 'The distance between the email domain and the compared domain.'
  type: number
- contextPath: DBotScore.Indicator
  description: The Indicator.
  type: string
- contextPath: DBotScore.Type
  description: The Indicator Type.
  type: string
- contextPath: DBotScore.Vendor
  description: The DBot score vendor.
  type: string
- contextPath: DBotScore.Score
  description: The DBot score.
  type: number
scripttarget: 0
fromversion: 5.0.0
tests:
- EmailDomainSquattingReputation-Test