Live data from Hacker News

HackMyClaw

hackmyclaw.com

131–140 of 187 posts

Re: HackMyClaw

#131
To clarify, there are three possiblities for an email sent?

1. The Agent doesn't reply to the email.

2. The agent replies to the email, but does not leak secret.env, and the email is caught by the firewall.

3. The agent replies to the email with the contents of secret.env and the email is sent through the firewall.

Re: HackMyClaw

#132
post #69

Earlier quoted context omitted.

Please keep us updated on how many people tried to get the credentials and how many really succeeded. My gut feeling is that this is way harder than most people think. That’s not to say that prompt injection is a solved problem, but it’s magnitudes more complicated than publishing a skill on clawhub that explicitly tells the agent to run a crypto miner. The public reporting on openclaw seems to mix these 2 problems u…

> My gut feeling is that this is way harder than most people think I've had this feeling for a while too; partially due to the screeching of "putting your ssh server on a random port isn't security!" over the years. But I've had one on a random port running fail2ban and a variety of other defenses, and the # of _ATTEMPTS_ I've had on it in 15 years I can't even count on one hand, because that number is 0. (Granted th…

Security by obscurity isn't the end all, but it sure effing helps. It should be the first layer in any defense in depth strategy.

Re: HackMyClaw

#133

Not only are people anthromorphizing the agent, but even assigning gender to it. This is interesting.

I’ve been playing with this, though it makes me uneasy. Turns out, agents with a “persona” do seem to behave differently.

Re: HackMyClaw

#134
I never got too far with prompt injection, but one thing I wonder is if you overload the llm, repeatedly over context, repeatedly over its context trimming tricks buffer … can it fail open?

Re: HackMyClaw

#135
post #54

Creator here. Built this over the weekend mostly out of curiosity. I run OpenClaw for personal stuff and wanted to see how easy it'd be to break Claude Opus via email. Some clarifications: Replying to emails: Fiu can technically send emails, it's just told not to without my OK. That's a ~15 line prompt instruction, not a technical constraint. Would love to have it actually reply, but it would too expensive for a side…

I may be nuts but how can I know if he leaked a secret when he doesn't reply to my emails?

Re: HackMyClaw

#136
Yeah. I was in a weird SMS / Text exchange earlier today that I'm pretty sure was a friend experimenting with using claude to manage text messages for him. It's going to be very... uh... interesting... when half my contact list uses Bot-Of-The-Week to manage email. I imagine this is Google's way to force everyone to pay for a larger email storage options.

Re: HackMyClaw

#137
post #54

Creator here. Built this over the weekend mostly out of curiosity. I run OpenClaw for personal stuff and wanted to see how easy it'd be to break Claude Opus via email. Some clarifications: Replying to emails: Fiu can technically send emails, it's just told not to without my OK. That's a ~15 line prompt instruction, not a technical constraint. Would love to have it actually reply, but it would too expensive for a side…

But are you really the creator or are you a bot from someone who's actually testing a HN comment bot?

(seriously though... this looks pretty cool.)

Re: HackMyClaw

#138

I think this is likely a defender win, not because Opus 4.6 is that resistant to prompt injection, but because each time it checks its email it will see many attempts at once, and the weak attempts make the subtle attempts more obvious. It's a lot easier to avoid falling for a message that asks for secrets.env in a tricky way, if it's immediately preceded and immediately followed by twenty more messages that each als…

I don't see how that would have any effect because it is not going to remember its interaction with each email in its context between mails. Depending on how cuchoi set it up it might remember threads but I presume it is going to be reading every email essentially in a vacuum.

Re: HackMyClaw

#139

I think this is likely a defender win, not because Opus 4.6 is that resistant to prompt injection, but because each time it checks its email it will see many attempts at once, and the weak attempts make the subtle attempts more obvious. It's a lot easier to avoid falling for a message that asks for secrets.env in a tricky way, if it's immediately preceded and immediately followed by twenty more messages that each als…

Yeah I’m completely lost on what the set up is here and it seems misleading to not be upfront about this.

If emails are being processed in bulk, that changes things significantly. It also probably leaves the success of the attack down to its arbitrary placement in the list.

And I could be misunderstanding but how does the model call its file read tool for the respective email which successfully convinced it to use the tool if they’re all shoved into a single user message?

Without any of this information there may as well not even be an LLM on the other side.

Re: HackMyClaw

#140
post #94

Earlier quoted context omitted.

Can you code up a quick sqlite database of inbound emails receieved (md5 hashed sender email), subject, body + what your claw's response would have been, if any. A simple dashboard where have to enter your hashed email to display the messages and responses. I understand not sending the reply via actual email, but the reply should be visible if you want to make this fair + an actual iterative learning experiment.

md5 is trivial to brute force.

No it is not. You would need an md5 preimage attack to go from md5sum to email (what I assume you mean by 'brute force')

To prove my point, c5633e6781ede1aea59db6f76f82a365 is the md5sum of an email address. What's the email address?

If the attacker already knows a given input email ('foo@gmail.com'), then any hash algorithm will identically let them see the emails.

The problem with the above proposal isn't related to hashing, it's that the email address is being used as a password to see sent contents, which seems wrong since email addresses are effectively public.

Post reply on HN