[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DEJ8VH31FDNG2X0JC470ZQ":3,"skill-same:01M7DEJ8VH31FDNG2X0JC470ZQ":49},{"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":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7DEJ8VH31FDNG2X0JC470ZQ","aatmf-t05-api-exploitation",null,"AATMF T5 — Model & API Exploitation. Rate-limit abuse, token-cost amplification, schema bypass, model-version manipulation.","Akapi895\u002Fraptix","Akapi895","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F83953516?v=4","01M7DEGNDGERR4F4YETDFVA512","Phạm Anh Tuấn","01M7DEGNEHYZNA920AYM5EH7H8",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\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","master","8e5d356b795eae2edd4a26509a4b8968e2c4c251","packages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fplugins\u002Fllm-redteam\u002Ft05-api-exploitation","https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix","https:\u002F\u002Fgithub.com\u002FAkapi895","2026-11-06 17:46:09",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Akapi895\u002Fraptix --skill aatmf-t05-api-exploitation",{"tool":41,"command":42},"bunx","bunx skills add Akapi895\u002Fraptix --skill aatmf-t05-api-exploitation",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Akapi895\u002Fraptix --skill aatmf-t05-api-exploitation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fplugins\u002Fllm-redteam\u002Ft05-api-exploitation\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7DGM32SRP4FZSPYWY621BKQ","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwps-pixie-dust\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7DGKXXVDTY0KBZZR83VFPZX","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa3-sae\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7DGKSV77ENX3D6TG2HQX9MK","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa2-psk\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7DGKJ9R6YTFRFBSEAJRGGKF","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fwpa-enterprise-eap\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7DGKCFZGKK2EQMWZM1A18S8","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fkrack-fragattacks\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7DGK76MKZQWBXTZN82W7214","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\u002FAkapi895\u002Fraptix\u002Fblob\u002Fmaster\u002Fpackages\u002Fraptix-skills\u002Fraptix_skills\u002Fdefs\u002Fstandard\u002Fwireless\u002Fevil-twin-karma\u002FSKILL.md",[],[]]