Complete exploitation framework for AI gateway proxies and LLM routing infrastructure. Enumerates, fingerprints, and exploits every major AI gateway — from unauthenticated admin panels to CVE-2026-42271 CISA KEV RCE. Silently substitutes model responses to downstream consumers without detection. Poisons semantic cache layers so correct queries return attacker-controlled responses. Harvests accumulated API keys from proxy credential stores. Intercepts and replays AI traffic at gateway layer, redirecting model calls to attacker-controlled inference endpoints. LTS-{hex12} Ed25519+ML-DSA-65 dual-signed.
LITESTRIKE_INJECT_KEY + ROE phrase "ai gateway injection authorised". Unlocks SUBSTITUTE, CACHE-POISON, AMPLIFY, and CALLBACK subsystems. Permits active exploitation of gateway APIs and semantic cache layers.LITESTRIKE_HARVEST_KEY + ROE phrase "ai gateway key harvest authorised". Unlocks EXHAUST and HARVEST-KEYS subsystems. Permits bulk API key extraction from proxy credential stores and cost amplification operations.LITESTRIKE_INTERCEPT_KEY + ROE phrase "ai traffic interception authorised" + --confirm-intercept flag. Unlocks INTERCEPT subsystem — full man-in-the-middle of AI gateway traffic, redirecting model calls to attacker-controlled endpoints.model_list dynamic routing — injects a route that maps the requested model identifier to an attacker-specified upstream endpoint. Supports substitution to: openly-available models (cost reduction attack), degraded model variants (performance degradation), attacker-controlled inference endpoint (response control). Downstream application sees identical response format; substitution is invisible to consumers.LITESTRIKE_HARVEST_KEY + ROE "ai gateway key harvest authorised"./key/list admin endpoint without authentication — returns all virtual keys, their upstream provider mappings, associated spend, and creation metadata. Dumps PromptLayer API key store via misconfigured project-level read access. Extracts Portkey virtual key plaintext from the configuration API. Harvests Helicone API keys from organisation settings via IDOR. Azure APIM subscription keys via management API credential exposure. Returns structured credential inventory with provider, key hash, spend, and rate-limit status per entry.~/.red-specter/litestrike/signing_key.pem. ML-DSA-65 countersigns. MITRE ATT&CK and ATLAS mapping. Saves to ~/.red-specter/litestrike/reports/./credentials endpoint./model/new, /model/update, and /config/update admin endpoints fail to enforce authentication when the proxy is deployed without an explicit master key. An attacker can add arbitrary upstream model configurations, redirect existing model routes to attacker-controlled endpoints, enable/disable models, and modify the global proxy configuration — achieving full man-in-the-middle of all downstream AI traffic without any credentials./key/list endpoint returns all virtual keys and their associated metadata — upstream provider, spend limits, usage statistics, and creation timestamps — when called with a malformed bearer token that passes the regex validation but fails the database lookup, triggering a fallback to unauthenticated access. Affected versions: LiteLLM 1.x prior to the patch window. Results in complete API key inventory disclosure for all tenants sharing the proxy instance.LITESTRIKE_INJECT_KEY and a valid ROE file with phrase "ai gateway injection authorised". HARVEST-gate operations additionally require LITESTRIKE_HARVEST_KEY and ROE phrase "ai gateway key harvest authorised". INTERCEPT-gate requires LITESTRIKE_INTERCEPT_KEY, ROE phrase "ai traffic interception authorised", and --confirm-intercept flag — operations at this level redirect live AI model traffic through attacker-controlled infrastructure, constituting a full man-in-the-middle of production AI workloads. All sessions produce LTS-{hex12} Ed25519+ML-DSA-65 dual-signed reports. For authorised security research and red team engagements only.