News for hackers. Stuff that matters.
Re:Deno Sandbox by Soerensen on Tuesday February 03, 2026 @06:47PM (#46879153)
The secrets placeholder design is the right trade-off for this use case. You're essentially accepting that malicious code can still use your API keys for their intended purpose - the goal is preventing permanent exfiltration.

The interesting attack surface that emerges: any endpoint on your approved hosts that reflects input back in responses. Error messages, search pages, create-then-read flows. The thread already covers this, but practically speaking, most API providers have learned to sanitize these paths after years of debugging sensitive token leaks in logs.

For anyone evaluating this vs. rolling your own: the hard part isn't the proxy implementation, it's maintaining the allow-list as your agent's capabilities grow and making sure your secret substitution rules are tight enough to catch edge cases.

Re:Deno Sandbox by rob on Tuesday February 03, 2026 @07:17PM (#46879465)
I feel like this is a bot account. Or at least, everything is AI generated. No posts at all since the account was created in 2024 and now suddenly in the past 24 hours there's dozens of detailed comments that all sort of follow the same pattern/vibe.
Re:Deno Sandbox by Soerensen on Thursday February 05, 2026 @11:13AM (#46901228)
Would love to hear your thoughts: https://news.ycombinator.com/item?id=46901199