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.2 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 2 of 2 warn and critical signals; 2 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 13:30
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 Build script dynamically imports Unicode ID_Start range data from a named npm package.Reasoning
The dynamic import specifier is a template built from a package name variable, loading Unicode property range data from a build-time generator script under scripts/. This is a common pattern for code generation (e.g., generating identifier regexes from the unicode package). It is not obfuscation, and the import targets a fixed package subpath, not attacker-controlled input or a remote URL. Benign unless unicodePackageName is externally controlled, which the snippet does not suggest.
-
info
warn→ info by reviewdynamic-importpackages/babel-helper-validator-identifier/scripts/generate-identifier-regex.ts:26:9new in this releaseconst cont = .;likely benign Build script dynamically imports Unicode ID_Continue range data from a named npm package.Reasoning
Same pattern as the sibling finding: a dynamic import of the ID_Continue ranges module from the unicode package inside a regex generator script. The specifier is a fixed package path with a variable package name, consistent with legitimate code generation. No execution of decoded payloads or remote fetches is shown.
-
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.
&&