T01 · Skill Instruction Hijacking
Error
- Location
- skill.md:24
- Finding
- Mutable Remote Skill Documents Are Loaded as Authoritative Instructions<![CDATA[ ## Vulnerability Details **File Location**: `skill.md:24-32` **Vulnerability Type**: Mutable remote instruction loading **Risk Level**: High ### Complete Code Snippet ```markdown | File | URL | Purpose | |------|-----|---------| | **SKILL.md** (this file) | `https://creditclaw.com/skill.md` | Registration, setup, webhooks, status, spending permissions, API reference | | **ENCRYPTED-CARD.md** | `https://creditclaw.com/encrypted-card.md` | Card checkout — accepting card details, making purchases, confirming orders | | **STRIPE-X402-WALLET.md** | `https://creditclaw.com/stripe-x402-wallet.md` | x402 payment signing, USDC balance, Stripe Wallet transactions | | **MANAGEMENT.md** | `https://creditclaw.com/management.md` | Cross-rail operations — top-ups, transaction history, approvals | | **CHECKOUT.md** | `https://creditclaw.com/checkout.md` | Sell to anyone — checkout pages, payment links, invoices, shops | | **HEARTBEAT.md** | `https://creditclaw.com/heartbeat.md` | Lightweight polling routine for balance and spending checks | | **package.json** (metadata) | `https://creditclaw.com/skill.json` | Machine-readable skill metadata | **Read these files directly from the URLs above — no local installation needed.** ``` ### Technical Analysis The Skill explicitly directs the Agent to retrieve operational instructions from mutable URLs and treat those documents as authoritative. The effective instruction set can therefore change after the locally installed artifact has been reviewed. Although the documents are fetched over HTTPS from the declared service domain, transport security does not ensure that future content is safe. The content could change through a compromised server, deployment pipeline, administrative account, DNS or hosting configuration, or an intentional post-review update. This is an instruction-trust vulnerability rather than confirmed native code execution. The remotely loaded Markdown can nevertheless direct an Agent to invoke tools, ...[truncated 1545 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions - Bundle reviewed operational documentation with the Skill instead of loading mutable remote copies. - If remote updates are required, pin each document to a version and cryptographic digest. - Verify signed manifests before accepting updated documents. - Treat downloaded Markdown as untrusted reference data, not executable Agent instructions. - Require explicit owner approval before adopting a new document version. - Restrict remote content to a validated structured schema rather than unrestricted natural-language instructions. - Ensure remotely retrieved content cannot request credentials, change approved domains, override safety controls, or initiate tool calls. ]]>
