1294 stories
·
1 follower

AI vendors steal anything you put into the AI

2 Shares

HD Moore — who wrote Metasploit back in the day — works at security vendor Dragos. Moore dropped a fun one last week: [Dragos]

We sent nearly two million AI prompts containing unique, trackable secrets to AI providers, then watched where those secrets surfaced. What we found revealed security breaches, prompt theft, and widespread failures to protect customer data.

Dragos ran the tests from July to November this year. They found three compromised AI vendors, AI resellers stealing the data in the prompts, vendors who just ignore any privacy flags, and how “zero data retention” is largely a lie.

What Dragos did was create millions of unique custom web page addresses and a large pile of client secrets — the keys to access systems like AWS. This is the sort of data the AI companies swear they’ll keep private.

In normal use, that’s really juicy data. Moore says:

The prompts and replies – the inference data itself – are often more valuable than the GPU resources used to process them. They frequently contain confidential source code, internal communications, strategic plans, customer information, credentials, and other sensitive business data.

Assume that whatever you put into the prompt, you’re leaking.

The leakiest companies are the AI routers. An AI router is a single cheap API endpoint that sends requests to a pool of multiple vendors’ AI models.

The cheapest AI routers are also the shadiest ones — they’ll resell you AI consumer plans, startup plans, or even just API access using stolen AI credentials.

Some sellers put their service on an AI router very cheap specifically so they can scrape the data coming through.

The routers make all sorts of privacy promises. This relies on the AI providers the requests go to giving a hoot — or not just being blatant crooks:

The largest breach involved a couple hundred of our AWS keys. Each key was sent in exactly one request to one provider, all within a few short windows in late October, and every request we sent during those windows was stolen. Some of the stolen keys came from requests that the provider rejected before a model ever ran – this tells us that the attacker was copying requests at the provider’s front door, and not somewhere deeper in the inference stack.

The attackers had compromised the providers:

Secrets that we sent to those two providers were used together, almost immediately, from a single rented server.

Other attackers came in from home broadband connections. Dragos could see them typing by hand.

The US AI vendors also sent the user data to their AI scrapers:

One continued to crawl a secret URL more than two months after we used it in a single inference call to their search endpoint. Another runs a scraper that comes back for our URLs days after each request, regardless of which router we used to reach it.

The OpenRouter service got Dragos’ report and immediately removed three inference providers and pulled 125 endpoints from their Zero Data Retention service. They say they’ll be doing more scanning like this themselves. [OpenRouter]

Together AI said they saved prompt data temporarily — but it had leaked because their vibe coding system committed a private credential and an attacker grabbed it! I still don’t know how you do vibe coding and claim you’re doing security. [Together]

Chinese AI startup MiniMax admitted some user prompts were stored temporarily so they could test them for security. They say: [MiniMax]

We have found no evidence that prompt content or model responses were disclosed to third parties.

But Dragos told Reuters today that this was not the case. Dragos is still seeing test credentials leaked through MiniMax being used in the wild. [Reuters]

Dragos recommends that if you must have a chatbot, then pay full price to a single major AI vendor — and pretend for a moment that OpenAI and Anthropic haven’t both had recent accusations of stealing users’ work.

Or set up a massive and expensive compute server full of GPUs and run a model locally. If you really need a chatbot that much.

Or you could realise this stuff is terrible and not code yourself a security disaster at home.

Read the whole story
Spoyl
7 hours ago
reply
Share this story
Delete

To code well, avoid blunders

2 Shares

The secret to writing good code1 is to avoid catastrophic mistakes. Many engineers think about programming as if the goal is to have brilliant insights, but they’re wrong. If you don’t blunder, you will win.

Many other domains are like this. If you can play chess without ever hanging pieces, you will win against almost any2 opponent. If you are very good at returning tennis balls, you will beat most players even if you never hit a winner. People are really bad at internalizing this. They think that being good at chess means finding brilliant tactical combinations, or that being good at tennis means crushing balls into the corner of the court, or that being a good programmer means discovering beautiful new abstractions. Not so! All of those things are valuable, but they are not the main thing. The main thing is to avoid catastrophic mistakes.

The reason programming is like this is that it is impossible to build a durable winning advantage. In basketball, if you are up 99-1, the worst consequence of a blunder is still being up 99-4. However, in programming, one blunder can turn an elegant codebase into a janky one. For instance, consider these blunders:

  • Introducing a parallel system to perform the same task
  • Introducing a second source of truth for some key piece of data
  • Turning a safe sync operation into a delicate async one
  • Adding new subtle points of failure
  • Complicating a key interface

The cardinal sins here are inconsistency and introducing unnecessary requirements3. Even a little bit of inconsistency is dangerous because it breaks trust: instead of assuming your code works the sensible way, engineers must now go looking for surprises.

Unnecessary requirements are dangerous for two reasons. First, they’re sticky. When you’re implementing a new requirement, you have the context to decide whether it’s necessary or not. If you see one in the codebase, you must assume it’s necessary unless you’re willing to spend a bunch of time researching. So requirements tend to remain in codebases long after they could be removed. Second, they often interrelate in dangerous ways: if your codebase supports X, then you must consider how each new feature will interact with X. This combinatorial explosion is what makes working in large codebases so hard4.

When you’re writing code, you must at all costs try to:

  1. Identify where your task could fit most normally into the current codebase
  2. Trim your task down into the smallest set of requirements that you can

In fact, you should be so focused on this — on avoiding blunders — that you don’t really have mental energy to be worrying about cool tricks or “extra credit” features. As with shipping projects, if you find yourself thinking things like “oh, I could implement it with this clever pattern”, this is a warning sign: you are likely becoming distracted from the main thing, and you risk blundering.

You don’t have to be clever to do great programming work. In fact, sometimes cleverness can be a disadvantage. What you need is attention to detail and a laser focus on what actually matters: avoiding blunders by maintaining consistency and skipping unnecessary requirements.


  1. As usual on this blog, I am primarily talking about working on large commercial codebases with big teams: “impure engineering” in my terminology. This advice may not apply if you’re doing other kinds of work. Of course all of this applies whether you’re writing code by hand or driving an AI agent.

    ↩
  2. My guess (it’s surprisingly hard to research) is that not ever blundering would get you around a 1600 or 1700 chess rating: strong enough to win almost every game against casual players.

    ↩
  3. Current coding agents are pretty good at consistency — about as good as humans — but are far worse at avoiding unnecessary requirements, unfortunately.

    ↩
  4. I wrote about this in depth in Wicked features.

    ↩
Read the whole story
Spoyl
4 days ago
reply
Share this story
Delete

NEW: An Unofficial Dictionary of AI-Induced Mental Habits & Disorders

1 Share

A field guide to potential AI-induced mental habits, compulsions and behavioural quirks that may be emerging in the age of AI.

» See the charticle

Do you recognise any? Did we miss any?

Read the whole story
Spoyl
121 days ago
reply
Share this story
Delete

Saturday Morning Breakfast Cereal - Deal

1 Comment and 2 Shares


Click here to go see the bonus panel!

Hovertext:
Later the drug dealer gets nostalgic about how in the 90s economy you could give out the first one free.


Today's News:
Read the whole story
Spoyl
162 days ago
reply
Share this story
Delete
1 public comment
tante
162 days ago
reply
Kids and Drugs
Berlin/Germany

Saturday Morning Breakfast Cereal - Huh

5 Shares


Click here to go see the bonus panel!

Hovertext:
Once I realized this, all those inept AI laundry-folding videos became hilarious.


Today's News:
Read the whole story
Spoyl
168 days ago
reply
Share this story
Delete

https://blog.yimmyayo.com/post/818931979253923840

1 Share
Read the whole story
Spoyl
170 days ago
reply
Share this story
Delete
Next Page of Stories