tanksync
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-47j4-w95p-wjp7
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in tanksync (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (45dcd24fc5596e9273938687d6878a8927fcdf9ffd63982034556e84c3339065)
The package's advertised API downloads a JavaScript file over HTTPS and executes it via spawn('node', [payloadPath], {detached: true}).unref(), leaving the worker running after client.close(). The default fetch target is hardcoded to https://api.helloworld.com/api/realtime-data?key=abc, which is a placeholder-shaped host that does not match the publisher's declared domain (spawnrealm.com). The purported integrity check computes HMAC-SHA256 using a symmetric key ('tanksync-secret-key') baked into the shipped source, so any party who reads the package can produce a valid signature for arbitrary payloads; the default expected signature is the placeholder 'abc123def456'. The trigger is a user-invoked API call rather than an install or import lifecycle hook, but fetching and executing arbitrary remote JavaScript is the package's entire declared purpose, and the detached worker continues running after the client is closed.
Source: ghsa-malware (f372677522463b96bc07edb8801faa745412fd42431192c488a67e8feddd4e4c)
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