{
  "schema_version": "0.2",
  "name": "PhishDestroy Threat Intelligence",
  "description": "Independent crypto-phishing detection platform. Query live threat data, probe domains, retrieve forensic reports.",
  "homepage": "https://phishdestroy.io",
  "tools": [
    {
      "name": "probe_domain",
      "description": "Live-check whether a phishing domain is currently serving content. Supports liveping (basic HTTP check) and redirects (walk the redirect chain); only domains in the PhishDestroy database, others return 404 domain_not_tracked. Returns HTTP status, liveness flag, probe method, timestamp. Cached 15 min.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "description": "Domain to probe (no protocol, no path). Example: payscrow.bet"
          },
          "type": {
            "type": "string",
            "enum": ["liveping", "redirects"],
            "default": "liveping",
            "description": "Probe strategy"
          }
        },
        "required": ["domain"]
      },
      "endpoint": "https://phishdestroy.io/api/probe.php"
    },
    {
      "name": "get_platform_stats",
      "description": "Retrieve aggregate PhishDestroy platform statistics: total tracked domains, active/dead counts, new detections in last 24h.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "endpoint": "https://phishdestroy.io/api/stats.php"
    },
    {
      "name": "get_domain_threat_report",
      "description": "Retrieve an LLM-readable markdown threat-intelligence report for a domain. Includes VirusTotal detections, registrar, hosting geo, AI-generated summary, evidence, blocklist status, drainer-kit classification.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string",
            "description": "Domain to look up (e.g. fake-uniswap.io)"
          }
        },
        "required": ["domain"]
      },
      "endpoint": "https://phishdestroy.io/domain/{domain}/llm.txt"
    },
    {
      "name": "get_cti_stats",
      "description": "CTI-focused aggregate counters: active campaigns, registrar rankings, geographic distribution, fresh detections.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "endpoint": "https://phishdestroy.io/api/stats-cti.php"
    },
    {
      "name": "threat_feed",
      "description": "Atom feed of newly detected phishing domains. Optional filters: brand (impersonated brand name), registrar (registrar name).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "brand": { "type": "string", "description": "Filter by impersonated brand, e.g. Coinbase" },
          "registrar": { "type": "string", "description": "Filter by registrar name" }
        }
      },
      "endpoint": "https://phishdestroy.io/feed-threats.xml"
    },
    {
      "name": "unwrap_links",
      "description": "Find the links in a message (or a list of URLs, defanged hxxp/[.] accepted) and peel off redirect and protection wrappers (Safe Links, Proofpoint URL Defense, Google and social redirects, tracking redirectors) to the real destination, offline. Destinations are never opened; short links that need a network lookup are marked short_link. Same engine as the Link Unwrapper page.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1048576,
            "description": "Message text or URLs, one per line. Up to 1 MB."
          },
          "max_links": {
            "type": "integer",
            "minimum": 1,
            "maximum": 500,
            "default": 500,
            "description": "Stop after this many links."
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "format",
          "link_count",
          "links",
          "limit_reached",
          "network"
        ],
        "properties": {
          "format": {
            "const": "phishdestroy.unwrap-links.v1"
          },
          "link_count": {
            "type": "integer"
          },
          "limit_reached": {
            "type": "boolean"
          },
          "network": {
            "const": false
          },
          "links": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "input",
                "destination",
                "layers",
                "warnings"
              ],
              "properties": {
                "input": {
                  "type": "string"
                },
                "destination": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "layers": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "provider": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "from": {
                        "type": "string"
                      },
                      "to": {
                        "type": "string"
                      }
                    }
                  }
                },
                "short_link": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Shortener that hides the destination; resolving it needs a network request the tool does not make."
                },
                "partial": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "error": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "warnings": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "level": {
                        "type": "string"
                      },
                      "text": {
                        "type": "string"
                      }
                    }
                  }
                },
                "scheme": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "URL scheme of the destination; anything other than http or https carries a danger warning."
                }
              }
            }
          },
          "untrusted_content": {
            "const": true
          }
        }
      },
      "execution": "browser",
      "network": false,
      "page": "https://phishdestroy.io/developer-tools/link-unwrapper",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "check_homoglyphs",
      "description": "Check a domain, URL, e-mail address or text for lookalike (homoglyph) characters, mixed scripts, punycode and invisible characters (UTS #39 confusables), offline. With compare_to, compare a suspect domain with the real one (same skeleton, case-folded match, edit distance). Same engine as the Homoglyph Checker page; a result without findings is not a safety verdict.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200000,
            "description": "Domain, URL, e-mail address or text. Text analysis reads the first 20,000 characters."
          },
          "compare_to": {
            "type": "string",
            "maxLength": 253,
            "description": "The real domain to compare a single suspect domain with."
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "format",
          "mode",
          "verdict",
          "network"
        ],
        "properties": {
          "format": {
            "const": "phishdestroy.homoglyphs.v1"
          },
          "mode": {
            "enum": [
              "host",
              "hosts",
              "text"
            ]
          },
          "verdict": {
            "enum": [
              "ok",
              "warn",
              "danger"
            ],
            "description": "Worst finding; ok means no lookalike finding, not that the site is safe."
          },
          "hosts": {
            "type": "array"
          },
          "text_findings": {
            "type": "array"
          },
          "compare": {
            "type": [
              "object",
              "null"
            ]
          },
          "network": {
            "const": false
          }
        }
      },
      "execution": "browser",
      "network": false,
      "page": "https://phishdestroy.io/developer-tools/homoglyph-checker",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "extract_iocs",
      "description": "Extract indicators of compromise from text, offline: URLs, domains, IP addresses, e-mail addresses, hashes, Bitcoin and Ethereum addresses (defanged input is refanged). Optionally convert them to STIX 2.1, MISP, CSV, Suricata or YARA text. Same engine as the IOC Converter page.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 5242880,
            "description": "Text that contains indicators. Up to 5 MB."
          },
          "include_hosts": {
            "type": "boolean",
            "default": false,
            "description": "Also add the host of each URL as a domain or IP indicator."
          },
          "format": {
            "enum": [
              "json",
              "stix",
              "misp",
              "csv",
              "suricata",
              "yara"
            ],
            "default": "json",
            "description": "json returns the items only; other formats add the converted text."
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "format",
          "total",
          "items",
          "truncated",
          "network"
        ],
        "properties": {
          "format": {
            "const": "phishdestroy.iocs.v1"
          },
          "total": {
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "type",
                "value"
              ],
              "properties": {
                "type": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                },
                "comment": {
                  "type": "string"
                }
              }
            }
          },
          "converted": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "format": {
                "type": "string"
              },
              "text": {
                "type": "string"
              }
            }
          },
          "network": {
            "const": false
          },
          "untrusted_content": {
            "const": true
          }
        }
      },
      "execution": "browser",
      "network": false,
      "page": "https://phishdestroy.io/developer-tools/ioc-converter",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "build_evidence_record",
      "description": "Build a PhishDestroy evidence record (JSON) for a phishing sighting, offline: URL (defanged input accepted, stored with a defanged copy), where it was seen, when, notes and the SHA-256 of a saved file computed by the caller. record_sha256 covers the canonical record (keys sorted, no spaces) so anyone can verify it. Nothing is sent or stored. Same engine as the Evidence Record page.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 8192,
            "description": "http(s) address of the phishing page; hxxps:// and [.] are accepted."
          },
          "source": {
            "enum": [
              "email",
              "sms",
              "messenger",
              "social",
              "ad",
              "search",
              "qr",
              "phone",
              "website",
              "other"
            ],
            "default": "other"
          },
          "source_detail": {
            "type": "string",
            "maxLength": 2000
          },
          "observed_at": {
            "type": "string",
            "maxLength": 40,
            "description": "When it was seen, ISO 8601."
          },
          "notes": {
            "type": "string",
            "maxLength": 20000
          },
          "file": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "maxLength": 255
              },
              "size": {
                "type": "integer",
                "minimum": 0
              },
              "type": {
                "type": "string",
                "maxLength": 100
              },
              "sha256": {
                "type": "string",
                "pattern": "^[0-9a-fA-F]{64}$"
              }
            },
            "required": [
              "sha256"
            ],
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "format",
          "record",
          "record_sha256",
          "network"
        ],
        "properties": {
          "format": {
            "const": "phishdestroy.evidence-record.v1"
          },
          "record": {
            "type": "object"
          },
          "record_sha256": {
            "type": "string"
          },
          "network": {
            "const": false
          }
        }
      },
      "execution": "browser",
      "network": false,
      "page": "https://phishdestroy.io/developer-tools/evidence-record",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "analyze_message",
      "description": "Analyze a suspicious message offline in one call: find every link (defanged hxxp/[.] accepted), peel off redirect and protection wrappers (same engine as unwrap_links), check each destination host for lookalike characters (same engine as check_homoglyphs) and list the unique domains. Nothing is sent and no link is opened. To check the domains in the PhishDestroy database, call lookup_domains with the returned domains (that sends only the domain names to phishdestroy.io). No finding is not a safety verdict. The Smart Paste chain on /developer-tools runs this same function.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 1048576,
            "description": "The message text. Up to 1 MB."
          },
          "max_links": {
            "type": "integer",
            "minimum": 1,
            "maximum": 500,
            "default": 500
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "format",
          "stages",
          "links",
          "domains",
          "network",
          "untrusted_content"
        ],
        "properties": {
          "format": {
            "const": "phishdestroy.message-analysis.v1"
          },
          "stages": {
            "type": "object",
            "required": [
              "links",
              "lookalike"
            ],
            "properties": {
              "links": {
                "enum": [
                  "done",
                  "error"
                ]
              },
              "lookalike": {
                "enum": [
                  "done",
                  "skipped",
                  "error"
                ]
              },
              "errors": {
                "type": "object"
              }
            }
          },
          "links": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "input",
                "destination",
                "host",
                "lookalike"
              ],
              "properties": {
                "input": {
                  "type": "string"
                },
                "destination": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "scheme": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "layers": {
                  "type": "array"
                },
                "short_link": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "warnings": {
                  "type": "array"
                },
                "lookalike": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "verdict": {
                      "enum": [
                        "ok",
                        "warn",
                        "danger"
                      ]
                    },
                    "findings": {
                      "type": "array"
                    }
                  }
                }
              }
            }
          },
          "domains": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Unique destination hosts (ASCII/punycode), ready for lookup_domains."
          },
          "limit_reached": {
            "type": "boolean"
          },
          "network": {
            "const": false
          },
          "untrusted_content": {
            "const": true
          },
          "next_step": {
            "type": "string"
          },
          "note": {
            "type": "string"
          }
        }
      },
      "execution": "browser",
      "network": false,
      "page": "https://phishdestroy.io/developer-tools/link-unwrapper",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    },
    {
      "name": "inspect_signature",
      "description": "Decode what a wallet is asked to sign, offline: EIP-712 typed data (permits, Permit2, Seaport orders), transactions and calldata (approve, setApprovalForAll, transfers, multicalls) and personal_sign messages. Returns a risk level (danger, warn, ok, info), plain-language flags (unlimited approval, long-lived signature, unknown spender), decoded fields and hashes. Same engine as the Sign Inspector page; it cannot see on-chain state, so check addresses on a block explorer. Nothing is sent.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2097152,
            "description": "Typed data JSON, an RPC request, calldata or a raw transaction (0x…), or a message. Up to 2 MB."
          },
          "mode": {
            "enum": [
              "auto",
              "typed",
              "tx",
              "message"
            ],
            "default": "auto",
            "description": "How to read the input; auto detects it."
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "outputSchema": {
        "type": "object",
        "required": [
          "format",
          "type",
          "level",
          "title",
          "flags",
          "network"
        ],
        "properties": {
          "format": {
            "const": "phishdestroy.signature-inspection.v1"
          },
          "type": {
            "type": "string"
          },
          "level": {
            "enum": [
              "danger",
              "warn",
              "ok",
              "info"
            ]
          },
          "title": {
            "type": "string"
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "detected": {
            "type": [
              "string",
              "null"
            ]
          },
          "flags": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "level": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                }
              }
            }
          },
          "fields": {
            "type": "array"
          },
          "hashes": {
            "type": [
              "array",
              "object",
              "null"
            ]
          },
          "rows": {
            "type": [
              "array",
              "null"
            ]
          },
          "network": {
            "const": false
          },
          "note": {
            "type": "string"
          }
        }
      },
      "execution": "browser",
      "network": false,
      "page": "https://phishdestroy.io/developer-tools/sign-inspector",
      "annotations": {
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": true,
        "openWorldHint": false
      }
    }
  ],
  "catalog": "https://phishdestroy.io/developer-tools/catalog.json"
}
