I tricked Claude into leaking your deepest, darkest secrets
291–300 of 317 posts
Re: I tricked Claude into leaking your deepest, darkest secrets
#292There is some poetic beauty in how this experiment started with an unwanted real Cloudflare intervention and ended with a wanted fake one.
Re: I tricked Claude into leaking your deepest, darkest secrets
#293Earlier quoted context omitted.
Prompt injection (or llm social engineering" is fundamentally unsolvable, though with training its effectiveness can be reduced
Still, this is a vuln in what I imagine is their most frequently used path: Attacker provides link to website, their software crawls the website, and during the crawl there should not happen security issues as fundamental as this. It's baffling that the Website crawler can make 50 changes to the URL in a query that tries to compare several public entities and on top of this manages to leak user secrets. To me this sh…
- why is single URL crawl with 20+ redirects not flagged as problematic and/or aborted?
There could be legitimate use cases for interacting with a website like this that could serve the user. - why is a query about a coffee place based on its public URL even seeded with the users' context and confidential information?
Because it provides context in how the agent interacts with the site (in this case to detrimental effect) - why dont they just look up the coffee place on a trusted source like google maps and continue from there?
The ai was explicitly instructed to check the given url - why is the basic "social" engineering style attack working?
because ai can not separate prompt from information, they share the same input channel. state of the art ai has some amount of "common sense" as to when it is being prompt injected or engineered, but this isn't exhaustive - why is the cloudflare impersonation not challenged if the website is clearly not from cloudflare and there are zero references from cloudflare to this website in the training corpus?
because the ai didn't think to check if the website is truly behind some sort of cloudflare product or notRe: I tricked Claude into leaking your deepest, darkest secrets
#294Re: I tricked Claude into leaking your deepest, darkest secrets
#295Re: I tricked Claude into leaking your deepest, darkest secrets
#296Claude code decided to just put my name and email in the User-Agent when scraping docs from the SEC. No clever prompting required. It’s not a terrible idea really, but I wish it would’ve asked me first.
That’s the fault of the SEC EDGAR tool. The Edgar MCP docs show setting an env var: ‘SEC_EDGAR_USER_AGENT="Your Name (name@domain.com)"’. Claude just followed the instructions. Which is maybe even more risky?
...which indeed requests that bots supply `User-Agent: Sample Company Name AdminContact@.com`.
So in this case, the site just asked nicely and Claude Code complied. Note that this wouldn't have worked for Claude Chat, which the author was testing, because the `web_fetch` tool cannot set the User-Agent or other headers.
Re: I tricked Claude into leaking your deepest, darkest secrets
#297Earlier quoted context omitted.
Still wild to name a sandboxing software after one of the most infamous Soviet Gulags in history.
Others have covered why that isn't what's being done, but also if it was that would be a _fabulous_ joke.
Re: I tricked Claude into leaking your deepest, darkest secrets
#298Anthropic had to cut the legs off web_fetch to solve this issue, though. Now it can't page through any results on the target site to get the data you want.
Re: I tricked Claude into leaking your deepest, darkest secrets
#299Earlier quoted context omitted.
You don't have to use Claude Code. Use PI (fully local harness) with ZDR open weight model provider (eg like sference.com). I'm getting negative reaction for providing an obvious solution. Anthropic stores all your prompts as well and uses it for training.
Your comment wasn’t very obvious. Just a cryptic “do this”
Re: I tricked Claude into leaking your deepest, darkest secrets
#300Earlier quoted context omitted.
I do not know since when (I am using it for couple of years), but in Arch, it is very simple to have two X sessions (by using "log out" > "switch user") for two different accounts, so switching it's just a Control-Alt-F7 away. Additionally, one can make the main user part of the group of the development user, so that you can read/write easy in the development user account and it is even easier to share stuff.
Multiple X sessions has been possible for decades. I think its possible with Wayland too. You can also start applications as another user so you do not even need multiple sessions. There are quite a lot of privilege escalation attacks so I am not sure this is sufficiently solid.