devplatform-s3-client
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-557v-9r2x-4vj7
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in devplatform-s3-client (npm)
---
_-= 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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0