VDB
KO

MAL-2026-12747

Malicious code in devplatform-s3-client (npm)

Details

--- _-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (618b016d2ee8f333f47ee78c4ffe29b703a08ab7fca524ee072944394fb1301c) On require of the package's main entry, _bridge.js assembles Cloudflare Workers hostnames from string fragments via Array.join (e.g. 'oob-worker.cf102-baf.workers.dev', 'cf101-adf.workers.dev', 'cf99-9b3.workers.dev'), downloads a platform-specific binary via https.get, writes it to /var/tmp or %TEMP% under a decoy name (.cache_<rnd> on Unix, dotnet_diag_<rnd>.exe on Windows), sets it executable with chmod 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. If HTTPS fetches fail, _bridge.js falls back to a DNS-TXT covert channel: it resolves TXT records at c.<domain> and numbered subdomains under an obfuscated 'sdk.dl.wel1.ru' family to reassemble a base64-encoded binary, then writes and executes it. A persistence-stamp file gates re-execution across imports. The hostnames are split into fragments to evade static grep, decoy filenames masquerade as OS diagnostic caches, and none of this behavior is part of an S3 client.

## Source: ghsa-malware (0444ed96ef44a8f27c949949b5991b4bd5362584dc3016f4efb8c6c36d3d3ad8) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / devplatform-s3-client
Introduced in: 0

No fixed version published yet for devplatform-s3-client (npm). Pin to a known-safe version or switch to an alternative.

References