Testing

Exercise every Risk decision from a sandbox environment, with test inputs that trigger each reason and their own counters, memory and lists.

Sandbox (coss_test_…) keys assess like live ones, with their own counters, memory and lists, and these test inputs (documentation addresses and .test domains, which never belong to real users):

The captcha test tokens work without a captcha provider in the settings, content markers without any model, and the 192.0.2.x addresses always have VPN, proxy and relay data (privacy; other addresses have none in sandboxes); real tokens from coss/device work too; sandbox classifications don't count against the organization's limit. Email, IP and phone checks see the same test addresses; phone checks in sandboxes know only the numbers above (others are just checked for syntax) and never count against the organization's limit. Typos (@gmail.con), role accounts (info@), velocity, duplicates, login history, feedback, lists, rules and settings work as in live environments.

const {  } = await ..({
  : "signup",
  : { : "x@disposable.test" },
  : "192.0.2.1",
});
// data?.decision === "block": a disposable address over Tor

Last updated