jiti 2.7.0
- Source
- https://github.com/unjs/jiti
- Tag scanned
v2.7.0- Compared with
v2.6.1(1 signals introduced since)- Files
- 153 scanned, 6 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 8 info
- Scan time
- 5.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 7 of 7 warn and critical signals; 7 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-14 19:44
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
const ;likely benign Wrapper function nativeImport that forwards an id to dynamic import in the jiti loader.Reasoning
A thin wrapper around import() used by a module loader to load user-requested modules. Expected behaviour for jiti; the AST pass flags any non-literal import as a generic dynamic-import signal.
-
-
} return await ; }likely benign Dynamic import of a resolved module path inside the jiti loader's native import fallback.Reasoning
This is jiti, a legitimate TypeScript/ESM loader; dynamically importing a resolved module path is its core purpose. The import is of a resolved file path inside a loader, not an obfuscated payload.
-
const ; let _transform;likely benign Wrapper around import() in the jiti CJS entry point.Reasoning
Same nativeImport wrapper pattern as the other jiti build; the indirection exists so bundlers do not rewrite import(). Legitimate loader design.
-
const ; let _transform;likely benign Wrapper around import() in the jiti ESM entry point.Reasoning
Identical nativeImport wrapper in the ESM entry of a known loader library; no obfuscation or malicious behaviour shown.
-
likely benign Test fixture calling require on a data URI to check loader behaviour.
Reasoning
This is a test fixture for data URI handling in a loader. The require of a variable is intentional to exercise the loader and the throw null is a test assertion path, not malicious.
-
} await ;likely benign Test fixture dynamically importing a data URI.Reasoning
Test fixture performing a dynamic import of a data URI to verify loader support. Expected in a test suite for a module loader.
-
likely benign Test that dynamically imports each fixture file in a relative fixtures path.
Reasoning
Test iterating over fixture names and importing them from a relative fixtures directory. Fixture names come from a fixed list in the test, so this is ordinary test code.
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.
&&