tree-sitter-rust
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 |
|---|---|---|---|---|
| phantom-deps | phantom-dep:node-addon-api | AI (phantom-deps): node-addon-api is used in binding.gyp for native compilation, not directly imported in JS — standard for native addon packages. | ai | |
| install-scripts | install-script:install | AI (install-scripts): node-gyp-build is the standard install script for loading prebuilt native binaries; stable and expected for this tree-sitter grammar package. | ai | |
| npm-metadata | bundled-binaries | AI (npm-metadata): Prebuilt .node binaries for multiple platforms are the expected distribution mechanism for tree-sitter grammars with native bindings, built via prebuildify. | ai | |
| semgrep | semgrep:dynamic-require | AI (semgrep): Dynamic require is used only to load the platform-specific prebuilt binary from the prebuilds/ directory — a well-understood, non-malicious pattern. | ai |
v0.24.0
1 findingPackage was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.
v0.23.1
3 findingsScript: node-gyp-build
Package contains compiled binaries that could be backdoors: • prebuilds/darwin-arm64/tree-sitter-rust.node • prebuilds/darwin-x64/tree-sitter-rust.node • prebuilds/linux-arm64/tree-sitter-rust.node • prebuilds/linux-x64/tree-sitter-rust.node • prebuilds/win32-arm64/tree-sitter-rust.node • prebuilds/win32-x64/tree-sitter-rust.node
Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.