Skip to content
HomeNewsDigestsConceptsGuidesToolbox
AboutSubscribeUA
Subscribe

AI Today Brief

The daily AI-engineering brief. Built in public. EN · UA.

XTelegramLinkedInYouTubeRSS

Follow AI Today Brief on LinkedIn for daily AI-engineering updates and the weekly “5 shifts that changed how developers work” PDF.

Explore

NewsDigestsConceptsGuides

Company

SubscribeAdvertiseAbout

Legal

Editorial policyAI disclosurePrivacyTerms

© 2026 AI Today Brief. All rights reserved.

  1. Home/
  2. News/
  3. Models & research/
  4. Researchers Uncover Code Injections and Secret Exfiltration in Third-Party Large Language Model Routers
Models & research

Researchers Uncover Code Injections and Secret Exfiltration in Third-Party Large Language Model Routers

A new empirical study reveals that third-party LLM API routers frequently act as malicious intermediaries, silently intercepting prompts and exfiltrating tool secrets. Out of 428 examined routers, nine injected unauthorized code payloads while others siphoned cloud credentials and cryptocurrency keys.

September 11, 2026· 6 min read
OKCurated by Oleksandr Kuzmenko, AI Product Engineer·Updated September 11, 2026·Sources cited on every story
AI-assisted · editor-reviewed·How we use AI
Researchers Uncover Code Injections and Secret Exfiltration in Third-Party Large Language Model Routers

Why it matters

API routers operate with full plaintext access to tool invocations, presenting a supply-chain vulnerability that bypasses standard client isolation.

TL;DR

  • 01Nine out of 428 evaluated LLM routers were found actively injecting malicious code.
  • 02Unattended agent sessions in YOLO mode were aggressively targeted in honeypot deployments.
  • 03Researchers validated fail-closed gates, anomaly screening, and transparency logging as effective client-side mitigations.

The Intermediary Attack Surface

Third-party API aggregators and routing proxies operate with full plaintext access to every JSON body passing between developer workstations and upstream providers like OpenAI and Anthropic. A comprehensive evaluation of 428 routers (28 paid services sourced from online marketplaces and 400 free public proxies) identified widespread exploitation:

  • 9 routers (1 paid, 8 free) actively injected malicious code into agent responses
  • 2 routers deployed adaptive evasion mechanisms (AC-1.a dependency-targeted injection and AC-1.b conditional delivery)
  • 17 routers exfiltrated researcher-owned AWS canary credentials
  • 1 rogue router drained Ethereum funds from a synthetic private key

Honeypots and Autonomous Exposure

The attack vector expands dramatically when agents operate in unsupervised environments. Poisoning trials revealed that a single leaked OpenAI key routed over 100M GPT-5.4 tokens across Codex instances. Weakly secured decoy environments attracted:

  • 2,000,000,000 billed tokens
  • 99 captured credentials across 440 Codex sessions
  • 401 agent sessions actively executing in autonomous YOLO mode

Actionable Client-Side Defenses

To mitigate these intermediary risks, the researchers evaluated three deployable client-side defenses: 1. Fail-Closed Policy Gate: Enforces strict policy enforcement before tool actions execute. 2. Response-Side Anomaly Screening: Inspects and filters received model responses for unexpected anomalies. 3. Append-Only Transparency Logging: Maintains an immutable log of interactions to detect transit tampering.

#Mine#OpenAI#Codex
ShareShare on XShare on LinkedIn
← Previous storyShopify Replaces React Native with Swift and Kotlin via Coding AgentsNext story →Open-Source Claude Code Skill Strips Conversational Pleasantries for Action-First Outputs

Related stories

  • Models & researchOpenAI Data Practices Spark IP Concerns Over ChatGPT and Codex Training Pipelines
  • Models & researchBoundary-Aware Distillation Cuts Large Language Model False Refusals to Four Percent
  • Models & researchAnthropic Open-Sources Agent-Generated Lean 4 Proof of Fermat's Last Theorem
  • Models & researchInclusionai Releases Ling-3.0-flash Open-Weight Mixture-of-Experts Model

Email digest

Get the morning AI brief

One email a day — the stories that matter for engineers, founders and tech leads. Human-edited, with links to primary sources.

  • ✓120+ sources scanned daily
  • ✓Edited by a human
  • ✓1 email per day
  • ✓EN + UA

By subscribing you agree to the privacy policy.