npm / @babel/helper-validator-identifier / 8.0.6
@babel/helper-validator-identifier 8.0.6
- Source
- https://github.com/babel/babel
- Tag scanned
v8.0.6- Directory
packages/babel-helper-validator-identifier- Compared with
v8.0.5(6 signals introduced since)- Files
- 14 scanned, 1 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 13 info
- Scan time
- 3.8 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 2 of 2 warn and critical signals; 2 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-14 19:18
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
info
warn→ info by reviewdynamic-importpackages/babel-helper-validator-identifier/scripts/generate-identifier-regex.ts:23:9new in this releaseconst start = .; const cont =likely benign A build script dynamically imports the ID_Start Unicode ranges module from a Unicode data package to generate an identifier regex.Reasoning
This is an AST dynamic-import finding in a build-time script that generates identifier regexes. The specifier is a template literal built from unicodePackageName plus a fixed Unicode property path (ID_Start/ranges.mjs). That is a normal way to load a versioned Unicode data package in a generator script. Nothing in the snippet is attacker-controlled or fetched from the network, and the import is not used to run decoded content. The one doubt is that unicodePackageName's definition is not shown, but a package-name constant in a generator is the expected pattern.
-
info
warn→ info by reviewdynamic-importpackages/babel-helper-validator-identifier/scripts/generate-identifier-regex.ts:26:9new in this releaseconst cont = .;likely benign A build script dynamically imports the ID_Continue Unicode ranges module from a Unicode data package to generate an identifier regex.Reasoning
This is the companion dynamic import for the ID_Continue ranges in the same generator script. It has the same structure: a template literal over a package-name variable and a fixed Unicode data path. It is a legitimate module load for generating regex tables, not an obfuscated or dropper-style execution path. The same caveat applies: the variable's source is not shown, but nothing here suggests malicious intent.
-
info
long-linepackages/babel-helper-validator-identifier/src/identifier-regex-browser.ts:34:1new in this release -
info
long-linepackages/babel-helper-validator-identifier/src/identifier-regex-browser.ts:36:1new in this release -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:46:36new in this release// UTF16 encoding of U+107BB = D801 DFBB .; .; }); -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:47:36new in this release.; .; }); -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:23:57); it. -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:23:63); it. -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:30:37; -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:63:36// UTF16 encoding of U+10940 = D802 DD40 .; .; }); -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:64:37.; .; }); -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:80:36// UTF16 encoding of U+105c0 = D801 DDC0 .; .; }); -
info
unicode-surrogatepackages/babel-helper-validator-identifier/test/helpers/describe-is-identifier-name-tests.js:81:37.; .; });
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&