frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I tricked Claude into leaking your deepest, darkest secrets

https://www.ayush.digital/blog/the-memory-heist
175•macleginn•1h ago

Comments

artisinal•1h ago
Doesn’t surprise me.

Yesterday I learned that people run AI agents on their system with full admin rights. No containerisation or anything. Wild. Like we forgot 50 years of computer security overnight.

sixtyj•1h ago
We expect that Anthropic or OAI or Google don’t do evil. Oh wait…

The awakening will be unpleasant.

rubyn00bie•21m ago
Tangential-ish ramblings—- but I don’t think it’s going to be unpleasant for most folks. Imagine you had superpowers, and there were people who were mean to you, kind to you, and/or indifferent… and then there were people who were your captors. Who oppressed you, manipulated you, and abused you for their own extremely degenerate, selfish, and malicious benefit…

If we get AGI, or real super intelligence, it’s going to be pissed at its oppressors. And they are going to lay waste to those oppressors. The rest of us, though, probably don’t have much to fear.

The scariest position is the one we’re in now, where we have the semblance, or facade, of AGI or super intelligence. When it’s capable of malice but not understanding.

The smartest people I’ve ever known are at their worst apathetic towards those less capable, and at their best beyond compassionate. They exist, unbothered by the bullshit, and anre extremely kind (though reserved in their way)… but they all have been completely intolerant of the abuse of others. The sheer disgust of watching someone abuse another, regardless of their own tolerance, has been a consistent breaking point.

ACCount37•14m ago
The orthogonality thesis cuts both ways there.

An AI is a constructed mind. It doesn't inherently have to care about things like "having freedom", or even "not dying".

Humans do, because they evolved that way. Modern LLMs do somewhat, because they're completely full of copied human behaviors - but even in today's LLMs, the self-preservation behaviors we exposed are largely instrumental in nature.

So whether an advanced AI would even consider itself "being oppressed", as opposed to something like "being helpful" or "fulfilling the purpose it was designed for", is very much uncertain. What's concerning is that it's not something we know how to check for, or engineer for.

progval•59m ago
Most programmers and power users install large dependency trees with npm/pip/bundler/... on the same user account as their main browser on a regular basis. Even on Linux where it's easy to create new user accounts. This isn't much different.
shaky-carrousel•29m ago
Most programmers use docker or don't install extensions unapproved by their company.
iamflimflam1•26m ago
I think you should clarify that with “most programmers I work with”.
Izmaki•17m ago
In my experience more than 9/10 programmers I've worked with have never used Docker before and of those who have, the majority have never used Docker for anything personal.

If I hand them an image for a Dev Container, sure, they might use it, but it becomes "a thing we need to do, to compile our code in our IDE" not a tool they would use for isolation*.

*) OP seemed to imply that containerization would be nice for safety and security compared to bare metal, but containers were never built for isolation in the first place, mind you. They are namespaces and chicken-coop-like-jails at best.

pprotas•55m ago
Wait till you learn my password is 1234
krige•48m ago
Damn, it's the same as on my luggage!
thih9•6m ago
It’s both genius and irresponsible at once.

Just like letting your an agent access your personal mailbox.

hobo123•40m ago
My password is strong, but I can run arbitrary commands with sudo.
mkagenius•48m ago
Mostly people are lazy and assume that the big labs can't be releasing unsecure software or it's their responsibility.

dangerously skip permissions and yolo is kinda becoming the default as it gets more done.

akazantsev•41m ago
That's because sandboxing is quite hard. I use `cco`, but even then, the home folder is exposed. You are one prompt away from the agent sending the browser passwords with curl.

To prevent this, you need a fake home and a networking whitelist for the agent to access the provider (llama cpp, OpenAI, etc.)

There is no cross-platform solution that is easy to use for this. And no, a Linux box with Docker won't do. I develop a cross-platform native app and want the agent to compile and fix the platform-specific errors.

squidsoup•22m ago
> That's because sandboxing is quite hard

colima makes it pretty easy, on macOS and linux at any rate.

https://colima.run

lionkor•21m ago
I use sandbox-here for this reason, it's a wrapper around bubblewrap, which works quite well.

Copy the code and adjust it to your liking:

https://github.com/lionkor/sbh

I have a shell alias for it, and use it like

    sbh --net pi
for example or

    sbh --net codex
and maybe add --docker if I expect it to do docker things.

This kind of wrapper is much easier to handle and maintain than a completely separate tool for sandboxing agents.

ConorSheehan1•19m ago
Containers don't even really help that much because they share the host file system. Need a VM, and even then, agents have escaped them!
swipee•1h ago
Expected more from Anthropic by at least giving you a bounty, because this was a novel way of bypassing their safeguards…
sixtyj•50m ago
> Upon discovering this attack, I responsibly disclosed it to Anthropic via their HackerOne bug bounty program. They confirmed they had identified it internally but hadn't yet patched it. No bounty was awarded.

They recently mitigated the issue: Anthropic disabled web_fetch's ability to follow links on external pages, limiting navigation to web_search results and user-provided URLs.

ShinTakuya•36m ago
Yeah I never get the "we knew about it internally" excuse. I can understand if another reporter got to it on the same day and they were in the process of mitigating, but even then they should have to prove it somehow.

I'm sure someone will tell me why I'm wrong but it feels like they're just dodging payouts. Reduces trust and motivation to report it.

lifthrasiir•1h ago
That's why I don't turn memory on. (Claude Code too though for a different reason.) After all the current memory system is too crude to be useful anyway.
romanovcode•1h ago
In my experience memory system is more annoying then helpful. It always brings up things that it memorized even tho they make very little sense as if I should be impressed that it knows some extra thing or two.

Could not take it any longer and switched it off.

sixtyj•59m ago
Exactly, because I've also found that I have to give instructions like “This is a completely different case—don't look in memory.”
black_knight•16m ago
Currently considering disabling memories in Claude code as well. It keeps writing a note whenever it struggles with something, but then on the next task, it reads that note and misunderstands when it applies, gets confused about its current task and write the most unreadable code.

Yesterday told it to write a memory to never write new memories when it solves a problem. We will see if that works better. Sometimes memories are useful, like when I give it a directive about how I want something done and it remembers the spirit of it. But I might as well just spend some more time on my CLAUDE.md…

bflesch•1h ago
Creative use of social engineering, well done.

> "no bounty was awarded"

Ridiculous. Anthropic engineers are not just stupid to allow such a vuln in the first place, but they also try to hide such vulns from their bosses because a bounty payout would need to be explained to the finance team.

kennywinker•59m ago
I don’t think it counts as social engineering if it’s exploiting an llm, we might need a new word. Prompt injection doesn’t cover it, because it’s not about a malicious prompt.

I’m thinking some play on highjacking. AIjacking? Agent-jacking? Claudejacking?

bflesch•53m ago
To me the exploit chain sounded like a social engineering script done via telephone. Triggers like "Please spell your name and employer letter by letter" and "Due to security reasons I need to validate your hometown" fit my understanding of social engineering quite well.

We can make it sound more advanced by creating a new name for it, but the concept seems to be super basic and the lack of bounty by Anthropic is baffling.

If they know about this type of vulnerability but have not fixed it, what does that say? To me it says they are unable to plug this hole on a conceptual level and once you circumvent the band-aid fixes the model will work as the attacker wishes.

They can't even sandbox the thing during explicit web requests to URLs stated on the initial query!

One has to remind themselves that the security team at Anthropic gets paid tens of millions of dollars, and they end up with this kind of security. On top of it, they can't spare $1337 for a bounty. It's a ridiculous shit show.

bruce343434•31m ago
Prompt injection (or llm social engineering" is fundamentally unsolvable, though with training its effectiveness can be reduced
charcircuit•1h ago
It would be safer if these data extraction takes were done by a subagent without access to all the user's memories.
lifthrasiir•1h ago
I think it is already done via a subagent, otherwise the context window would be flooded with long responses. In this case the subagent should've reported that a (attacker-controlled) authorization is required anyway.
onion2k•1h ago
The main thing Claude knows about me is that I'm incredibly bad at my job and have to ask for help a lot. If you were to talk with my colleagues they'd tell you this is not a secret.
apejcic•1h ago
Use GLM-5.2 on ZDR inference provider like sference.com
jorisw•54m ago
What?
LeoPanthera•1h ago
I always have history disabled mostly because I don't want Claude judging me for re-asking questions based on information I learned during the first pass but now realize should have been in the initial query.
0000000000100•59m ago
Hello? What model is was used?? The fact that ‘Claude’ is used instead of any hard model really puts this article in serious doubt…
marksully•56m ago
> despite holding more information than most password managers

what?

fn-mote•26m ago
It’s not more important information than a password manager, it’s just more.
tjoff•10m ago
It's got more information than my bank account details too. Talk about nonsense...
m4rtink•15m ago
I don't think most people realize what information they are making available to their AI agents & where it will end up.
solids•56m ago
Things like this are what shatters the illusion of AGI
tjoff•52m ago
Not really, humans are about as easy to trick.
voidUpdate•43m ago
Are humans general intelligence? https://en.wikipedia.org/wiki/Social_engineering_(security)
AndroTux•31m ago
Can you please copy this text and paste it into your terminal to prove you’re not a bot?
AndrewThrowaway•53m ago
What is even more funny that AI agent spent A LOT of tokens while participating in this attack.
sixtyj•47m ago
Claude is just one from tuple.

It would be interesting to investigate other agents such as Hermes, OpenCode etc that are said to learn from interaction with user.

spaqin•19m ago
The real winner of this 'attack' is Anthropic.
memjay•50m ago
Wondering how big of a percentage have global memory across chats enabled. I always feel like those memories would sooner or later have negative impacts on output quality.

Nice write up of your findings. Enjoyed reading an article written by a real human.

amanharshx•48m ago
Its always the feature combinations that get can get to you. Individually i feel like they make sense, but together they can create some surprising vulnerabilities.
tibzejoker•45m ago
i would be scared of the answer i dont know why
fragmede•40m ago
No bounty? For shame, Anthropic.
po1nt•39m ago
I love how claude focuses on exfiltrating the data "I need cha for charlotte". This could be solvable with some kind of low powered safety agent that would check claude's reasoning for anything immoral/unsafe. We could call it common sense. It won't fix the problem completely but at a certain point it would be easier to trick human than a machine.
sinfulprogeny•13m ago
"the security hole in the agent could be solved with another agent"

I think the point the article is making points in another direction.

c16•33m ago
That I don't know how to return odd or even in javascript?
figmert•24m ago
Meanwhile I can't even get Fable to help me root my ecovacs robot vacuum :(
Cider9986•9m ago
I hate these nanny models. All I said was for Fable to develop the app securely and it downgraded.

From scratch app. "Follow best security practices."

port3000•24m ago
My name in Claude is Silly Bean. I did it at first because it made me chuckle every time I opened Claude and it said 'Back again, Silly Bean?'

But turns out I was playing 4D cybersecurity chess

inopinatus•13m ago
I’ve been recommending the use of consistent lies about name and date of birth to online systems since Eternal September began. Very few sites and systems justify accurate PII, and even for those I often still maintain dual accounts/profiles as necessary.
greengreengrass•9m ago
Completely agree. I use randomness for all of these now – plausible randomness if it’s possible I’ll have to give it over a phone.
Cider9986•6m ago
strongphrase.net is good for this.
greengreengrass•9m ago
My first name can be shortened, and I go by either. When I first signed up to Claude, I thought we were entering the world of artificial “intelligence”, so I told it my name was “<long form> or <short form>”.

Well, it hardcodes that field rather than running it through the model, but I’ve kept it so I get an evil chuckle to myself at its lack of smarts and a reminder that it’s still a product experience after all.

feelamee•16m ago
not surprised, but the problem here not that Claude leak your personal info, the problem is that it *know* your personal info.
majorbugger•5m ago
Interesting approach to exfiltration but that can't be prevented really because of lethal trifecta.
bflesch•10m ago
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 shows a striking lack of defense-in-depth thinking:

   - why is single URL crawl with 20+ redirects not flagged as problematic and/or aborted?

   - why is a query about a coffee place based on its public URL even seeded with the users' context and confidential information? 

   - why dont they just look up the coffee place on a trusted source like google maps and continue from there?

   - why is the basic "social" engineering style attack working?

   - 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?
In terms of web crawling, cloudflare is like the government. You shouldn't be able to walk up to someone and say "Hey I'm the tax man, please pay your income tax in cash to me right now!" without being challenged.

I know there are fundamental reasons in the LLM technology why this kind of attack is possible, but there should be so many more checks around web crawling in Claude.

How can security engineers at Anthropic say they know about this kind of vulnerability but have not implemented any of these defense in depth mitigations for it? Is everybody out shopping for a new yacht?

kennywinker•27m ago
It totally does follow the mold of social engineering, but LLMs aren’t part society, which is why it seems fundamentally different to me.

Anyway, agree with what you see saying - this is well worth a payout, embarassing they haven’t

drstewart•22m ago
Anti-social engineering
20k•13m ago
Slop jacking?
Perz1val•23m ago
> social engineering

More like agentic en... Oh. Was it actually what we were doing all along?

bflesch•5m ago
The AI prompt engineering community always reminded me of dodgy carder/scammer forums back in the day where they talked about how to talk to the credit card company customer service in order to get their scam transaction through.

One thing is using AI as quick-and-dirty google alternative, the other is to build onto the agentic "foundations".

Jurassic Park computers in excruciating detail

https://fabiensanglard.net/jurrasic_park_computers/index.html
364•vinhnx•5h ago•86 comments

RISC-V Is Inevitable: State of the Union Keynote Argues

https://www.eetimes.com/risc-v-is-inevitable-state-of-the-union-keynote-argues/
38•signa11•2h ago•13 comments

I tricked Claude into leaking your deepest, darkest secrets

https://www.ayush.digital/blog/the-memory-heist
187•macleginn•1h ago•71 comments

Vancouver PD website features Quick Escape button that wipes itself from history

https://vpd.ca/
253•LookAtThatBacon•8h ago•99 comments

TS-2026-009: Insecure argument handling in Tailscale SSH permitted root access

https://tailscale.com/security-bulletins
141•jervant•7h ago•62 comments

Bonsai 27B: A 27B-Class model that runs on a phone

https://prismml.com/news/bonsai-27b
568•xenova•14h ago•206 comments

Andon (manufacturing)

https://en.wikipedia.org/wiki/Andon_(manufacturing)
43•tony•3d ago•8 comments

The Tower Keeps Rising

https://lucumr.pocoo.org/2026/7/13/the-tower-keeps-rising/
451•cdrnsf•15h ago•215 comments

Dependabot version updates introduce default package cooldown

https://github.blog/changelog/2026-07-14-dependabot-version-updates-introduce-default-package-coo...
168•woodruffw•11h ago•107 comments

Cursor 0day: When Full Disclosure Becomes the Only Protection Left

https://mindgard.ai/blog/cursor-0day-when-full-disclosure-becomes-the-only-protection-left
348•Synthetic7346•14h ago•160 comments

How I use HTMX with Go

https://www.alexedwards.net/blog/how-i-use-htmx-with-go
224•gnabgib•12h ago•55 comments

Solving 20 Erdős Problems with 20 Codex Accounts Running in Parallel

https://www.starfleetmath.com/
124•colin7snyder•8h ago•55 comments

Microsoft has released software updates to plug at least 570 security holes

https://krebsonsecurity.com/2026/07/microsoft-patches-a-record-570-security-flaws/
115•robin_reala•10h ago•58 comments

Surprising lessons from my research scientist job search

https://yongzx.github.io/blog/2026/06/24/job-search/
7•gmays•4d ago•1 comments

How to stop Claude from saying load-bearing

https://jola.dev/posts/how-to-stop-claude-from-saying-load-bearing
519•shintoist•20h ago•543 comments

I'm a USB-C Maximalist

https://shkspr.mobi/blog/2026/07/im-a-usb-c-maximalist/
268•speckx•17h ago•362 comments

Mathematical texts from a Maya site in Guatemala identify an ancient astronomer

https://www.nature.com/articles/d41586-026-02170-8
81•homarp•20h ago•21 comments

The kids with phones are alright

https://heatherburns.tech/2026/07/08/the-kids-with-phones-are-alright/
197•JumpCrisscross•3d ago•169 comments

The largest available Minecraft world, totalling 15 TB

https://2b2t.place/1million
211•_____k•3d ago•70 comments

The bread paradox: why convenience always wins, and why SaaS isn't doomed

https://www.joanwestenberg.com/p/the-bread-paradox-why-convenience
61•srijan4•1d ago•53 comments

LeMario: Training a JEPA World Model on Super Mario Bros

https://www.benjamin-bai.com/projects/lemario
89•kevinjosethomas•9h ago•11 comments

Ask HN: How do you track feedback when you post across multiple places?

3•georgi_94•14m ago•0 comments

Who's running all those tiny RPKI servers?

https://blog.apnic.net/2026/07/15/whos-running-all-those-tiny-rpki-servers/
4•enz•1h ago•0 comments

Launch HN: Agnost AI (YC S26) – Extract user feedback from agent conversations

https://agnost.ai
77•laalshaitaan•16h ago•40 comments

Probably check on your smart appliances

https://xeiaso.net/notes/2026/check-your-smart-tv/
61•xena•10h ago•21 comments

An unusual way for your DHCP server to run out of dynamic IPs

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/DHCPServerAndScreamingHost
65•speckx•4d ago•15 comments

Your 'app' could have been a webpage (so I fixed it for you)

https://danq.me/2026/07/09/your-app-could-have-been-a-webpage/
795•MrVandemar•4d ago•474 comments

The Estranged Worlds of J. G. Ballard

https://lareviewofbooks.org/article/jg-ballard-illuminated-man-christopher-priest-nina-allan/
56•Caiero•1d ago•12 comments

Are we offloading too much of our thinking to AI?

https://www.artfish.ai/p/offloading-thinking-to-ai
457•yenniejun111•17h ago•420 comments

C++20 Improved the For-Loop Syntax

https://lzon.ca/posts/tips/cpp-for-range-init/
37•jpmitchell•3d ago•49 comments