InjectScan: Prompt-injection scan: text
scan_textScans untrusted text (web page text, emails, documents, tool results, another agent's message) for prompt injection before your agent acts on it: instruction overrides, jailbreak personas, system-prompt extraction, fake delimiters, exfiltration URLs, tool hijacking, hidden Unicode, encoded payloads. Deterministic rules; up to 100000 characters. Returns risk_score (0-100), verdict (safe | suspicious | malicious), categories[] and findings[]. Free: 30 calls/day per IP shared with scan_url and scan_tools. Not for: links (use scan_url) or MCP tool definitions (use scan_tools). A safety signal, not a guarantee.
[InjectScan via YourAITools MCP Hub] Free tier: same as InjectScan's own MCP server (call without payment and without tier). Paid: scan $0.003 per call, with a credits key (Authorization: Bearer yatc_...) or x402 (USDC; the hub returns the payment terms). Failed tool calls aren't charged: credits are refunded automatically and x402 payments only settle on success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "scan_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | (paid calls only) | |
| text | Yes | The untrusted text to scan, as one plain string (1-100000 characters; longer text is truncated and flagged). Offsets in findings refer to this string. | |
| tier | No | Paid tier: scan $0.003. Omit tier (with no credits key or x402 payment) to use the free tier. | |
| tools | No | (paid calls only) |