A Python tool that scans codebases for potentially dangerous patterns like hardcoded passwords or accidental diff checkins.
Dodgy is a Python-based static analysis tool that scans codebases for potentially dangerous patterns, such as hardcoded passwords, API keys, or accidental SCM diff checkins. It helps developers identify security risks and code quality issues before they are committed or deployed.
Python developers and open-source maintainers who need a simple, automated way to detect sensitive data leaks or accidental diff inclusions in their code repositories.
Developers choose Dodgy for its simplicity and focus on preventing obvious security mistakes, especially through seamless integration with pre-commit hooks to catch issues early in the development cycle.
Looks at Python code to search for things which look "dodgy" such as passwords or diffs
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses straightforward regular expressions to quickly scan for common issues like hardcoded secrets, making it lightweight and easy to run, as stated in the philosophy.
Designed to be run as a Git pre-commit hook to block dodgy code before committing, emphasizing prevention early in the development cycle, per the README.
Targets open-source projects to prevent public exposure of secrets, addressing a critical need for maintainers, as highlighted in the key features.
The README admits it's not configurable enough to adjust for private projects, leading to false positives and reduced flexibility in rule tuning.
Relies on simple regex patterns, so it may miss complex or obfuscated secrets and lacks advanced features like context-aware scanning or machine learning.
Marked as a very early version with minimal functionality, which means it may have stability issues or lack updates compared to mature security tools.