@ast-grep/napi
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
Keywords
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| typosquat | typosquat.levenshtein:hapi | AI (typosquat): @ast-grep/napi is a scoped package for the ast-grep project; 'napi' refers to Node.js native addon interface, not a typosquat of 'hapi'. False positive for this package. | ai | |
| semgrep | semgrep:child-process-import | AI (semgrep): child_process is used only to run 'ldd --version' to detect musl libc for native binary selection — standard napi-rs pattern, not malicious. | ai | |
| semgrep | semgrep:child-process-execsync | AI (semgrep): execSync('ldd --version') is a hardcoded, benign musl detection call used by napi-rs native bindings to select the correct prebuilt binary. | ai | |
| semgrep | semgrep:dynamic-require | AI (semgrep): Dynamic require via NAPI_RS_NATIVE_LIBRARY_PATH env var is a documented napi-rs override mechanism, not an arbitrary code execution risk. | ai |
Versions (showing 29 of 29)
| Version | Deps | Published |
|---|---|---|
| 0.43.0 | 0 / 10 | |
| 0.42.3 | 0 / 10 | |
| 0.42.2 | 0 / 10 | |
| 0.42.1 | 0 / 10 | |
| 0.42.0 | 0 / 10 | |
| 0.41.1 | 0 / 10 | |
| 0.41.0 | 0 / 10 | |
| 0.40.5 | 0 / 10 | |
| 0.40.4 | 0 / 10 | |
| 0.40.3 | 0 / 10 | |
| 0.40.2 | 0 / 10 | |
| 0.40.1 | 0 / 10 | |
| 0.40.0 | 0 / 10 | |
| 0.39.9 | 0 / 10 | |
| 0.39.7 | 0 / 10 | |
| 0.39.6 | 0 / 10 | |
| 0.39.5 | 0 / 10 | |
| 0.39.4 | 0 / 10 | |
| 0.39.3 | 0 / 10 | |
| 0.39.2 | 0 / 10 | |
| 0.39.1 | 0 / 10 | |
| 0.38.7 | 0 / 9 | |
| 0.38.6 | 0 / 9 | |
| 0.38.5 | 0 / 9 | |
| 0.38.4 | 0 / 9 | |
| 0.38.3 | 0 / 9 | |
| 0.38.2 | 0 / 9 | |
| 0.38.1 | 0 / 9 | |
| 0.38.0 | 0 / 9 |
v0.43.0
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.42.3
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.42.2
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.42.1
2 findingsPackage name '@ast-grep/napi' is 1 edit(s) away from popular package 'hapi'.
Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.42.0
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.41.1
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.41.0
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.40.5
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.40.4
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.40.3
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.40.2
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.40.1
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.40.0
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.39.9
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.39.7
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.39.6
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.39.5
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.39.4
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.39.3
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.39.2
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.39.1
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.38.7
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.38.6
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.38.5
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.38.4
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.38.3
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.38.2
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.38.1
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.
v0.38.0
1 findingPackage was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.