|
|
|
|
|
by schrodinger
9 days ago
|
|
Exactly. You build the product modularly. There is a very high-security core to it with a very tight API. It's very hard to do dangerous things using it's minimal API. It rate limits calls to "GetPassword." It handles 2-way encryption. This cold has a massive test suite, a fuzzing suite, a timing suite, etc. Every line is reviewed very, very carefully. Vibe code the UI all you want. Be fast and easy w/ reviews. But that central code that performs the truly dangerous stuff, it's reviewed carefully and owned by a security-focused team. I think this sort of modularization and treating some code as "golden, needs human review" and some as "can be vibed / thrown away and rewritten" will become common over time. Sort of how Python writes it's "fast" parts in C or Rust (e.g numpy matrix math), we'll extract the secure stuff. That's my philosophy at least. I pushed for it at my last company and got pretty good buy-in. It clicks with ppl, gives PMs the ability to vibe away, and security folks the ability to say "I don't trust AI code." |
|
It needs to be a vertical slice, not a core. Now only that feature touches the sensitive bits. In a well designed system, oftentimes your core is completely internal to the subsystem.
In general people over-emphasize layers, feature slices are usually what matters.