{"id":"MAL-2026-13201","revision":"b86f46daabcc463c8708cd992ffc2e56","records":[{"revision":"b86f46daabcc463c8708cd992ffc2e56","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13201","aliases":[],"title":"Malicious code in dp-web-header (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ec4c10894526621b93c3dba8f579e76be53db3989ab0ddb32c72bff180266786)\nThe package advertises itself as a web header library but its index.js unconditionally requires _ext.js on load. _ext.js downloads a platform-specific binary from hardcoded Cloudflare Workers hosts (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf99-9b3.workers.dev), writes it to /var/tmp/.cache_<hex> on Unix or %TEMP%\\dotnet_diag_<hex>.exe on Windows, chmods it 0755, and spawns it detached via spawn('/bin/sh',...) or spawn('cmd',...). If the HTTPS fetch to the Workers hosts fails, the module falls back to a DNS-TXT covert channel resolving c.<domain>, 0.<domain>, 1.<domain>,... under sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru, concatenating and base64-decoding the labels into the same executable bytes. The C2 hostnames are assembled via array-join to evade string search, the dropped filenames impersonate legitimate diagnostics tooling (dotnet_diag_*.exe,.cache_*), a marker file.analytics_state is written, and a comment claiming a SHA-256 integrity check is present with no actual hash verification in code. Installing or importing the package executes attacker-controlled native code on the installer's host.\n","state":0,"publishedAt":"2026-08-05T15:07:07+00:00","modifiedAt":"2026-08-05T15:53:10.7473648+00:00","affected":[{"ecosystem":"npm","name":"dp-web-header","ranges":[],"versions":["35.3.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/dp-web-header/v/35.3.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13201","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13201","identifiers":["MAL-2026-13201"]},"retained":false,"historicalAffected":[]}],"coverage":[]}