← Home

@bufbuild/buf

2
Versions
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

bufdevtstamm-bufbufbotjdailey_bufdoriakeung

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
install-scripts install-script:postinstall AI (install-scripts): Standard prebuilt-binary install pattern for a CLI tool; stable across versions. ai
semgrep semgrep:env-spread AI (semgrep): Spreads env to invoke npm for optional dep install; intentional and benign. ai
semgrep semgrep:child-process-import AI (semgrep): Used to shell out to npm for binary install; expected for CLI installer. ai
typosquat typosquat.levenshtein:yup AI (typosquat): Scoped @bufbuild/buf is not a typosquat of 'yup'; false positive. ai

Versions (showing 2 of 2)

Version Deps Published
1.68.4 0 / 3
1.67.0 0 / 3

v1.68.4

3 findings
HIGH Package has 'postinstall' script install-scripts

Script: node ./install.js

HIGH env-spread: install.js:123 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/bufbuild/buf/blob/683b6f02174bd0368c385e1ed1e94d17f1dbdae9/install.js#L123 121 | } 122 | function installUsingNPM(pkg, subpath, binPath) { > 123 | const env = { ...process.env, npm_config_global: void 0 }; 124 | const libDir = path2.dirname(require.resolve("@bufbuild/buf")); 125 | const installDir = path2.join(libDir, "npm-install");

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.

v1.67.0

3 findings
HIGH Package has 'postinstall' script install-scripts

Script: node ./install.js

HIGH env-spread: install.js:123 semgrep

Spreading entire process.env into an object — may capture all secrets Source: https://github.com/bufbuild/buf/blob/fcdd67c4d0924ca6f5b75fc2c825d20a90cedb94/install.js#L123 121 | } 122 | function installUsingNPM(pkg, subpath, binPath) { > 123 | const env = { ...process.env, npm_config_global: void 0 }; 124 | const libDir = path2.dirname(require.resolve("@bufbuild/buf")); 125 | const installDir = path2.join(libDir, "npm-install");

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.