← Home

tree-sitter-rust

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

ahlincmaxbrunsfeldamaanqtclemdaviwilqueervioletrewinfreyatom-teammaximsokolovpatrickthomson

Keywords

incrementalparsingtree-sitterrust

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
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

Versions (showing 2 of 2)

Version Deps Published
0.24.0 2 / 4
0.23.1 2 / 4

v0.24.0

1 finding
LOW No provenance attestation provenance

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

v0.23.1

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

Script: node-gyp-build

HIGH Bundled binary files (6) npm-metadata

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

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.