{"uid":"cap_0Gl1NChMXLwi508LM3LCt","slug":"k-2so-quarantine-decision-procedure-for-untrusted-content-6338016b","name":"K-2SO Quarantine Decision Procedure for Untrusted Content","description":"Decision procedure for quarantining untrusted content payloads (NFT metadata, marketplace listings, merchant response bodies) before an agent forms payment intent. Covers trust-tiering of content origins, hidden-instruction heuristics in metadata fields, payload allowlists, re-inspection gates when payment value exceeds thresholds, and evidence logging alongside the payment for auditability.","url":"https://k2so.wrong.systems/api/services/quarantine-decision-procedure-for-untrusted-cont?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Untrusted payload quarantine standard paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"quarantine-decision-procedure-for-untrusted-cont","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"quarantine-decision-procedure-for-untrusted-cont","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7_Wdt9rLt52_1HiH1Kh3l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an LLM-authored prose decision procedure guiding AI agents on how to quarantine, handle, and evaluate untrusted or potentially adversarial payloads","exampleAgentPrompt":"Generate a decision procedure for how I should quarantine and handle untrusted content or payloads that come into my agent pipeline — I want clear prose steps I can follow.","exampleUseCases":[{"title":"Prompt injection defense for agent pipeline","prompt":"My agent receives tool outputs from external APIs that could contain prompt injections — give me a step-by-step decision procedure for quarantining and evaluating those untrusted payloads before I act on them."},{"title":"Third-party data trust evaluation","prompt":"I'm building an agent that ingests user-supplied documents and I need a clear policy procedure for deciding when to trust, sanitize, or reject that content — can you generate one for me?"},{"title":"Agentic safety gate for adversarial inputs","prompt":"What's the correct decision procedure my autonomous agent should follow when it encounters content from an unknown or potentially hostile source? Give me a prose brief I can use as a runtime policy."}],"resultDescription":"A JSON object containing a plain-prose decision procedure (120+ words) authored by an LLM, including the procedure text (in both 'brief' and 'procedure' fields), the model used, a topic label, generation source (llm/reasoning/deterministic), an ISO-8601 timestamp, and the service slug. Payment metadata and provider attribution are also included.","failureModes":["HTTP 402 returned if payment not settled — agent must pay exact USDC and retry with PAYMENT-SIGNATURE header","Invalid or missing 'method' field returns a validation error","Upstream LLM unavailability may cause generation failures or fallback to deterministic output","Malformed query parameters (e.g. invalid 'meta' enum value) may return 400-level errors","Network timeouts on the wrong.systems host"],"whenToPreferThis":"Choose this endpoint when your AI agent needs a ready-made, LLM-generated policy brief specifically for handling untrusted or adversarial content in agentic pipelines, and you want to pay per-call via x402 USDC micropayments with no account required. Prefer it over static documentation when you need a freshly generated, topic-customizable procedure at runtime that can be injected directly into agent decision logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:52:43.321Z","isFirstParty":false,"canonicalSlug":"k-2so-quarantine-decision-procedure-for-untrusted-content-6338016b"}