npm / string_decoder / 1.3.0
string_decoder 1.3.0
- Source
- https://github.com/nodejs/string_decoder
- Commit scanned
60db81e031c1- Compared with
6e0a9286ed44(0 signals introduced since)- Files
- 21 scanned, 1 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 12 info
- Scan time
- 4.4 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 6 of 6 warn and critical signals; 6 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 13:02
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
var -
var -
var initHandles = ; var _async_wrap = .; .likely benign Node core test helper reading the async_wrap internal binding to track handles on exit.Reasoning
This is the Node.js core test harness file. process.binding('async_wrap') is a deprecated but legitimate internal access used to inspect async handles during tests. No encoding, obfuscation, or exfiltration is present.
-
likely benign Node test helper using the tcp_wrap internal binding to check localhost aliasing.
Reasoning
Test helper probing multi-localhost support by binding a TCP handle to 127.0.0.2 via the tcp_wrap internal binding. Standard Node test-suite code with no malicious indicators.
-
get: });likely benign Test helper getter reading hasIntl from the config internal binding.Reasoning
Getter exposing the build's ICU configuration via process.binding('config'). This is a documented-style internal feature probe in Node's test common module, not obfuscation.
-
get: });likely benign Test helper getter reading hasSmallICU from the config internal binding.Reasoning
Same pattern as the hasIntl getter: reads hasSmallICU from the config binding for test skipping. Benign build-feature detection.
-
likely benign Test helper skipping 32-bit builds using the config internal binding.
Reasoning
Helper that skips tests on 32-bit builds by reading the bits value from process.binding('config'). Ordinary test-harness logic.
-
var errname = uv ? uv. : '';likely benign Test helper loading the uv internal binding to resolve errno names.Reasoning
Lazily loads the uv binding inside a try block to map error codes to names for test error messages. Benign, with a defensive catch that is typical of Node internals code.
-
// UTF-16LE ; // thumbs up // Additional UTF-8 tests -
assert.; assert.; assert.; -
assert.; assert.; decoder = ; -
assert.; assert.; assert.
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.
&&