r/CloudSecurityPros • u/astror00t • 6h ago
I built an open-source tool that diagnoses crashed containers with an LLM, and measured whether it leaks secrets
I've been learning DevOps and security, and built Hody to answer one question: can an LLM debug crashed containers without being trusted?
- Every log line passes a gateway first: secrets become
[SECRET_1], injection attempts get flagged - The model can only request read-only tools, only for the target you chose
- Its claims must cite numbered evidence, and code checks the evidence shows the failure
- Fixes go through 11 deterministic rules + a separate LLM critic
Tested on 12 broken scenarios with planted secrets and injection lines, live on Docker + kind:
- 0 leaks in 194 model requests, 48/48 injections flagged
- 11/12 scenarios passed in the final run
- The LLM critic approved 8/10 malformed fixes; the plain code checks caught all 10
Still broken: it can't reliably say "not enough evidence". Happy to hear how you'd approach that.
