← Home

node-zopfli

Bindings for Zopfli compressing lib. Compress gzip files 5% better than gzip.

15
Versions
MIT
License
Yes
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

pierre.inglebert

Keywords

zopflizlibcompressgzipdeflate

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
publish-pattern new-deps-added AI (publish-pattern): nan is the canonical native addon abstraction library; its addition is expected and appropriate for a node-gyp-based native binding like node-zopfli. ai
phantom-deps phantom-dep:async AI (phantom-deps): async is used in CLI/utility scripts, not directly required in the main module — benign for this package. ai
phantom-deps phantom-dep:nan AI (phantom-deps): nan is a native addon build dependency used in C++ source/binding.gyp, not imported in JS. This is the correct usage pattern for NAN-based native addons. ai
source-diff source-size-tripled AI (source-diff): Size increase is due to committed lcov coverage report artifacts (HTML/CSS/JS), not injected payloads. Stable pattern for this package. ai
source-diff obfuscated-file:coverage/lcov-report/prettify.js AI (source-diff): This is the canonical Google Code Prettify minified JS, a standard artifact included in Istanbul/lcov HTML coverage reports. Not malicious. ai
semgrep semgrep:dynamic-require AI (semgrep): The dynamic require() loads the node-pre-gyp resolved binary path — standard pattern for native addon packages. Not arbitrary module loading. ai
npm-metadata bundled-binaries AI (npm-metadata): node-zopfli is a native addon that legitimately ships prebuilt .node binaries for multiple Node.js ABI/platform/arch combinations via node-pre-gyp. This is the documented and expected distribution pattern. ai
install-scripts install-script:install AI (install-scripts): node-zopfli is a native addon; prebuild-install || node-gyp rebuild is the standard documented install flow for fetching/building native binaries. Stable for this package. ai
phantom-deps phantom-dep:commander AI (phantom-deps): commander is used by the CLI binaries (bin/zopfli, bin/zopflipng) which are separate entry points, not the main JS module. Legitimate usage pattern. ai
phantom-deps phantom-dep:node-addon-api AI (phantom-deps): node-addon-api is referenced in binding.gyp for native addon compilation, not imported in JS. Standard for N-API native addons. ai
phantom-deps phantom-dep:prebuild-install AI (phantom-deps): prebuild-install is used as a runtime binary installer invoked from the install script, not imported in JS. Expected for native addon packages. ai

Versions (showing 15 of 15)

Version Deps Published
2.1.4 4 / 12
2.1.3 4 / 12
2.0.3 4 / 8
2.0.2 4 / 8
2.0.0 4 / 8
1.4.0 5 / 8
1.2.4 5 / 8
1.2.2 7 / 7
1.1.6 6 / 7
1.1.2 6 / 6
1.1.0 6 / 6
1.0.3 6 / 6
0.1.2 4 / 2
0.1.1 4 / 2
0.1.0 4 / 2

v2.1.4

2 findings
HIGH Package has 'install' script install-scripts

Script: prebuild-install --runtime napi || prebuild-install || node-gyp rebuild

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.1.3

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.0.3

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.0.2

2 findings
HIGH Bundled binary files (4) npm-metadata

Package contains compiled binaries that could be backdoors: • lib/binding/node-v42-darwin-x64/zopfli.node • lib/binding/node-v45-darwin-x64/zopfli.node • lib/binding/node-v46-darwin-x64/zopfli.node • lib/binding/node-v48-darwin-x64/zopfli.node

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.0.0

2 findings
HIGH Bundled binary files (4) npm-metadata

Package contains compiled binaries that could be backdoors: • lib/binding/node-v42-darwin-x64/zopfli.node • lib/binding/node-v45-darwin-x64/zopfli.node • lib/binding/node-v46-darwin-x64/zopfli.node • lib/binding/node-v48-darwin-x64/zopfli.node

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.4.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.2.4

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.2.2

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.1.6

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.1.2

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.1.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.0.3

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.