Show HN: Badbox – A deterministic bad-pattern detector for codebases
Category: devtools
Tags: static-analysis, linter, dsl, rust, code-quality
Score: 6.5/10 (Innovation: 6, Technical: 7, Documentation: 8, Utility: 5)
Badbox is a deterministic (non-LLM) bad-pattern detector that lets teams encode project-specific anti-patterns as structural rules in a small DSL and checks codebases for them. It parses 30 languages, supports ownership grouping, containment, ordering relations, and baseline-based new-finding detection, making it a credible alternative to grep/AST scripts for custom lint policies. The project is well-documented and technically substantial, though it currently lacks default policies and has an experimental rule format.
Target audience: backend devs, devops, engineering teams enforcing custom code policies
Repository: https://github.com/0ctacity/badbox · Rust · MIT · 1 stars
View on Hacker News