Nosey Parker v0.17.0 #138
bradlarsen
announced in
Announcements
Replies: 1 comment 5 replies
-
I just updated the macOS release artifacts. The original artifacts were not codesigned at all; now they are codesigned and notarized. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NOTE: Prebuilt releases take a bit to create and will be added soon.
Additions
A new
--ignore-certs
command-line option has been added to thescan
andgithub
commands. This option causes TLS certificate validation to be skipped (#125; thank you @seqre).The
scan
andgithub
commands now support the--all-organizations
flag. When supplied along with a custom GitHub API URL, Nosey Parker will scan the provided GitHub instance for all organizations to be further enumerated for additional repositories (#126; thank you @seqre).New rules have been added (thank you @gemesa):
A new
generate
command has been added, which generates various assets that are included in prebuilt releases:generate shell-completions
report -f json
output viagenerate json-schema
(#128)generate manpages
(#88)Fixes
Several rules have been fixed that in certain circumstances would fail to match and produce a runtime error message:
The
netrc Credentials
rule has been modified to avoid a runtime message about an empty capture group.The
JSON Web Token (base64url-encoded)
rule has been improved to reduce false positives. Thank you @saullocarvalho for the bug report.The prebuilt releases now include shell completion scripts for bash, fish, elvish, powershell, and zsh, instead of 5 copies of the zsh completions (#132; thank you @Marcool04).
Changes
The minimum supported Rust version has been changed from 1.70 to 1.76.
The data model and datastore have been significantly overhauled:
The rules used during scanning are now explicitly recorded in the datastore. Each rule is additionally accompanied by a content-based identifier that uniquely identifies the rule based on its pattern.
Each match is now associated with the rule that produced it, rather than just the rule's name (which can change as rules are modified).
Each match is now assigned a unique content-based identifier.
Findings (i.e., groups of matches with the same capture groups, produced by the same rule) are now represented explicitly in the datastore. Each finding is assigned a unique content-based identifier.
Now, each time a rule matches, a single match object is produced. Each match in the datastore is now associated with an array of capture groups. Previously, a rule whose pattern had multiple capture groups would produce one match object for each group, with each one being associated with a single capture group.
Provenance metadata for blobs is recorded in a much simpler way than before. The new representation explicitly records file and git-based provenance, but also adds explicit support for extensible provenance. This change will make it possible in the future to have Nosey Parker scan and usefully report blobs produced by custom input data enumerators (e.g., a Python script that lists files from the Common Crawl WARC files).
Scores are now associated with matches instead of findings.
Comments can now be associated with both matches and findings, instead of just findings.
The JSON and JSONL report formats have changed. These will stabilize in a future release (#101).
The
matching_input
field for matches has been removed and replaced with a newgroups
field, which contains an array of base64-encoded bytestrings.Each match now includes additional
rule_text_id
,rule_structural_id
, andstructural_id
fields.The
provenance
field of each match is now slightly different.Schema migration of older Nosey Parker datastores is no longer performed. Previously, this would automatically and silently be done when opening a datastore from an older version. Explicit support for datastore migration may be added back in a future release.
The
shell-completions
command has been moved from the top level to a subcommand ofgenerate
.This discussion was created from the release Nosey Parker v0.17.0.
Beta Was this translation helpful? Give feedback.
All reactions