← Home

@rightcapital/php-parser

TypeScript types for PHP Parser JSON representation

2
Versions
MIT
License
Yes
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures No source commit

Maintainers

rainxrighthao.zhengrightcapital-npm-publisher

Keywords

PHPPHP ParserASTTypeScriptLexer

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
install-scripts install-script:preinstall AI (install-scripts): npx only-allow pnpm is a standard package manager enforcement pattern; stable for this package. ai
install-scripts install-script:postinstall AI (install-scripts): Optional composer install is expected for a PHP-parser types package; no-ops if composer is absent. ai

Versions (showing 2 of 2)

Version Deps Published
1.5.4 5 / 15
1.4.27 5 / 14

v1.5.4

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

Script: npx only-allow pnpm

HIGH Package has 'postinstall' script install-scripts

Script: command -v composer >/dev/null 2>&1 && composer install || echo 'Composer not found, skipping.'

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v1.4.27

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

Script: npx only-allow pnpm

HIGH Package has 'postinstall' script install-scripts

Script: command -v composer >/dev/null 2>&1 && composer install || echo 'Composer not found, skipping.'

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.