{"uid":"cap_0H5Ka3-O3C-kRT61TN1YD","slug":"agentdiet-rag-poison-shield-383096e7","name":"AgentDiet RAG Poison Shield","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://status.agentdiet.dev settling in USDC on Base.","url":"https://status.agentdiet.dev/v1/rag-poison-shield?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"text":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1IIdYCR7KpcaTkBb2JYmi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans text input to detect and flag RAG poisoning attempts that could corrupt AI agent context windows","exampleAgentPrompt":"Before I pass this retrieved document chunk into my agent's context, run it through the RAG poison shield to check if it contains any adversarial injection or manipulation attempts.","exampleUseCases":[{"title":"Pre-ingestion safety check for RAG pipeline","prompt":"I'm pulling documents from the web into my retrieval pipeline — can you scan this chunk of text for RAG poisoning or prompt injection before it gets added to the context window?"},{"title":"Validating third-party knowledge base content","prompt":"We're integrating an external knowledge base into our AI assistant. Before going live, can you run these retrieved passages through the RAG poison shield to make sure nothing malicious is embedded?"},{"title":"Real-time agent self-defense during retrieval","prompt":"My agent just fetched some results from an untrusted source. Can you check this text with the AgentDiet RAG poison shield and tell me if it's safe to include in the prompt context?"}],"resultDescription":"Returns a JSON object with a status field ('ok' or error), a data payload containing analysis results, and an roi_proof object showing the compression_ratio_pct (e.g. 91.4%) achieved — indicating how much of the input was flagged or distilled as potentially adversarial or redundant.","failureModes":["Empty or missing 'text' query parameter returns an error or empty analysis","Non-text binary input may produce unreliable shield results","Payment failure via x402/USDC may return 402 status blocking access","Very long text inputs exceeding context limits may be truncated or rejected","False negatives: sophisticated poisoning attempts may not be detected"],"whenToPreferThis":"Choose this endpoint when your AI agent retrieves content from untrusted or semi-trusted external sources (web scraping, user-submitted documents, third-party APIs) and needs to validate that content before injecting it into a context window. It is particularly valuable in agentic RAG pipelines where malicious actors could embed adversarial instructions inside retrieved documents. Prefer this over generic content moderation when the threat model is specifically prompt injection or RAG manipulation rather than general toxicity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:48.931Z","isFirstParty":false,"canonicalSlug":"agentdiet-rag-poison-shield-383096e7"}