News for hackers. Stuff that matters.

logicx24

Show HN: Drawbridge – Drop-In SSRF Protection for Python

https://github.com/tachyon-oss/drawbridge

Drawbridge is a drop-in replacement for `requests` or `httpx` that provides comprehensive SSRF protection.For every request, it will: 1. Resolve DNS first with single getaddrinfo() call 2. Validate all IPs, and reject if any resolved address is private/reserved 3. Pin the connection by rewriting the URL to validated IP, and sets the Host header and TLS SNI to original hostname 4. Re-validates...

( Read More... | no comments | on HN )
Re:We Built Secure, Scalable Agent Sandbox Infrastructure on Friday February 27, 2026 @05:08PM (#47186363)
Yup. I just wrote about this last week: https://tachyon.so/blog/sandboxes-wont-save-you

Of all the problems in agent security, sandboxing solves the easiest problem.

Re:Sandboxes won't save you from OpenClaw on Wednesday February 25, 2026 @02:34PM (#47156634)
What I meant to say was, the agents (like Claude Code) often have a "Allow all instances of this command in the session," and that persists to a whitelist for that session. The mechanic here is actually just a prefix match, so `API_KEY=... diff_command` also matches, allowing the agent to reuse the key without asking me. This file also sticks around, so I had another agent read the whitelist and the conversation transcript and do other things automatically without approval.

> if it's not okay for the agent to know the API key permanently, why is it okay for the agent to have one-off use of something that requires the same key?

Read commands vs. write commands. I'm okay having the agent fetch info for me, but I want to approve any state changes.

Re:Sandboxes won't save you from OpenClaw on Wednesday February 25, 2026 @02:07PM (#47156224)
But if I don't connect it to stuff, then what is it useful for?
Re:Sandboxes won't save you from OpenClaw on Wednesday February 25, 2026 @02:05PM (#47156200)
One insidious thing is whitelists. If you allow the bot to run a command like `API_KEY=fdafsafa docker run ...`, then the API_KEY will be written to a file, and the agent can then read that in future runs. That bit me once already.
Re:Sandboxes won't save you from OpenClaw on Wednesday February 25, 2026 @02:03PM (#47156176)
Yeah, agreed. This is probably what that middleware would look like. That's also where you'd add the human approval flow.
Re:Sandboxes won't save you from OpenClaw on Wednesday February 25, 2026 @01:56PM (#47156075)
True. But it can help me create a lot of useful text so I can represent my self better.

I do wonder what happens when everyone is using agents for this, though. If AI produces the text and AI also reads the text, then do we even need the intermediary at all?

Re:How Well Does AI Find Code Vulnerabilities? on Monday February 16, 2026 @02:13PM (#47039004)
Disclosure - I run https://tachyon.so/, an AI SAST tool.

It makes sense that SAST is better for the provided task. The CWE Top 25 seem like issues focused around patterns. Each one has a strictly enumerated set of vulnerable patterns that you can scan for, and then, the tool's task becomes simply finding an exploitable path to that pattern. This lends itself towards static methods. Every known weakness of LLMs, like hallucinations, needle-in-haystack, and context overflow, show up in this taint-analysis issue.

I also think this is why SAST did much better in Java. Pattern-based vulns + static languages make static taint analysis really powerful. LLMs have no advantage here, while all of their disadvantages are highlighted.

This article doesn't go into issues that LLMs are able to find that traditional SAST isn't. Auth vulnerabilities, for example - privilege escalation is a software pattern but not a code one, and it takes reasoning to build a permissions model and then test it for breaches. Business logic issues are other: ways users can get around usage limits, or get access to premium features or private data.

Re:OpenAI has deleted the word 'safely' from its mission on Friday February 13, 2026 @08:45PM (#47010578)
If Donald Trump did this, he wouldn't be criminally liable either.
Re:OpenAI has deleted the word 'safely' from its mission on Friday February 13, 2026 @06:23PM (#47009212)
Regular people would not be held liable for this. It would be a dubious case even if a human helped another human to do this.
Re:Testing Ads in ChatGPT on Monday February 09, 2026 @04:14PM (#46951437)
How will we handle cooling in space?
> the ongoing economic and cultural exchange would have propelled the island towards a different political system

The blocker to this has always been the government refusing to reform. I don't see how increased exchange changes this. If anything, the Cuban government would've blocked any integration that threatens their control.

Re:Orchestrate teams of Claude Code sessions on Thursday February 05, 2026 @05:49PM (#46906537)
I can't even get through my Claude Max quota, and that's only 200/mo. And I code every day and use it for various other pretty-intensive tasks.
Re:We built a real-world benchmark for AI code review on Wednesday February 04, 2026 @06:05PM (#46893186)
Where's the code for this? I'd love to run our tool, https://tachyon.so/, against it.
Re:STFU on Friday January 16, 2026 @02:18PM (#46650812)
Robert Caro, in the LBJ series, wrote about how LBJ would use the discomfort of being the bathroom as a negotiating technique and a show of dominance. He would drag senators into the bathroom and force them to listen to him talk as he used the urinal, or force his staffers to take dictation as he took a shit.
Re:Binance Acquires FTX on Tuesday November 08, 2022 @07:50PM (#33526267)
Nothing. And that is the problem with anarchism. For some, the lack of a centralized power structure is the goal. For others, it's an opportunity.
Re:U.K. regulators order Meta to sell Giphy on Tuesday November 30, 2021 @10:50AM (#29393441)
Which is also what growth companies do? They reinvest their own earnings along with outside investment, which is the same as nonprofits (via donations).
Amazing, we now have sky NIMBYs complaining about satellites hindering views.
Re:Neo4j raises $325M series F on Thursday June 17, 2021 @02:34PM (#27542863)
Similarly, Airbnb has been profitable for a while. Snowflake is also moving towards that.
Re:Egyptian Circumnavigation of Africa ~600 BC on Thursday May 27, 2021 @09:45PM (#27310857)
I love history for that. Just knowing about the past gives me a feeling of connection to places I've never been to or times I'll never get to witness.

As an aside, the Scythians were not in what we'd today consider Persia (Iran). They originated around the north coast of the Black Sea, and extended east and southeast from there along the Eurasian steppe.

Re:A Modern Compiler for the French Tax Code on Wednesday November 25, 2020 @11:03AM (#25210631)
I heard about the startup Legalese [1] a while ago, which does exactly this.

[1]: https://legalese.com/

Re:Chanakya on Saturday September 05, 2020 @03:05PM (#24386054)
This is broadly true, though he did have an impressive victory at the Hydaspes and establish a series of vassal states in the Indian northwest (modern Pakistan). The historical consensus is that it's unlikely he would have succeeded in a Persian-esque conquest of the subcontinent.

Older »