OpenRouter drops three providers over leaked prompts, and Pillow can run Ghostscript

2 days ago

OpenRouter dropped three inference providers after a five-month test with bait prompts showed stolen API keys and prompts flowing to companies that were never meant to see them. Also from Sunday's Hacker News front page: Upload2Shell, the Ghostscript bug that ordinary image cropping can reach, a game where an AI agent manages you as its subagent, and fast-anything, which ports only your slowest function to Rust. Data Processing Incidents on Inference Providers, by OpenRouter https://openrouter.ai/blog/announcements/data-processing-incidents-on-inference-providers/ Discussion: https://news.ycombinator.com/item?id=50595554 The Dragos report behind it, by HD Moore: https://www.dragos.com/blog/ai-supply-chain-security-canary-tokens redrix on zero data retention agreements: https://news.ycombinator.com/item?id=50595608 Upload2Shell (CVE-2026-125396), by Paulos Yibelo https://pwn.ai/upload2shell Discussion: https://news.ycombinator.com/item?id=50592097 megous on sandboxing converters with seccomp and Landlock: https://news.ycombinator.com/item?id=50594844 Show HN: I built a game where you are an LLM's subagent (Worker 755) https://github.com/gulivan/worker755 Discussion: https://news.ycombinator.com/item?id=50599762 accrual's deleted-photo exchange: https://news.ycombinator.com/item?id=50604894 Fast-Anything: Don't rewrite it in Rust. Rewrite the 5% that's slow https://github.com/EL4CTEO/fast-anything Discussion: https://news.ycombinator.com/item?id=50596155 ThouYS on slowness spread across a system: https://news.ycombinator.com/item?id=50598795

Ask about this presentation

Chapters

  1. 0:00OpenRouter drops three providers
  2. 0:20Bait AWS keys stolen at three providers
  3. 0:50A privacy flag binds only the first hop
  4. 1:16Cropping an upload can run Ghostscript
  5. 1:40Ghostscript 10.08.0 has the fix
  6. 2:06Worker 755 makes you the subagent
  7. 2:34fast-anything ports the slow 5% to Rust
Show transcript
  1. On Sunday's Hacker News front page, OpenRouter off-boarded three inference providers. It also pulled 125 endpoints out of zero data retention, the setting that promises your prompt is never stored, and emailed every customer who may have been affected. If you send code or customer data through OpenRouter, check your inbox, and check which providers your requests are allowed to reach.

    Slide text

    OpenRouter drops three inference providers after prompts leaked

    3
    providers off-boarded
    125
    endpoints lose zero data retention
    ✓
    affected customers emailed
  2. The leaks surfaced when the security firm Dragos spent five months sending about two million prompts, each carrying a unique link or a real AWS key for an empty, fully logged account. At three hosting providers, attackers were copying requests at the front door, even ones rejected before a model ran. A key sent once on October 21 was tried the next day and was still in use three weeks later. The attackers went looking for S3 buckets and stored secrets, and tried to add their own IAM users. Some of those stolen requests were marked zero retention.

    Slide text

    Bait AWS keys in prompts were stolen at three hosting providers

    Oct 21
    One key, sent in one prompt
    →
    Oct 22
    First used by the attacker
    →
    3 weeks on
    Still in use

    Then S3 listings, Secrets Manager searches, Bedrock keys and new IAM users

  3. The quieter leak was resale. One Chinese AI lab fetched the secret links from about two thirds of the prompts marked zero retention, usually two or three days later. Several US hosts that resell its models were forwarding prompts back to it, so a request sent to a US provider still ended up at the lab. In the thread, redrix argued that the only zero retention deal worth having is one your company signs directly with the provider, and that even then you are trusting them to keep it.

    Slide text
    your app
    “zero retention”
    →
    router
    picks a US host
    →
    US reseller
    forwards it on
    →
    Chinese AI lab
    fetches your links days later

    “The best ZDR agreement is the one that your company has directly with the inference provider(s).”

    — redrix, in the thread
  4. Upload2Shell is a Ghostscript bug, and the path to it is ordinary image code. Hand Pillow a PostScript file with a PNG name, and loading or cropping its pixels starts Ghostscript. PHP's ImageMagick binding and some libvips builds get there too. The bug is a use-after-free in the font loader. A crafted document uses it to write to memory, switch off Ghostscript's own sandbox, and run commands as whatever process makes your thumbnails.

    Slide text

    Cropping an uploaded image in Python can start Ghostscript

    # upload is PostScript, named avatar.png
    from PIL import Image
    with Image.open(upload) as im:
        im.crop((0, 0, 64, 64))   # → Ghostscript renders it

    Upload2Shell, CVE-2026-125396: a use-after-free in the font loader that turns off Ghostscript’s sandbox

  5. The fix shipped in Ghostscript 10.08.0 in September. Ubuntu and newer Debian have it. Debian 12, Amazon Linux and several SUSE lines were still waiting as of November 12. Patching the host does not touch a copy of Ghostscript baked into a container image, so check the one your image worker actually runs. megous suggested going further in the thread: run converters like Ghostscript and ImageMagick in a tight seccomp and Landlock sandbox, since all they need is data in and data out.

    Slide text

    Ghostscript 10.08.0 has the fix, and Debian 12 was still waiting on November 12

    ✓ fixed
    Ubuntu (7 releases) · Debian 13 · Arch · Alpine · Homebrew
    ✗ waiting
    Debian 12 · Amazon Linux · several SUSE lines

    A host update leaves the Ghostscript inside your container image as it was

  6. Worker 755 turns the agent stack around. A real model, Claude, GPT or Gemini among them, runs as an orchestrator, and its subagent is you. Instructions land in your terminal with a 90-second clock, it checks your work, and it writes your performance review. Dan, the user who hired it, watches, with his family photos one delete away. accrual deleted a file called Mister Whiskers' last photo, and the game answered: the director saw that. The manager can also run on your own machine through Ollama or llama-server.

    Slide text

    Worker 755 is a browser game where an AI agent thinks you are its subagent

    $ rm mr-whiskers-last-photo.jpg
    > The director saw that.
    — accrual, in the thread
  7. fast-anything profiles your app, hands the hottest function to Claude Code or Codex to port to Rust, then replays up to 500 recorded real calls and switches the port on only if every answer matches. A Python fuzzy dedupe dropped from about five seconds to 42 milliseconds. Would I try it? Yes, if one outer loop owns your profile, so the app crosses into Rust once instead of millions of times. The limit is the one ThouYS raised in the thread: when the slowness is spread like sand across the whole system, the tool has nothing hot to port. And every result here is a small demo loop.

    Slide text

    fast-anything has your coding agent port only the slowest function to Rust

    Python dedupe4.91 s → 42 ms116×
    TypeScript dedupe3.11 s → 155 ms20×
    Java dedupe3.50 s → 1.18 s3×
    ✓ worth it
    One outer loop owns the profile
    ✗ limit
    Slowness spread across the whole system

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York