by dangoodmanUT · 4w ago · 0 comments
that way if the provider gets popped, they need my binary to decrypt it
it shouldn't be necessary and it sounds stupid, but in cases like this, it proves invaluable (it appears they don't have customer code/binary access, but maybe that wasn't important enough to mention)
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..."
so you dont need env2 to decrypt env1.
https://seal.zone/ does this
I think siblings are correct that the more widespread this is, the less effective once every dump is run through a "also look for keys in the binary" step.
That way read access to your infra provider is not sufficient, it requires an active component.