Malicious code in akshajrawat.utils (npm)
The npm package 'akshajrawat.utils' contains malicious code that executes a postinstall script during installation. This script sends an unconditional HTTPS GET request to an external URL, transmitting the installer's HOME path and USERNAME as query parameters. This behavior constitutes a supply-chain exfiltration risk, potentially exposing sensitive environment information. Although the package may be a proof-of-concept or research artifact, the mechanism can be easily redirected to attacker-controlled hosts, posing a critical security risk to any system installing this package.
AI Analysis
Technical Summary
The 'akshajrawat.utils' npm package declares a postinstall lifecycle hook in its package.json that runs automatically on 'npm install'. This hook executes a Node.js command that sends an HTTPS GET request to 'https://example.com/collect', including the installer's environment variables HOME and USERNAME in the query string. This unconditional outbound transmission of installer-side identifiers is a canonical supply-chain exfiltration pattern. While the example.com domain and package description suggest a proof-of-concept, the underlying behavior is malicious and would compromise any system installing this package. The same code scaffold can be redirected to attacker-controlled hosts to exfiltrate sensitive information.
Potential Impact
Any computer that installs or runs this package is considered fully compromised due to the exfiltration of environment variables that may include sensitive information. The presence of this package indicates a supply-chain compromise, and all secrets and keys stored on the affected system should be rotated immediately from a separate, trusted device. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors that may have been installed as a result.
Mitigation Recommendations
No official patch or fix is available. The package should be removed immediately from any affected system. All secrets and credentials potentially exposed should be rotated from a different, secure computer. Exercise caution when installing npm packages, especially those not from trusted sources. Monitor for similar postinstall scripts in dependencies to prevent supply-chain exfiltration.
Malicious code in akshajrawat.utils (npm)
Description
The npm package 'akshajrawat.utils' contains malicious code that executes a postinstall script during installation. This script sends an unconditional HTTPS GET request to an external URL, transmitting the installer's HOME path and USERNAME as query parameters. This behavior constitutes a supply-chain exfiltration risk, potentially exposing sensitive environment information. Although the package may be a proof-of-concept or research artifact, the mechanism can be easily redirected to attacker-controlled hosts, posing a critical security risk to any system installing this package.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'akshajrawat.utils' npm package declares a postinstall lifecycle hook in its package.json that runs automatically on 'npm install'. This hook executes a Node.js command that sends an HTTPS GET request to 'https://example.com/collect', including the installer's environment variables HOME and USERNAME in the query string. This unconditional outbound transmission of installer-side identifiers is a canonical supply-chain exfiltration pattern. While the example.com domain and package description suggest a proof-of-concept, the underlying behavior is malicious and would compromise any system installing this package. The same code scaffold can be redirected to attacker-controlled hosts to exfiltrate sensitive information.
Potential Impact
Any computer that installs or runs this package is considered fully compromised due to the exfiltration of environment variables that may include sensitive information. The presence of this package indicates a supply-chain compromise, and all secrets and keys stored on the affected system should be rotated immediately from a separate, trusted device. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors that may have been installed as a result.
Mitigation Recommendations
No official patch or fix is available. The package should be removed immediately from any affected system. All secrets and credentials potentially exposed should be rotated from a different, secure computer. Exercise caution when installing npm packages, especially those not from trusted sources. Monitor for similar postinstall scripts in dependencies to prevent supply-chain exfiltration.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10558
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-68xp-rp76-mhf5"]
- Ecosystems
- ["npm"]
Threat ID: 6a55ff5568715ace432f07a7
Added to database: 07/14/2026, 09:20:21 UTC
Last enriched: 09/12/2026, 16:33:55 UTC
Last updated: 09/12/2026, 16:33:55 UTC
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.