▲ | tptacek 7 days ago | |||||||||||||||||||||||||||||||||||||||||||
You run a coding agent with no permissions checks on a production server anywhere I'm involved in security and I will strike down upon thee with great vengeance and furious anger. Really, any coding agent our shop didn't write itself, though in those cases the smiting might be less theatrical than if you literally ran a yolo-mode agent on a prod server. | ||||||||||||||||||||||||||||||||||||||||||||
▲ | sylens 7 days ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||
Author kindly asked you to stop reading: > 1) Have faith (always run it with 'dangerously skip permissions', even on important resources like your production server and your main dev machine. If you're from infosec, you might want to stop reading now—the rest of this article isn't going to make you any happier. Keep your medication close at hand if you decide to continue). | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
▲ | sixhobbits 7 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||
Gotta exaggerate a bit to get attention :D But I think I'm getting to the point where "If I'd let an intern/junior dev have access while I'm watching then I'm probably OK with Claude having it too" The thing that annoys me about a lot of infosec people is that they have all of these opinions about bad practice that are removed from the actual 'what's the worst that could happen here' impact/risk factor. I'm not running lfg on a control tower that's landing boeing 737s, but for a simple non-critical CRUD app? Probably the tradeoff is worth it. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
▲ | Terretta 7 days ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||
Author (who also replied to you) might have been "doing it wrong" but no wonder, Anthropic only made Claude Code smarter about this 5 days ago and there's too much to keep up with: https://github.com/anthropics/claude-code-security-review The new command is something like /security-review and should be in the loop before any PR or commit especially for this type of web-facing app, which Claude Code makes easy. This prompt will make Claude's code generally beat not just intern code, but probably most devs' code, for security mindedness: https://raw.githubusercontent.com/anthropics/claude-code-sec... The false positives judge shown here is particularly well done. // Beyond that, run tools such as Kusari or Snyk. It's unlikely most shops have security engineers as qualified as these focused tools are becoming. | ||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||
▲ | indigodaddy 7 days ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||
I've often gotten the sense that fly.io is not completely averse to some degree of "cowboying," meaning you should probably take heed to this particular advice coming from them.. | ||||||||||||||||||||||||||||||||||||||||||||
|