Monorepos make coding agents more useful — but compromised accounts are harder to contain
The scariest detail is that Hacktron pulled it off through a forum bug, a mundane vulnerability. One account, one path, and suddenly the entire internal codebase is a target. The single harmless pull request was a courtesy. The point was made before they stopped.
For a startup, this reads like a warning about speed versus control. Monorepos are genuinely great for moving fast, especially when you have agents that need to see the whole picture to write good code. But that speed comes with a serious operational cost. The old approach of isolated repos for isolated risks now looks less like bureaucracy and more like a security feature. I'd be asking my team how many people actually need that broad access, because the math here is unforgiving. One compromised token on a shared repo is already a nightmare. Imagine if that token belonged to an agent with a long-lived session
I don't think the answer is ditching monorepos. They're too useful for the kind of momentum startups rely on. But this story suggests the trade-off deserves more thought. Forget about saying no to the tools. You need to decide whether you'd rather have the convenience or the blast radius containment when something goes wrong. Right now, I'd lean toward more granular permissions and a faster revocation workflow. The code gets written either way. The question is who can see it.
