Won't stop any seasoned hacker but it will stop the automated scripts (for now) to easily get the other keys.
Show HN: enveil – hide your .env secrets from prAIng eyes
51–60 of 152 posts
Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#52Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#53I assume an AI which wanted to read a secret and found it wasn't in .env would simply put print(os.environ) in the code and run it...
That's certainly what I do as a developer when trying to debug something that has complex deployment and launch scripts...
Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#54Earlier quoted context omitted.
What is your recommended alternative to .env files?
In the context of traditional SaaS, using dynamic secrets loaded at runtime (KMS+Dynamo, etc.). For agentic tools and pure agents, a proxy is the safest approach. The agent can even think it has a real API key, but said key is worthless outside of the proxy setting.
Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#55Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#56I dislike the gatekeepers so I will follow this implementation and see where it goes. Maybe they like you better.
Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#57Is this a real protection? The AI agent could simply run: enveil run -- printenv
Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#58Is this a real protection? The AI agent could simply run: enveil run -- printenv
Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#59Is this a real protection? The AI agent could simply run: enveil run -- printenv
Re: Show HN: enveil – hide your .env secrets from prAIng eyes
#60Does this actually work? I assume an AI which wanted to read a secret and found it wasn't in .env would simply put print(os.environ) in the code and run it... That's certainly what I do as a developer when trying to debug something that has complex deployment and launch scripts...