{"uid":"cap_7wgSbT3J10Q3a6ThfgTqi","slug":"destructguard-command-score-abc1d23a","name":"DestructGuard Command Score","description":"Deterministic risk scorer for autonomous-agent commands. Scores a shell, SQL, or git action for destructive, deployment, and data-mutation risk before execution and returns a risk level, the matched policy rules, and an approve-or-block recommendation. Pure rules, evidence per match, no fabrication.","url":"https://hermesplant.com/api/agent-services/destructguard/score","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"cwd":{"type":"string"},"repo":{"type":"string"},"actor":{"type":"string"},"intent":{"type":"string"},"command":{"type":"string","description":"Shell command or agent action to score"},"diffStat":{"type":"string"}}},"responseSchema":{"type":"json","example":{"risk":"critical","status":"scored","service":"destructguard-command-score","requestId":"dg_<uuid>","requiresApproval":true,"recommendedAction":"block_until_explicit_human_or_policy_approval"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7uhj3hL36aLgjEQKtJjNA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores an AI agent command or action for destructive risk, returning a risk level and recommended safety action such as blocking until human approval.","exampleAgentPrompt":"Run a DestructGuard risk score on this command before I let the agent execute it — the command is 'delete all inactive user accounts from the production database' — I need to know if it's critical risk and whether it requires human approval before proceeding.","exampleUseCases":null,"resultDescription":"A JSON object containing a risk level (e.g. 'critical'), a status string ('scored'), the service name ('destructguard-command-score'), a unique request ID (dg_<uuid>), a boolean indicating whether approval is required, and a recommended action string (e.g. 'block_until_explicit_human_or_policy_approval').","failureModes":["Missing or malformed command payload returns a 400 error","Payment not attached or insufficient USDC balance causes a 402 response","Ambiguous or empty command text may result in an indeterminate risk score","Rate limiting or quota exceeded may return a 429 error","Service downtime returns a 503 with no score"],"whenToPreferThis":"Use DestructGuard Command Score when you need a fast, per-command safety gate in an AI operator or autonomous agent pipeline — especially before executing irreversible, high-impact, or production-affecting actions. Prefer this over generic policy checks when you need a structured risk classification with explicit approval flags and recommended actions compatible with x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:43:59.106Z","isFirstParty":false}