ansi-diff
A module that diffs an input buffer with the previous one provided to it and outputs the diff as ANSI
1
Versions
MIT
License
No
Install Scripts
Missing
Provenance
Supply chain provenance
Status for the latest visible version.
No SLSA provenance
npm registry signatures
gitHead linked
Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.
Maintainers
mafintosh
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| semgrep | semgrep:hex-decode | AI (semgrep): Hex encoding is used to construct standard ANSI terminal escape sequences (ESC=0x1b, cursor-up=0x41). This is a well-known legitimate pattern for building ANSI control codes, not obfuscation. | ai |
Versions (showing 1 of 1)
| Version | Deps | Published |
|---|---|---|
| 1.2.0 | 2 / 1 |
v1.2.0
1 finding
LOW
No provenance attestation
provenance
Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.