Detect-secrets

Latest version: v1.5.0

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

1.0.2

Not secure
February 25th, 2021

:bug: Bugfixes

- `KeywordDetector` is no longer case-sensitive.

1.0.1

Not secure
February 25th, 2021

:bug: Bugfixes

- Fixes recursive loop with installation ([408], thanks [cbows])

[408]: https://github.com/Yelp/detect-secrets/pull/408
[cbows]: https://github.com/cbows

1.0.0

Not secure
February 24th, 2021

:mega: Release Highlights

- Added a concept of ["filters"](./docs/filters.md), to weed out false positives
- Introduce the concept of ["transformers"](./docs/design.mdTransformers), to standardize file
parsing across plugins
- Designed an upgrade system for easy migrations of older baseline versions
- Core engine redesigned to support module usage (rather than just interacting with it through
the command line)
- Added a global [`Settings`](./docs/design.mdSettings) object for repeatable, serializable,
configurations
- Introduced dependency injection framework for easy-to-design filters.

:boom: Breaking Changes

Honestly, too many to list out. Check out the original pull request
([355](https://github.com/Yelp/detect-secrets/pull/355)) for more details. It's safe to assume
that if you interacted with `detect-secrets` as a module (rather than solely a pre-commit hook
or CLI tool), the APIs have changed (for the better).

**However**, with the new upgrade infrastructure in place, the baseline files will auto upgrade
by themselves. Users that have used it solely as a pre-commit hook or CLI tool may need to consult
the ["User Facing Changes"](https://github.com/Yelp/detect-secrets/pull/355) for flag renaming.

:tada: New Features

- Added `NpmDetector` ([347], thanks [ninoseki])
- Added `AzureStorageKeyDetector` ([359], thanks [DariuszPorowski])
- Added `SquareOauthDetector` ([398], thanks [pablosantiagolopez])
- Added `--only-allowlisted` flag to scan for inline ignores
- Added `--list-all-plugins` to show a list of all plugins available to the engine
- Added `--exclude-secrets` flag to ignore secrets that match specific regexes
([391], thanks [pablosantiagolopez])
- Added `--slim` flag to generate baselines that minimize git diffs
- Added `--disable-filter` to disable specific filters
- Added `--disable-plugin` to disable specific plugins
- Added support for ` pragma: allowlist nextline secret` to ignore the following line
([367], thanks [nickiaconis])

[347]: https://github.com/Yelp/detect-secrets/pull/347
[359]: https://github.com/Yelp/detect-secrets/pull/359
[367]: https://github.com/Yelp/detect-secrets/pull/367
[391]: https://github.com/Yelp/detect-secrets/pull/391
[398]: https://github.com/Yelp/detect-secrets/pull/398
[DariuszPorowski]: https://github.com/DariuszPorowski
[nickiaconis]: https://github.com/nickiaconis
[ninoseki]: https://github.com/ninoseki
[pablosantiagolopez]: https://github.com/pablosantiagolopez

:telescope: Accuracy

- AWS Plugin now scans for secret tokens as well ([397], thanks [pablosantiagolopez])

[397]: https://github.com/Yelp/detect-secrets/pull/397
[pablosantiagolopez]: https://github.com/pablosantiagolopez

:mortar_board: Walkthrough / Help

- The README now includes examples of common usages, features, and an FAQ section for
the common questions we often receive as GitHub issues.
- So much better [technical documentation](./docs)!
- Type support added

:bug: Bugfixes

- Inline allowlisting is respected by regular scans, rather than only pre-commit hook
- `audit` functionality improved on Windows machines
- git operations now handle file paths with spaces
- fix KeywordDetector hanging on very long lines ([373], thanks [gpflaum])

[373]: https://github.com/Yelp/detect-secrets/pull/373
[gpflaum]: https://github.com/gpflaum

0.14.3

Not secure
August 27th, 2020

:telescope: Accuracy

- Verify Slack secrets more accurately ([325], thanks [dryoni])

:bug: Bugfixes

- Fix a `TypeError` exception in adhoc string scanning ([336])

:snake: Miscellaneous

- Fix an XML comment in documentation ([322], thanks [cilefen])

[322]: https://github.com/Yelp/detect-secrets/pull/322
[325]: https://github.com/Yelp/detect-secrets/pull/325
[336]: https://github.com/Yelp/detect-secrets/pull/336
[dryoni]: https://github.com/dryoni
[cilefen]: https://github.com/cilefen

0.14.2

Not secure
July 25th, 2020

:bug: Bugfixes

- Fixed an `AttributeError` exception in the pre-commit hook, when on Windows ([321], thanks [JohnNeville])

[321]: https://github.com/Yelp/detect-secrets/pull/321
[JohnNeville]: https://github.com/JohnNeville

0.14.1

Not secure
July 13th, 2020

:bug: Bugfixes

- Add missing `tuple()` conversion that raised a `TypeError` when using `scan --update` ([317], thanks [shaikmanu797])

[317]: https://github.com/Yelp/detect-secrets/pull/317
[shaikmanu797]: https://github.com/shaikmanu797

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.