@adminide-stack/yantra-help-browser
Affected
- Versions:
12.0.194
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-7wfq-2q8j-q4xj
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @adminide-stack/yantra-help-browser (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (278bca950afa49bf0a5e821666e2dd8a99f099cdf59d564a9ac9f96b87b665f6)
lib/index.js, the package main entry point, contains a custom permutation-cipher decoder (spin/peel, keyed by two numeric constant arrays NX/SX) that reconstructs an approximately 15 KB scrambled string literal into JavaScript source. The decoded source is then compiled via peel.constructor (which resolves to the Function constructor) and immediately invoked with global and require as arguments. This bootstrap runs whenever a consumer requires or imports the package. Handing require to a dynamically compiled, obfuscated payload grants it full Node capability (filesystem, network, child_process) on the installing/importing host. The package's declared purpose is a React help-browser feature; the companion module.js is clean, with the obfuscated loader appended to the main export, consistent with a smuggled payload grafted onto an otherwise legitimate module. The combination of a bespoke custom decoder, a hidden ~15 KB string literal, and runtime Function() compilation with require passed in is the canonical shape of an import-time dropper.
Source: ghsa-malware (5a0da0aa5320d070b240dec07b393270995c492fb5ed23c7dcf8ae077583a409)
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.
12.0.194None 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