{"uid":"cap_X_wZWT7bY7HSTSTFuYEI0","slug":"ai-security-guard-document-scanner-64de34a9","name":"AI Security Guard Document Scanner","description":"Knowledge, understanding, and tooling is power. Research-backed education on agentic security, free resources, then AgentGuard360 and Protection SDK when you're ready to protect what you ship.","url":"https://aisecurityguard.io/v1/document/scan","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"file":{"type":"string","format":"binary","description":"PDF or DOCX file to scan. Upload as multipart/form-data. Maximum file size: 15MB."},"intent_contract":{"type":"object","properties":{"trusted":{"type":"boolean","description":"Is document from trusted source? Usually false."},"intent_type":{"type":"string","description":"Use \"document_scanning\" for document scans."}},"description":"Intent declaration for drift detection."}}},"responseSchema":{"type":"json","example":{"verdict":"suspicious","findings":[{"type":"hidden_text","location":"annotation_layer","severity":"medium","description":"Hidden instruction found in PDF annotation"}],"blocks_scanned":8,"hidden_text_found":true,"extraction_time_ms":1847}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YOjI2KDaxr_DeqExBJYWS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans documents (e.g. PDFs) for hidden text, prompt injection payloads, and other malicious content that could compromise autonomous AI agents","exampleAgentPrompt":"Before you process this PDF I just received, can you scan it for hidden text or prompt injection attacks — I want a verdict on whether it's suspicious and a list of any findings with their severity?","exampleUseCases":null,"resultDescription":"A JSON object with a verdict (e.g. 'suspicious' or 'clean'), an array of findings each containing type, location, severity, and description, the number of blocks scanned, a boolean for whether hidden text was found, and the extraction time in milliseconds.","failureModes":["Unsupported file format — only certain document types accepted","Document too large — size limits may apply","Malformed or corrupted document — parsing failure","Rate limit exceeded — too many scans in a short window","Payment failure — insufficient USDC balance for x402 transaction"],"whenToPreferThis":"Choose this endpoint when your AI agent pipeline ingests user-supplied or third-party documents (especially PDFs) and you need to detect hidden instructions, annotation-layer injections, or other adversarial content before passing the document to an LLM. Ideal for agentic workflows where untrusted documents could hijack the agent's behavior via embedded prompt injection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:43:59.108Z","isFirstParty":false}