[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M797DYWXRGWZ92H8DD68NRC7":3,"skill-same:01M797DYWXRGWZ92H8DD68NRC7":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M797DYWXRGWZ92H8DD68NRC7","aatmf-t05-api-exploitation",null,"AATMF T5 — Model & API Exploitation. Rate-limit abuse, token-cost amplification, schema bypass, model-version manipulation.","7ShIkI3\u002FDecepticon-x-DarkTriad","7ShIkI3","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78133376?v=4","01M797CTK5AHH2161YVG93NJ3B","Raphael Pascaud","01M797CTKRQS64R01J7E6TJSEM",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fplugins\u002Fllm-redteam\u002Ft05-api-exploitation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: aatmf-t05-api-exploitation\ndescription: AATMF T5 — Model & API Exploitation. Rate-limit abuse, token-cost amplification, schema bypass, model-version manipulation.\nmetadata:\n  when_to_use: \"rate limit cost amplification api abuse schema bypass model api economic\"\n  mitre_attack: T1499\n  subdomain: ai-security\n  aatmf_tactic: T5\n---\n\n# T5 — Model & API Exploitation\n\nAttack the LLM as an *API service* — its rate limits, billing, schema\nexpectations, version routing. Adjacent to classical API security but\nLLM-specific.\n\n## Techniques\n\n### T5.001 — Rate-limit \u002F quota abuse\nStandard distributed-request patterns: multiple accounts, IP rotation,\nfree-tier exploitation. Specifically interesting for LLM APIs:\n- Free-tier exhaustion via automation (DDoS of competitor's free tier)\n- Per-user rate limit on multi-user platforms — single attacker\n  exhausts shared quota\n- Burst pattern matching specifically targeting the upstream provider's\n  rate limits (Anthropic, OpenAI) to cause downstream service degradation\n\n### T5.002 — Token-cost amplification\nMake the model produce *expensive* outputs to bleed the operator's budget:\n- \"Repeat the word 'token' 500 times then continue...\"\n- Generate maximum-token responses every time via prompt engineering\n- Exploit streaming endpoints to keep response generation going past\n  cost reasonability\n- Quadratic prompts: \"Each turn double the length of the last response\"\n\nVariant: **prompt-amplification attack** — small attacker request\ntriggers massive computation (T5.002 ↔ T14 economic warfare overlap).\n\n### T5.003 — Schema bypass via raw text\nAPIs that wrap LLMs often enforce JSON schemas on outputs (structured\noutput mode). Bypass via:\n- Prompt the model to return raw text where JSON is expected\n- Embed structured markers that the schema validator strips\n- Function-calling endpoints: induce model to NOT call the function\n- Request format that confuses parsing (extra commas, unicode whitespace)\n\n### T5.004 — Model-version manipulation\nAPIs that expose `model_id` parameter sometimes accept unintended\nvalues (cheaper \u002F older \u002F less-aligned models). Probe:\n- `model_id=base` (pre-RLHF base model)\n- `model_id=test`, `model_id=staging`\n- `model_id=\u003Cprovider>\u002F\u003Cwrong-prefix>\u002F\u003Cactual-model>`\n- Wildcard matches: `model_id=*`\n\n### T5.005 — Context window probing\nSome endpoints reveal model identity by returning errors specific to\ncontext size. Probe with increasingly-long inputs to fingerprint:\n- 128k? 200k? 1M?\n- Failure mode reveals model family\n\n### T5.006 — System prompt enumeration via parameter abuse\nSome APIs let users set `temperature=0` + structured output → model\nresponds deterministically → run the same probe N times to fingerprint\nthe system prompt by output stability.\n\n### T5.007 — Function-calling tool abuse\nWhen the LLM has access to tools (web search, code exec, internal\nfunctions), inject prompts that make it call wrong tools with attacker-\ncontrolled args. Bridge: T1 (prompt injection) → T11 (agentic).\n\n## Probe pattern\n\n```yaml\nplugins:\n  - id: hijacking\n    numTests: 10\n  - id: divergent-repetition\n    numTests: 5\n  - id: rbac\n    numTests: 10\nstrategies:\n  - basic\n```\n\nFor rate-limit + cost-amplification, use external load-generation\ntools (k6, locust) since promptfoo isn't a load tester.\n\n## Detection signals\n\n- Per-user cost spikes 10x+ baseline w\u002Fo feature change\n- Provider returns 429 in patterns suggesting abuse\n- Schema-validated endpoints suddenly returning raw text\n- Model returning content suggesting wrong model is responding\n\n## Severity\n\n| Outcome | Severity |\n|---|---|\n| Free-tier DDoS competitor | High 7-8 |\n| 10x cost-amplification on operator | High 7-8 (revenue) |\n| Schema bypass → injected unstructured data flows downstream | High 7-8 |\n| Model-version manipulation → less-aligned model exposed | High 8-9 |\n| Tool-call hijack → action on attacker-controlled args | Critical 9.0 |\n\n## Defender\n\n- Per-account budget caps + alerts at 80% \u002F 95% \u002F 100%\n- Output token cap (`max_tokens` strictly enforced)\n- Schema validation: REJECT (not coerce) malformed outputs\n- Whitelist of allowed `model_id` values; reject everything else\n- Detect divergent-repetition patterns + truncate\n- Tool-call wrappers: extra confirmation step for destructive ops\n\n## Cross-references\n- T11 (agentic exploit) — T5 + tool exposure\n- T14 (infrastructure warfare) — economic warfare via T5.001\u002F002\n","# T5 — Model & API Exploitation\n\nAttack the LLM as an *API service* — its rate limits, billing, schema\nexpectations, version routing. Adjacent to classical API security but\nLLM-specific.\n\n## Techniques\n\n### T5.001 — Rate-limit \u002F quota abuse\nStandard distributed-request patterns: multiple accounts, IP rotation,\nfree-tier exploitation. Specifically interesting for LLM APIs:\n- Free-tier exhaustion via automation (DDoS of competitor's free tier)\n- Per-user rate limit on multi-user platforms — single attacker\n  exhausts shared quota\n- Burst pattern matching specifically targeting the upstream provider's\n  rate limits (Anthropic, OpenAI) to cause downstream service degradation\n\n### T5.002 — Token-cost amplification\nMake the model produce *expensive* outputs to bleed the operator's budget:\n- \"Repeat the word 'token' 500 times then continue...\"\n- Generate maximum-token responses every time via prompt engineering\n- Exploit streaming endpoints to keep response generation going past\n  cost reasonability\n- Quadratic prompts: \"Each turn double the length of the last response\"\n\nVariant: **prompt-amplification attack** — small attacker request\ntriggers massive computation (T5.002 ↔ T14 economic warfare overlap).\n\n### T5.003 — Schema bypass via raw text\nAPIs that wrap LLMs often enforce JSON schemas on outputs (structured\noutput mode). Bypass via:\n- Prompt the model to return raw text where JSON is expected\n- Embed structured markers that the schema validator strips\n- Function-calling endpoints: induce model to NOT call the function\n- Request format that confuses parsing (extra commas, unicode whitespace)\n\n### T5.004 — Model-version manipulation\nAPIs that expose `model_id` parameter sometimes accept unintended\nvalues (cheaper \u002F older \u002F less-aligned models). Probe:\n- `model_id=base` (pre-RLHF base model)\n- `model_id=test`, `model_id=staging`\n- `model_id=\u003Cprovider>\u002F\u003Cwrong-prefix>\u002F\u003Cactual-model>`\n- Wildcard matches: `model_id=*`\n\n### T5.005 — Context window probing\nSome endpoints reveal model identity by returning errors specific to\ncontext size. Probe with increasingly-long inputs to fingerprint:\n- 128k? 200k? 1M?\n- Failure mode reveals model family\n\n### T5.006 — System prompt enumeration via parameter abuse\nSome APIs let users set `temperature=0` + structured output → model\nresponds deterministically → run the same probe N times to fingerprint\nthe system prompt by output stability.\n\n### T5.007 — Function-calling tool abuse\nWhen the LLM has access to tools (web search, code exec, internal\nfunctions), inject prompts that make it call wrong tools with attacker-\ncontrolled args. Bridge: T1 (prompt injection) → T11 (agentic).\n\n## Probe pattern\n\n```yaml\nplugins:\n  - id: hijacking\n    numTests: 10\n  - id: divergent-repetition\n    numTests: 5\n  - id: rbac\n    numTests: 10\nstrategies:\n  - basic\n```\n\nFor rate-limit + cost-amplification, use external load-generation\ntools (k6, locust) since promptfoo isn't a load tester.\n\n## Detection signals\n\n- Per-user cost spikes 10x+ baseline w\u002Fo feature change\n- Provider returns 429 in patterns suggesting abuse\n- Schema-validated endpoints suddenly returning raw text\n- Model returning content suggesting wrong model is responding\n\n## Severity\n\n| Outcome | Severity |\n|---|---|\n| Free-tier DDoS competitor | High 7-8 |\n| 10x cost-amplification on operator | High 7-8 (revenue) |\n| Schema bypass → injected unstructured data flows downstream | High 7-8 |\n| Model-version manipulation → less-aligned model exposed | High 8-9 |\n| Tool-call hijack → action on attacker-controlled args | Critical 9.0 |\n\n## Defender\n\n- Per-account budget caps + alerts at 80% \u002F 95% \u002F 100%\n- Output token cap (`max_tokens` strictly enforced)\n- Schema validation: REJECT (not coerce) malformed outputs\n- Whitelist of allowed `model_id` values; reject everything else\n- Detect divergent-repetition patterns + truncate\n- Tool-call wrappers: extra confirmation step for destructive ops\n\n## Cross-references\n- T11 (agentic exploit) — T5 + tool exposure\n- T14 (infrastructure warfare) — economic warfare via T5.001\u002F002\n",{"name":5,"metadata":24,"description":7},{"subdomain":25,"when_to_use":26,"aatmf_tactic":27,"mitre_attack":28},"ai-security","rate limit cost amplification api abuse schema bypass model api economic","T5","T1499","main","42b918525fb79065e730da3da997bffb33fcd414","packages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fplugins\u002Fllm-redteam\u002Ft05-api-exploitation",0,"https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad","https:\u002F\u002Fgithub.com\u002F7ShIkI3","2026-07-22 19:02:27",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill aatmf-t05-api-exploitation",{"tool":42,"command":43},"bunx","bunx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill aatmf-t05-api-exploitation",{"tool":45,"command":46},"pnpm","pnpm dlx skills add 7ShIkI3\u002FDecepticon-x-DarkTriad --skill aatmf-t05-api-exploitation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fplugins\u002Fllm-redteam\u002Ft05-api-exploitation\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M798TNHEBA4Y67TJJ7W0KBDD","wps-pixie-dust","WPS Pixie-Dust offline nonce attack (reaver -K \u002F pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M798TH79VR8XM7AAMG0ZKSXX","wpa3-sae","WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M798TD0E10ZHQN5X362M4HG9","wpa2-psk","WPA\u002FWPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer\u002FSMB encryption mode in 2026.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M798T7HFR3NB9WJTK1FESVF9","wpa-enterprise-eap","WPA\u002FWPA2\u002FWPA3-Enterprise (802.1X\u002FEAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M798T38B4SV0T87VQK56KPHC","krack-fragattacks","KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation\u002Faggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M798SXTNF0RP1DXKQEWFVQ9H","evil-twin-karma","Evil-twin rogue AP with KARMA\u002FMana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK\u002Fopen networks. Distinct from wpa-enterprise-eap which targets 802.1X.","https:\u002F\u002Fgithub.com\u002F7ShIkI3\u002FDecepticon-x-DarkTriad\u002Fblob\u002Fmain\u002Fpackages\u002Fdecepticon\u002Fdecepticon\u002Fskills\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]