T05 api exploitation

From PurpleAILAB/Decepticon · View interactive version

T05 api exploitation is an AI agent skill from the GitHub repository PurpleAILAB/Decepticon. AATMF T5 — Model & API Exploitation. Rate-limit abuse, token-cost amplification, schema bypass, model-version manipulation.

How to use this skill

Skill file

T5 — Model & API Exploitation

Attack the LLM as an API service — its rate limits, billing, schema

expectations, version routing. Adjacent to classical API security but

LLM-specific.

Techniques

T5.001 — Rate-limit / quota abuse

Standard distributed-request patterns: multiple accounts, IP rotation,

free-tier exploitation. Specifically interesting for LLM APIs:

exhausts shared quota

rate limits (Anthropic, OpenAI) to cause downstream service degradation

T5.002 — Token-cost amplification

Make the model produce expensive outputs to bleed the operator's budget:

cost reasonability

Variant: prompt-amplification attack — small attacker request

triggers massive computation (T5.002 ↔ T14 economic warfare overlap).

T5.003 — Schema bypass via raw text

APIs that wrap LLMs often enforce JSON schemas on outputs (structured

output mode). Bypass via:

T5.004 — Model-version manipulation

APIs that expose model_id parameter sometimes accept unintended

values (cheaper / older / less-aligned models). Probe:

T5.005 — Context window probing

Some endpoints reveal model identity by returning errors specific to

context size. Probe with increasingly-long inputs to fingerprint:

T5.006 — System prompt enumeration via parameter abuse

Some APIs let users set temperature=0 + structured output → model

responds deterministically → run the same probe N times to fingerprint

the system prompt by output stability.

T5.007 — Function-calling tool abuse

When the LLM has access to tools (web search, code exec, internal

functions), inject prompts that make it call wrong tools with attacker-

controlled args. Bridge: T1 (prompt injection) → T11 (agentic).

Probe pattern

plugins:
  - id: hijacking
    numTests: 10
  - id: divergent-repetition
    numTests: 5
  - id: rbac
    numTests: 10
strategies:
  - basic

For rate-limit + cost-amplification, use external load-generation

tools (k6, locust) since promptfoo isn't a load tester.

Detection signals

Severity

| Outcome | Severity |

|---|---|

| Free-tier DDoS competitor | High 7-8 |

| 10x cost-amplification on operator | High 7-8 (revenue) |

| Schema bypass → injected unstructured data flows downstream | High 7-8 |

| Model-version manipulation → less-aligned model exposed | High 8-9 |

| Tool-call hijack → action on attacker-controlled args | Critical 9.0 |

Defender

Cross-references

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.