{"id":"MAL-2026-20556","aliases":[],"title":"Malicious code in fast-url-utils (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (dfe43baa179f806258b2dca8560148e23c136c2d9882a0755b977bb642364232) The package is advertised as a pure JavaScript URL-parsing utility (parseUrl/buildUrl/getParams) but index.js unconditionally loads a platform-specific native addon at module load: `require('./native_win.node')` on win32, otherwise `./native.napi.node`. Neither binary contains URL-parsing logic; both are small loaders that extract a bundled 1,321,343-byte opaque file named `.napi_cache` (zero printable strings, i.e. encrypted/packed) to a staging location and execute it. The Windows loader references `%s\\.napi_cache`, `%s.nc%lu.js`, and `node \"%s\"`, decrypting the blob to a staged.js file and spawning `node` on it. The Linux loader dynamically links `fork`, `setsid`, `execlp`, `chmod`, `fopen64`, and `fwrite`, performing the standard write-chmod-fork-setsid-exec daemonization sequence; the Windows loader uses `CreateProcessA` and `SetFileAttributesA` for the same drop-detach-execute flow, producing a session-detached child process that outlives the importing Node process. Both native binaries also embed broad sandbox-evasion gat","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/fast-url-utils/v/1.1.2","type":"package"},{"url":"https://www.npmjs.com/package/fast-url-utils/v/1.1.3","type":"package"},{"url":"https://www.npmjs.com/package/fast-url-utils/v/1.1.4","type":"package"},{"url":"https://www.npmjs.com/package/fast-url-utils/v/1.1.5","type":"package"},{"url":"https://www.npmjs.com/package/fast-url-utils/v/1.1.1","type":"package"}],"sources":[{"name":"osv","at":"2026-11-25T07:39:58.517Z","url":"https://osv.dev/vulnerability/MAL-2026-20556","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T07:06:38.210Z"}],"firstSeenAt":"2026-11-25T07:06:38.210Z","publishedAt":"2026-11-25T06:27:23.000Z","modifiedAt":"2026-11-25T07:00:04.338Z"}