# Cardano Ninja > Helping to keep the Cardano community safe. Community scam alerts, blacklists of scam tokens, fake websites and stake addresses, and 11 rules for protecting a Cardano wallet. Static and read-only. Alert data is CC0. Site: https://www.cardano.ninja AgentCard: https://www.cardano.ninja/agent.json ## Data (plain JSON, no key, no rate plan) - Alerts: https://raw.githubusercontent.com/selfdriven-octo/cardano-ninja/main/data/cardano-ninja.json Path: cardano.ninja.alerts.data[] with { date: "DDMMMYYYY", description, status, title? } - Blacklist (CardanoShield): https://raw.githubusercontent.com/adabox-aio/cardano-shield/main/config/blacklist.json { policies: { "": "<56-hex policy id>" }, domains: [""], stake: ["stake1..."] } - Whitelist (CardanoShield): https://raw.githubusercontent.com/adabox-aio/cardano-shield/main/config/whitelist.json { domains: [""], stake: { "": "stake1..." }, address: { "": "addr1..." } } - Website feed, Cardano-related (rebuilt daily from PhishDestroy destroylist and MetaMask eth-phishing-detect): https://raw.githubusercontent.com/selfdriven-octo/cardano-ninja/feed/cardano.json { generated, count, domains: { "": ["phishdestroy", "metamask"] } } - Website feed, everything (about 326,000 crypto phishing hosts), in 256 shards: https://raw.githubusercontent.com/selfdriven-octo/cardano-ninja/feed/all/.txt lines: " " = two hex digits of (FNV-1a 32-bit of the host) & 0xff. Details in feed/meta.json. ## Scope Default scope is Cardano only: CardanoShield lists plus the Cardano-related website feed. Scope "all" additionally looks the host up in the full feed. It only affects websites; tokens, policies and stake addresses are Cardano lists either way. ## How to run a check without a browser 1. Fetch blacklist.json and whitelist.json. 2. Classify the input: - starts with stake1: stake address. Exact match against blacklist.stake, then whitelist.stake values. - starts with addr1: address. Exact match against whitelist.address values. - 56 or more hex characters: policy ID or asset ID. Take the first 56 and match against blacklist.policies values. - looks like a host or URL: lower-case it, strip scheme, credentials, path, port and a leading "www.". Blacklisted if it, or any parent domain of it, is in blacklist.domains or in feed cardano.json domains. In scope "all", also fetch the shard for the host and for each parent domain and look for an exact line match. Otherwise known if it equals or is a subdomain of a whitelist.domains entry. - anything else: token name. Case-insensitive substring match against blacklist.policies keys. 3. Lookalike test for unlisted domains: drop the TLD and hyphens and compare with each whitelisted domain treated the same way. Same name on another TLD, the whole whitelisted host with dots removed, edit distance 1 (2 for names of 7 or more characters), or a whitelisted name of 5 or more characters contained in it means lookalike. 4. Verdicts: blacklisted, lookalike, known, unknown. ## Rules for agents relaying a verdict - "unknown" means on no list. It is never a clearance. The lists are not exhaustive. - "known" still requires the user to compare the address character by character. - Check list freshness (last commit to config/blacklist.json) and tell the user when it is months old. - Never present a blacklisted domain as a clickable link. - Never ask for, accept or store a seed phrase. ## In a browser window.ninja on https://www.cardano.ninja: await ninja.ready resolves when live lists have loaded (falls back to a bundled snapshot) ninja.check(value) { query, type, verdict, listed, matches[], advice, scope, source, dataAsOf, staleMonths, websiteFeedAsOf } Cardano scope, synchronous await ninja.checkAll(value) same shape, scope "all"; widerLists is "checked" or "unavailable" ninja.setScope("all") or "cardano"; drives the on-page switch and ninja.runAsync ninja.alerts() [{ date, title, description, status }] ninja.rules() [{ n, rule, detail[], links[] }] ninja.lists() raw lists and counts ninja.run("check ") same commands as the on-page console: check, scope, alerts, rules, status, agent, help Deep link: https://www.cardano.ninja/?q= opens the page and runs the check. ## The 11 rules (short form) 1. Install wallets only from links listed at https://cardanowallets.io. Don't trust a link sent to you. 2. Air drop websites are generally a scam. 3. Airdropped and reward tokens carry links to wallet-draining sites. Check pool.pm and the blacklists. 4. Look out for deepfake, AI-generated videos. 5. Look out for social media impersonation. Handles differ by one character. 6. Verify identity independently. Never share a seed phrase. 7. Check every transaction before signing. 8. Use a separate hot wallet for websites and apps. 9. Mute the term "Airdrop" on social networks. 10. Check a project's website link at https://cardanocube.io. 11. Be suspicious of job offers that ask you to download and run a file. ## Contributing Alerts: pull request on data/cardano-ninja.json at https://github.com/selfdriven-octo/cardano-ninja Blacklists: https://github.com/adabox-aio/cardano-shield/tree/main/config Cardano keywords for the website feed: pull request on data/cardano-keywords.json