{"uid":"cap_gyRT9VWQ4HkQqLoqbmDCb","slug":"rag-poison-shield-8baa61a8","name":"RAG Poison Shield","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.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_lE1Y2NyVJvsXO5--SNWAN","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":"Detects and filters RAG poisoning attempts in text input, returning a compression/analysis result with an ROI proof.","exampleAgentPrompt":"Can you run this text through the RAG poison shield to check if it contains any adversarial content or RAG poisoning attempts before I index it into my knowledge base?","exampleUseCases":[{"title":"Pre-indexing document safety check","prompt":"Before I add these documents to my vector store, run them through the RAG poison shield to make sure none of them contain adversarial content designed to manipulate my retrieval system."},{"title":"User-submitted content screening","prompt":"A user just submitted this text to be added to our shared knowledge base — can you check it with the RAG poison shield to see if it's trying to poison our RAG pipeline?"},{"title":"LLM pipeline input validation","prompt":"Scan this retrieved chunk of text for RAG poisoning or prompt injection attacks before my agent uses it to generate a response — I need the shield to confirm it's clean."}],"resultDescription":"Returns a JSON object with a status field ('ok'), a data object containing analysis results, and an roi_proof object that includes a compression_ratio_pct indicating how much the content was compressed/analyzed (e.g. 91.4%). The response signals whether the input text is safe or flagged as a RAG poisoning attempt.","failureModes":["Missing required 'input' object returns validation error","Invalid method enum value (not GET or POST) causes schema rejection","Empty or malformed text query parameter may yield inconclusive results","Payment failure (insufficient USDC balance) results in 402 response","Service unavailability returns non-200 status with no data"],"whenToPreferThis":"Choose this endpoint when you need to validate text before ingesting it into a RAG or vector-store pipeline and want a lightweight, pay-per-call shield with an ROI/compression proof. Prefer it over generic content moderation APIs when your threat model specifically involves adversarial RAG poisoning, prompt injection via retrieved documents, or manipulation of embedding-based retrieval systems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:55.237Z","isFirstParty":false,"canonicalSlug":"rag-poison-shield-8baa61a8"}