@yao-pkg/pkg-fetch
Supply chain provenance
Status for the latest visible version.
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
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| semgrep | semgrep:env-spread | AI (semgrep): Build tool passes env to subprocess for Node.js compilation; standard pattern, not exfiltration. | ai | |
| semgrep | semgrep:child-process-import | AI (semgrep): pkg-fetch is a build tool that compiles Node.js binaries; child_process use is inherent to its function. | ai |
v3.5.33
2 findingsSpreading entire process.env into an object — may capture all secrets Source: https://github.com/yao-pkg/pkg-fetch/blob/873add6e109eea7092bbe7a0dfe9b9b4bf342abb/lib-es5/build.js#L176 174 | await (0, utils_1.spawn)('cmd', args, { 175 | cwd: nodePath, > 176 | env: { ...process.env, config_flags: config_flags.join(' ') }, 177 | stdio: 'inherit', 178 | });
Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v3.5.32
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v3.5.31
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.