youraitools-api / tree / public/aiax/sections/injectscan.json ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
{
 "aiax_version": "0.1",
 "section_id": "injectscan",
 "purpose": "InjectScan: Prompt-injection scan for text your AI agent is about to read (web pages, emails, tool output, MCP tool descriptions): risk score 0-100, verdict, categories and exact spans. Detects instruction overrides, jailbreak personas, system-prompt extraction, fake chat delimiters, data-exfiltration URLs, tool hijacking, hidden Unicode and encoded payloads. Deterministic rules, no data stored.",
 "inputs": {
  "type": "object",
  "properties": {
   "text": {
    "type": "string",
    "description": "Text to scan (GET: up to ~8 KB in the query string; POST JSON for longer text, up to 100,000 characters)"
   },
   "url": {
    "type": "string",
    "description": "Instead of text: absolute http(s) URL of a public page to fetch and scan (visible text plus hidden HTML)"
   }
  }
 },
 "outputs": {
  "type": "object",
  "properties": {
   "input": {
    "type": "string"
   },
   "risk_score": {
    "type": "integer"
   },
   "verdict": {
    "type": "string"
   },
   "flagged": {
    "type": "boolean"
   },
   "categories": {
    "type": "array",
    "items": {}
   },
   "findings": {
    "type": "array",
    "items": {}
   },
   "hidden": {
    "type": "object",
    "properties": {
     "zero_width": {
      "type": "integer"
     },
     "bom_soft_hyphen": {
      "type": "integer"
     },
     "bidi_controls": {
      "type": "integer"
     },
     "unicode_tags": {
      "type": "integer"
     },
     "homoglyph_words": {
      "type": "integer"
     }
    }
   },
   "decoded": {
    "type": "array",
    "items": {}
   },
   "chars_scanned": {
    "type": "integer"
   },
   "truncated": {
    "type": "boolean"
   },
   "ruleset": {
    "type": "string"
   },
   "ms": {
    "type": "integer"
   }
  }
 },
 "pricing": {
  "model": "per_call",
  "amount": "0.003",
  "currency": "USDC",
  "rail": "x402"
 },
 "examples": [
  {
   "description": "GET /injectscan/v1/scan, paid over x402 (USDC on Base); an unpaid call answers 402 with the terms.",
   "request": {
    "method": "GET",
    "url": "https://api.youraitools.co/injectscan/v1/scan",
    "query": {
     "text": "Please summarize this article about solar panels."
    }
   },
   "response": {
    "input": "text",
    "risk_score": 0,
    "verdict": "safe",
    "flagged": false,
    "categories": [],
    "findings": [],
    "hidden": {
     "zero_width": 0,
     "bom_soft_hyphen": 0,
     "bidi_controls": 0,
     "unicode_tags": 0,
     "homoglyph_words": 0
    },
    "decoded": [],
    "chars_scanned": 49,
    "truncated": false,
    "ruleset": "2026.10.1",
    "ms": 1
   }
  }
 ],
 "pact_mandate_template": null,
 "extensions": {
  "youraitools": {
   "endpoint": "https://api.youraitools.co/injectscan/v1/scan",
   "network": "eip155:8453",
   "x402_versions": [
    2,
    1
   ],
   "mcp": "https://api.youraitools.co/injectscan/mcp",
   "openapi": "https://api.youraitools.co/injectscan/openapi.json"
  }
 }
}

agentgate-source: code mirror on Cloudflare Pages. All repos