Signet

Link Risk

Is a link someone submitted known phishing or malware, a brand look-alike, or hiding where it leads? About Link Risk

Switch: call it when a link is submitted. Publish allow, hold review, refuse deny. Up to 100 links in one call; none is stored.

The call

POST /v1/url/check when a user saves a listing, message, profile or payout page with a link. Any link is safe to check.

curl https://signetsentry.com/v1/url/check \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"url":"http://paypa1.com/signin","session_id":"s_..."}'
FieldMeaning
urlRequired. As submitted, up to 2048 characters. Without a scheme it is read as http://.
session_idThe session it came from. Adds the device.

The answer

{
  "check_id": "lk_bGlua2NoZWNrNDI", "decision": "review", "risk_score": 60,
  "reason_codes": ["LINK_LOOKALIKE_DOMAIN"],
  "reasons": [{ "code": "LINK_LOOKALIKE_DOMAIN", "description": "The address is a misspelling of paypal.com" }],
  "link": {
    "valid": true, "url": "http://paypa1.com/signin", "scheme": "http", "host": "paypa1.com", "unicode_host": null,
    "registrable_domain": "paypa1.com", "https": false, "known_malicious": false, "lookalike_of": "paypal.com",
    "punycode": false, "homograph": false, "ip_host": false, "private_address": false, "shortener": false,
    "free_hosting": false, "suspicious_tld": false, "credentials_in_url": false, "redirects_to": null,
    "executable_download": false, "obfuscated": false
  },
  "test": false
}
FieldMeaning
decisionallow publish. review hold for a moderator, or show it unclickable. deny refuse it.
check_idFor your logs.
risk_score0 to 100, for sorting.
reason_codes, reasonsWhy. Empty when nothing stood out.
link.validfalse for text that is not a web link, such as mailto:: deny. javascript: and data: links are valid but denied.
link.urlOne standard form, without user name, password or #fragment. Store and show this.
link.host, link.unicode_hostThe host (xn-- form), and how it reads in its own alphabet.
link.registrable_domainThe site it belongs to: account-verify.top for paypal.com.account-verify.top. Null for an IP address.
link.known_maliciousKnown phishing or malware.
link.lookalike_ofThe brand domain it imitates, or null.
link.punycode, link.homographAn international name; one with look-alike letters.
link.ip_host, link.private_addressAn IP address; a private or local one.
link.shortenerA URL shortener.
link.free_hostingFree hosting, a site builder, a tunnel or dynamic DNS.
link.suspicious_tldAn ending often used for abuse.
link.credentials_in_urlA user name or password before the host (user@host).
link.redirects_toAnother address the link may forward to, or null.
link.executable_downloadEnds in a program, script or installer.
link.obfuscatedEncoded or written to disguise it.
link.domain_age_days, link.newly_registeredThe domain’s age. null means unknown, not old.
link.network_reportedReported by others in the fraud network. Always false outside it.
testtrue for a test key.

Reason codes

CodeMeaning
LINK_KNOWN_MALICIOUSKnown phishing or malware.
LINK_NETWORK_REPORTEDReported by others in the fraud network.
LINK_HOMOGRAPHLook-alike letters that imitate a brand.
LINK_LOOKALIKE_DOMAINA misspelled brand site.
LINK_BRAND_IMPERSONATIONA brand’s name on someone else’s site.
LINK_BRAND_IN_PATHA brand’s name in the path of someone else’s site.
LINK_MIXED_SCRIPTLetters from different alphabets.
LINK_CREDENTIALS_IN_URLA user name, password or other site’s name before an @.
LINK_UNSAFE_SCHEMEA script, file or data link.
LINK_IP_HOSTA bare IP address.
LINK_PRIVATE_ADDRESSA private or local address.
LINK_EXECUTABLE_DOWNLOADDownloads a program, script or installer.
LINK_EMBEDDED_REDIRECTCarries another address it may forward to.
LINK_SHORTENERA shortened link.
LINK_OBFUSCATEDEncoded or written unusually.
LINK_NEW_DOMAINA recently registered domain.
LINK_SUSPICIOUS_TLDAn ending often used for abuse.
LINK_FREE_HOSTINGFree hosting or a site builder.
LINK_DEEP_SUBDOMAINSAn unusual number of subdomains.
LINK_NONSTANDARD_PORTAn unusual port.
LINK_DEVICE_HIGH_RISKThe session’s device is high risk.
LINK_DEVICE_ELEVATED_RISKThe session’s device is worth a closer look.
LINK_INVALIDNot a link that can be opened.

Check many

POST /v1/url/check/batch with {"urls": [...], "session_id": "s_..."}: 1 to 100 links, duplicates checked once. The answer has count, assessments_used, flagged (not allow) and results of {url, result}.

Report a link

POST /v1/url/report shares a bad link with the fraud network. It is free. If your account is outside it, join with PUT /v1/privacy and {"consortium_enabled": true} (Growth and Scale).

FieldMeaning
urlThe link.
malicioustrue (default) reports; false withdraws your report.
scopesite (default) or link. Well-known sites, shorteners and free hosts can only be reported by link.

Test values

LinkAnswer
https://link-test.example/allowallow
https://link-test.example/reviewreview, LINK_SHORTENER
https://link-test.example/denydeny, LINK_KNOWN_MALICIOUS
Any otherThe live checks.

Limits and errors

1 assessment per valid link; text that is not a link is free. Also the common errors.

StatusCodeWhen
400invalid_requesturl is missing or too long, or the batch is empty.
400too_many_urlsMore than 100 in a batch.
403network_not_enabledA report from outside the network.
404session_not_foundThe session is not your account’s.
429quota_exceededThe month’s quota is used up, or is smaller than the batch.

Nothing about the link: what is stored. Any outside lookup sends only the domain name, never the link.