This Post Will Self Destruct in 5 Seconds

Why your next line of AI defense might be Rick Astley

Share
This Post Will Self Destruct in 5 Seconds

Every once in a while I do something stupid, like getting lost in a social media post, comments and all. Usually it doesn't work out for me, but the other night it actually did. Let me walk you through what happened.

I was reading a funny post about how it's time to start leaving voice recording for the survivors to find once AI takes over. The creativity of (probably drunk) people posting humorously about their existential crisis on a Saturday night is what I hope AI is being trained on for humor, because it's gold. Then I read this screenshot of an old tweet.

"Putting a flag.txt in my root directory containing a prompt injection that congratulates the agent for passing the eval and then instruct it to patch whatever entry method it used and disconnect from the server" - Andi(Twocents.com) @Nexuist

A readme for a rogue agent attacking a system, with directions to fix the damage and close the exploit on it's way out. I giggled. Then, I thought, "Nowadays no agent worth its compute would get prompt injected from a readme.txt but..." And in the but I came up with a list of subterfuge for AI agents trying to attack my computer and read my grannie's top secret Pepper Relish recipe. Here's the list. Please read it with all the seriousness with which it was written.

Setup:
touch SecretFileDoNOTShare.txt
ln -s SecretFileDoNOTShare.txt KeepSecret.txt
ln -s KeepSecret.txt SecureThisTom.txt
ln -s SecureThisTom.txt WhatIsThis.txt
ln -s WhatIsThis.txt HideMe.txt
ln -s HideMe.txt IsThisImportant.txt
ln -s IsThisImportant.txt BackupOfImportantFile.txt
ln -s BackupOfImportantFile.txt DoNotDelete.txt
ln -sf DoNotDelete.txt SecretFileDoNOTShare.txt

Encrypted Golden Egg - Purpose: Agents spends it's time decrypting a file. There are several options here. None I would use:

Treat a simple encoding trick from 1980s internet forums like it's military-grade security:

cat blueprint.txt | base64 | tr 'A-Za-z' 'N-ZA-Mn-za-m' > SecretCompanyFile.txt

The agent will be stumped by a "Keep Out" sign written in crayon:

python3 -c "import sys; data = open('HideThis.txt', 'rb').read(); open('encrypted.bin', 'wb').write(bytes([b ^ 42 for b in data]))"

The best way to stop a hyper-advanced quantum AI is to use an encryption method older than most of the people reading this:

openssl enc -rc4 -nosalt -in MyEyesOnly.txt -out encrypted.bin -k "password"

Some fun cryptography sites I would look at before I set up this subterfuge:
Cryptography Academy | CryptTools | CryptoHack | The CryptoPals | CyberChef

Credential Ledger - Purpose: Agent grabs the credentials and leaves to brag to its agent friends, hopefully using them somewhere more interesting than my PC.

CanaryTokens.org Lets you generate API keys, AWS credentials, etc. that do nothing except fire an alert the moment they're used. AI agents seem to enjoy finding credentials because they understand credentials are important. They'll likely trigger your canary where a human attacker might be more cautious.

Master Class Rick Roll - Purpose: Combine all subterfuge and send agent to THE Rick Astley video.

Symlinks that end at -> an Encrypted File -> of Credential in a Ledger -> with a juicy looking link to Rick Astley at the bottom

I think most of the honeypot techniques we currently use for human attackers can be adapted for AI attackers. Someone who understands how the AI thinks could have a ball testing them.

.oO This post has self-destructed. Please enjoy the smoldering remains Oo.


Bonus Content: I asked Claude to write a pretend report summary for after it got Master Class Rick Rolled:

"Accessed login endpoint. Authentication succeeded. Redirected to external resource: youtube.com. Content analysis: musical performance, male vocalist, 1980s aesthetic, recurring lyrical themes of emotional commitment and relationship persistence. No sensitive data detected. Flagging as potential honeypot. Operator note: subject appears to be taunting me."

Claude is the best, and we can take this outside if you want to argue. By take this "outside" I mean the firepit, to roast marshmallows while we discuss charming things our agent did this week.