v0.12.0 #35
bradlarsen
announced in
Announcements
v0.12.0
#35
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v0.12.0 (2023-03-02)
A prebuilt Docker image for this release is available for x86_64 architectures:
Additions
The
scan
command can now be given Git https URLs, GitHub usernames, and GitHub organization names as inputs, and will enumerate, clone, and scan as appropriate (#14).Nosey Parker now has rudimentary support for enumerating repositories from GitHub users and organizations (#15). The new
github repos list
command uses the GitHub REST API to enumerate repositories belonging to one or more users or organizations. An optional GitHub Personal Access Token can be provided via theNP_GITHUB_TOKEN
environment variable.Nosey Parker now has an optional
rule_profiling
crate feature that causes performance-related statistics to be collected and reported when scanning. This feature imposes some performance cost and is only useful to rule authors, and so is disabled by default.Many new rules have been added:
These rules match token formats that are well-specified fixed-length strings with notable prefixes or suffixes, and so should produce very few false positives.
Several existing rules were modified to improve signal-to-noise:
The
report
command now offers rudimentary SARIF support (#4). Thanks you @Coruscant11!Changes
Several default rules have been revised to improve performance of the matching engine and to produce fewer false positives. In particular, several rules previously had avoided using a trailing
\b
anchor after secret content which could include a literal-
character, due to a matching discrepancy between Hyperscan and Rust'sregex
library. These have been revised to use a more complicated but functional anchoring pattern.The
JSON Web Token (base64url-encoded)
rule has been changed to only produce a single match group instead of three.The
Google Client Secret
rule has been improved to detect additional occurrences and has been renamed toGoogle OAuth Client Secret
.Blobs are now deduplicated at enumeration time when first enumerating a Git repository, rather than only at scan time. This results in more accurate progress bars.
When scanning, Git repositories are now opened twice: once at input enumeration time, and once at scanning time. This drastically reduces the amount of memory required to scan a large number of Git repositories.
Fixes
This discussion was created from the release v0.12.0.
Beta Was this translation helpful? Give feedback.
All reactions