pegjs
Parser generator for JavaScript
7
Versions
MIT
License
No
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, so a manually published version cannot be tied back to a reviewed commit.
Maintainers
dmajda
Keywords
parser generatorPEG
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| source-diff | obfuscated-file:lib/parser.js | AI (source-diff): lib/parser.js is PEG.js's self-hosted generated parser; long lines are inherent to generated parser output, not obfuscation. | ai | |
| source-diff | net-exec-file:lib/compiler/passes/generate-javascript.js | AI (source-diff): False positive: this is PEG.js's parser code generator — it constructs JS source strings for parsers, no network calls present. | ai | |
| source-diff | net-exec-file:lib/compiler/passes/generate-js.js | AI (source-diff): Core code generation pass of a parser generator; String.fromCharCode for bytecode encoding, not malicious network/exec activity. | ai | |
| semgrep | semgrep:eval-usage | AI (semgrep): eval() is PEG.js's documented mechanism to compile grammars into runnable parsers at runtime; fundamental to the library's design. | ai | |
| provenance | no-provenance | AI (provenance): Package predates Sigstore provenance; long-established publisher with consistent history. | ai |