Hacker News new | ask | show | jobs
by steelframe 32 days ago
I think this is a great example of temporarily effective "security through obscurity." It's also a trick that will only continue to work so long as it doesn't get adopted too widely.
5 comments

It buys you time. I had my Anthropic key on Northflank set as an env var as-is and only found out about the incident from the HN front page 6 hours later (I didn't even get an email).

I rushed to the Claude platform console and was expecting to see a 4 figure usage bill or something. Luckily there was no usage.

But imagine if I were traveling. Even a rot13 of the key would've bought me enough time to rotate.

2 lessons:

- don't name your env var "CLAUDE_API_KEY". Call it "ARG_1" or something

- at least do some obscurin' so that the value doesn't start with "sk-ant..."

It's not security through obscurity. It makes it so that two things need to get breached to access the secrets: the application code and the stored secrets.
At this point, I kinda feel like the obscurity is our best mechanism for mitigation :(
Obscurity has always been party of security and will never go out of style.
Is there any security in internet traffic that isn't obscurity? It all boils down to private keys.
It's Obscurity Turtles all the way down.
Give it about a week until AI agents add his "tip" to their training...
it's not obscurity if they don't have the key, it's encrypted (yes i know quantum computers)
This would presumably be symetric encryptionwhich isn't typically vulnerable to quantum attacks...