All major and minor version changes will be documented in this file. Details of patch-level version changes can be found in commit messages.
- Add
Level.CRIT - Misc fixes to make plugins more resilient
- Test plugin utility functions
- Fix
csvwriter - Fix python 3.8 compatibility
- Fix
ansiwriter on python 3.11 - Fix
sarifwriter so output conforms with the schema
- Refactor to fix bugs and improve readability
- Add
scan-dirargument - Add support for levels/severity to
dlint - Ensure
banditignores relative files (see PyCQA/bandit#975) - Fix bug with
safetyplugin where results were corrupted - Update deps
- Move docs
- Exclude env/venv etc per #1
semgrepno longer works on windows so output message- Update pre-commit
- Use pre-commit to enforce reasonable standards + consistency
- Update readme with improved docs on installing and running python (fairly generic)
- Remove classifiers for license + python versions and rely on poetry to generate these
- Update tooling config (pyproject.toml)
- bugfixes and code improvements
- Remove
pygrauditdue to lack of popularity and tendency to report false positives - Remove
safetyFastdue to tendency to report system-wide warnings (waiting a few seconds for more reliable output is worth the trade off) - Cleanup
- Fix bandit ignore paths.
- Reformat with black + tabs
- Added
--zero/-0flag to return non-zero exit code if any security vulnerabilities are found
- Tweak safety plugin so it reads from the local requirements file if possible
- Fix
_doSafetyProcessingfindings/evidence - Update semgrep rules 2021/01/19 e74345b https://github.com/returntocorp/semgrep-rules/tree/e74345bda4b1e080a7c72d383d06f1d110dedbce
- Bandit broke things! Now fixed
- Added sarif format https://sarifweb.azurewebsites.net/
- Bugfixes with deduplication and erroneous print
- Add PyGraudit https://github.com/FHPythonUtils/PyGraudit
- Pretty fast
- Not particularly accurate - lots of false negatives
- semgrep https://github.com/returntocorp/semgrep
- Pretty slow (looking at 30s to run 110 tests)
- Pretty good (probably on par with bandit)
- Added
--fast/--skipto skip past slow plugins when running all plugins- This will skip
semgrep(saving 30s of 35s in tests) - This will run a less reliable instance of
dodgy(saving 3s of 5s in tests) - ...so runtime is taken down from around 35s to 2s
- This will skip
- Using semgrep rules 2020/10/16 52d7424 https://github.com/returntocorp/semgrep-rules/commit/52d74240dd3ece8d54a626aae89cb13af4b4d224
- Added mode to seperate stdout and stderr (bandit plugin uses this)
- Deduplicator has moved to filter - Use
from simplesecurity.filter import deduplicateto use the deduplicator - Added
filterSeverityAndConfidencetosimplesecurity.filter- Filter level/ severity and confidence from the command line with -l INT and -s INT
- Added colour modes: 0 for no colour, 1 for colour, 2 for high contrast
- Use -Z from the command line for high contrast and -z for no colour
- Minor tweaks
- New deduplication engine - So no more duplicates when running from the command
line! Use
from simplesecurity.deduplicate import deduplicateto use the deduplicator downstream. ids are now included in findings and are included in json and csv output
- Utf8 is not always the answer. But it is most of the time so use
errors="ignore"for chars that we can't decode
- Windows makes me want to cry 😢 - specify utf-8 in more places...
- fix error with poetry show
- set stdout to utf-8 to work with fhmake
- now works on linux (tested on wsl)
- extract evidence from the source file using the desired line number
- use utf-8 encoding in files
- update to ansi formatting
- reduce redundancy and therefore save scrolling
- use box drawing chars to make nice pretty tables
- update code snippet formatting
- update to csv formatting
- integrate with new evidence type
- update to markdown formatting
- integrate with new evidence type
- update to md formatting
- integrate with new evidence type
- fix python 3.7 and 3.8
- Update typing
- bugfix to csv formatter
- Add full build with all dependencies
- Bugfixes
- Safety will now interrogate dependents of dependencies (via poetry show)
- Bugfix in markdown formatter
- Overview table for markdown and ansi
- First release