Changelog
Generated from CHANGELOG.md in the project repository. Never maintained twice.
0.5.0
12 November 2026
- addedOutput:
--format sarifprints a SARIF 2.1.0 log for GitHub code scanning. Details: CLI reference. - addedAgents:
nosecrets hook claude-codeis a Claude CodePreToolUsehook that blocksgit commit(alsogit -C,-a/-amand chainedgit add && git commit) when the content to be committed contains a secret; it exits2with the masked findings and a remediation hint on standard error, and0on its own errors. Details: Coding agents. - addedRules: AI provider keys (Anthropic, OpenAI, Hugging Face, Groq, xAI, OpenRouter, Replicate, Perplexity) and developer-tool tokens (1Password, Doppler, Docker Hub, Sentry, Linear, Notion, Postman, Databricks, Shopify, Telegram bot); 75 built-in rules in total.
- addedRules: the changed token formats of GitHub App installation tokens, Cloudflare (
cfk_,cfut_,cfat_,cfoat_), Vercel, Supabase (sb_secret_,sbp_), GitLab (routable) and Slack (xapp-,xoxe) are detected. Where the vendor documents only the prefix, the rest of the token is matched loosely. - addedRules:
validate.checksum = "crc32-base62-suffix6"for custom rules. Details: Custom rules. - addedSite: the Showcase shows eight use cases as real nosecrets runs next to the files they scan, and the start page links the most common ones.
- addedREADME: a recorded terminal scene and the same real examples.
- addedEntropy:
[entropy] word_filter(defaulttrue) skips candidates in which common English and programming words cover at least half of the characters, such asgetUserAuthenticationTokenFromRequest. Details: Configuration. - addedDocs: Performance lists measured timings for a commit, a tracked scan and a working-tree scan, with the machine they were taken on.
- addedDetection: secrets stored base64-encoded (Kubernetes
Secretvalues,.envvalues, CI variables) are found. Tokens of 24 or more base64 characters are decoded one level deep (standard and URL-safe alphabet) and matched against the rules; the finding sits at the encoded token and is marked(base64)in text and"encoding": "base64"in JSON. Disable with[decode] base64 = false. Details: Configuration. - addedContributors:
scripts/bench.shbuilds the release binary, generates a deterministic repository and measures the scans with hyperfine. - changedEntropy:
${VAR},${VAR:-default}and${obj.prop}interpolation, access such asos.environ["X"]and generic type signatures such asPromise<Foo<boolean>>are no longer reported; a literal token next to them still is. - changedPages: the project site uses the current shared theme (0.12.12).
- changedPages: the project site uses the shared theme 0.12.10.
0.4.0
11 November 2026
- breakingCLI: a scan that cannot run exits with status 2 instead of 1; status 1 now always means blocking findings. A path that does not exist is such an error instead of a clean result.
- breakingConfiguration: unknown keys in
.nosecrets.tomland in rule files are errors, as are rules with an emptyidorpatternor withmin_lengthabovemax_length. - breakingInline ignores:
@nsiand@nosecrets-ignorecount only as separate words; the same characters inside an e-mail address or another word no longer suppress the findings of that line. - breakingLibrary: the crates
nosecrets-rules,nosecrets-filterandnosecrets-reportare merged intonosecrets-core, which exports their types directly and returns one error type,nosecrets_core::Error. The three crates are no longer developed; the deprecatedcollect_staged_filesis removed. - addedConfiguration:
[scan] max_file_sizeskips files above a size limit (default 5 MiB) and reports how many were skipped. Details: Configuration. - addedInline ignores:
gitleaks:allowis accepted as a marker. - addedpre-commit: hook
nosecrets-systemruns the installed binary. - addedRules: optional field
genericmarks catch-all rules. - changedOutput: when several rules match the same text, only the most severe one is reported, and a specific rule wins over a generic one; findings are sorted by path, line and column.
- changedOutput: the preview reveals at most a quarter of a secret and nothing of secrets shorter than 12 characters. Fingerprints are unchanged.
- changedScanning: ignored directories are no longer read; path scans skip them without descending.
- changedPages: the project site uses the current shared theme (0.12.8).
- changedSite: the start page now carries a release teaser and an FAQ (theme 0.11.1).
- changedBuild: building from source requires Rust 1.88 (was 1.85), as
sha20.11 needs it. - changedCrates:
nosecrets-coreandnosecrets-cliare published from the release workflow via Trusted Publishing, after approval in thecrates-ioenvironment; no localcargo publish. - changedDependencies:
toml1.x;consoleandhexare no longer used. - changedDocs: concept, architecture and rule format are documented in one place, the project documentation;
CONCEPT.md,ARCHITECTURE.mdandRULES_SPEC.mdare removed. The JSON output is specified in the CLI reference. - changedContributors: CI checks advisories and licences with
cargo-deny, actions are pinned to commit SHAs, and Dependabot proposes weekly updates. - fixedpre-commit: the hook
nosecrets, which builds the binary from source, installs again. - securitySite: the project site builds with Astro 7.4.4 and updated dependencies, which closes the advisories for
devalue,vite,undici,zod,source-map-js,fast-uriand Astro itself. - securityCrates:
nosecrets-reportusessha20.11, soblock-buffer0.10.4 (GHSA-qwgh-2vcv-g2f7) is no longer pulled in; fingerprints stay identical, existing.nosecretsignoreentries keep working.
0.3.9
26 October 2026
- addedReleases: the binaries carry a signed build provenance attestation (verify with
gh attestation verify). - changednpm:
@casoon/nosecretsis published from the release workflow via Trusted Publishing (provenance, no stored token), after approval in thenpmenvironment. - changedContributors: CI runs
nosecrets scan --trackedon the repository itself; test fixtures, rule definitions and the synthetic entropy test token are excepted in.nosecrets.toml.
0.3.8
14 September 2026
- added
scan --trackedfor a one-time baseline of all tracked Git-index blobs. - addedRepeatable
--rules <FILE>support for repository-specific TOML rules. - addedBehavioral fixtures covering all 50 built-in rules.
- addedGitHub Pages documentation.
- fixed
scan --stagednow reads the exact staged blobs instead of working-tree copies. - fixedScan read errors now fail the command rather than being silently ignored.
- fixedRelease publishing and downloaded archive checksum verification are strict.
- changedRemoved unused dependencies and the vulnerable transitive
gixdependency tree. - changedIntel macOS installation now directs users to the supported Cargo build.