Contributing
Thanks for helping improve skill-security-guard.
Local Setup
The scanner uses only the Python standard library.
git clone https://github.com/rrrrrredy/skill-security-guard.git
cd skill-security-guard
python -m unittest discover -s tests -p "test_*.py"Rule Changes
When adding or changing detection rules:
- Add or update a fixture under
tests/fixtures/. - Add an assertion in
tests/test_scan.py. - Update
references/detection-rules.md. - Run
python scripts/scan.py .and confirm the repository still ratesA.
Rules should be conservative. Direct F findings should be limited to patterns that are clearly dangerous, such as exfiltration, tunneling, destructive commands, reverse shells, or remote script execution.
Pull Requests
Please keep pull requests focused. Good PRs usually include:
- a clear rule or scanner behavior change
- a fixture showing the expected behavior
- updated documentation when scoring or output changes
- local test results