npm / convert-source-map / 2.0.0
convert-source-map 2.0.0
- Source
- https://github.com/thlorenz/convert-source-map
- Tag scanned
v2.0.0- Compared with
v1.9.0(0 signals introduced since)- Files
- 7 scanned, 5 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 6 info
- Scan time
- 5.9 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 5 of 5 warn and critical signals; 5 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 13:45
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
var json = convert . .;likely benign Markdown example showing convert-source-map parsing an inline base64 sourcemap comment.Reasoning
The blob is the standard inline source-map data URL that convert-source-map's fromComment() parses. Its base64 decodes to a plain sourcemap JSON (version 3, file build/foo.min.js, sources src/foo.js, mappings AAAA). This is documentation of a legitimate API, and the raw-pass base64 signal has a high false-positive rate here.
-
var modified = convert . . .;likely benign Second README example of convert-source-map with the same inline base64 sourcemap, modifying the sources property.Reasoning
Same benign inline sourcemap data URL as the other README example, decoding to ordinary sourcemap metadata. The following setProperty call only rewrites the sources field in a documentation example.
-
var json = convert . .;likely benign Example script parsing an inline base64 sourcemap comment with convert-source-map.Reasoning
The example file uses the same standard base64 inline sourcemap comment, which decodes to benign sourcemap JSON. It is a normal use of the library's fromComment API, not a payload or hidden code.
-
var modified = convert . . .;likely benign Example script modifying a parsed inline sourcemap's sources field.Reasoning
Repeats the benign inline sourcemap pattern with a setProperty call that overrides sources. No execution or network behavior is involved.
-
likely benign Helper that base64-decodes a string to UTF-8 text using atob, escape, and decodeURIComponent.
Reasoning
The function is the common UTF-8-safe base64 decode idiom, decodeURIComponent(escape(atob(base64))). It only decodes a string into text and does not eval it, fetch anything, or spawn processes. The ast rule over-fires on atob alone, and nothing in the snippet shows the decoded value being executed.
-
var json = this.; return ; }
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.
&&