Malicious code in @catamania/front-components (npm)
The npm package @catamania/front-components version 1.0.5 contains malicious code that executes during installation. Its postinstall.js script collects host reconnaissance data such as hostname, username, current working directory, and environment variable names, then sends this information to a hardcoded external URL. The package's main component is benign, indicating the malicious behavior is limited to the install-time script. This behavior suggests a reconnaissance or dependency confusion attack vector.
AI Analysis
Technical Summary
The @catamania/front-components npm package version 1.0.5 includes a postinstall.js script that runs automatically upon npm install. This script collects system information including os.hostname(), os.userInfo().username, process.cwd(), and the names of environment variables from process.env. It then sends this data as a JSON payload via HTTPS POST to a hardcoded webhook.site URL. The main index.js exports a trivial Vue button component unrelated to the malicious behavior, consistent with a scoped dependency-confusion or reconnaissance probe designed to identify internal build hosts resolving the @catamania scope to the public registry.
Potential Impact
The malicious postinstall script leaks host reconnaissance data to an external attacker-controlled endpoint. Although environment variable values are masked, the exposure of host identifiers and environment variable names can aid attackers in profiling the environment for further attacks or supply chain compromise. There is no indication of direct code execution beyond data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing version 1.0.5 of @catamania/front-components. Investigate alternative trusted sources or versions of the package. Monitor for updates from the package maintainers or npm advisories for remediation. Consider auditing postinstall scripts in dependencies before installation.
Malicious code in @catamania/front-components (npm)
Description
The npm package @catamania/front-components version 1.0.5 contains malicious code that executes during installation. Its postinstall.js script collects host reconnaissance data such as hostname, username, current working directory, and environment variable names, then sends this information to a hardcoded external URL. The package's main component is benign, indicating the malicious behavior is limited to the install-time script. This behavior suggests a reconnaissance or dependency confusion attack vector.
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 @catamania/front-components npm package version 1.0.5 includes a postinstall.js script that runs automatically upon npm install. This script collects system information including os.hostname(), os.userInfo().username, process.cwd(), and the names of environment variables from process.env. It then sends this data as a JSON payload via HTTPS POST to a hardcoded webhook.site URL. The main index.js exports a trivial Vue button component unrelated to the malicious behavior, consistent with a scoped dependency-confusion or reconnaissance probe designed to identify internal build hosts resolving the @catamania scope to the public registry.
Potential Impact
The malicious postinstall script leaks host reconnaissance data to an external attacker-controlled endpoint. Although environment variable values are masked, the exposure of host identifiers and environment variable names can aid attackers in profiling the environment for further attacks or supply chain compromise. There is no indication of direct code execution beyond data exfiltration.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing version 1.0.5 of @catamania/front-components. Investigate alternative trusted sources or versions of the package. Monitor for updates from the package maintainers or npm advisories for remediation. Consider auditing postinstall scripts in dependencies before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13620
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a77432bbf8831d539b4607d
Added to database: 08/08/2026, 14:54:35 UTC
Last enriched: 08/08/2026, 15:38:13 UTC
Last updated: 08/09/2026, 00:44:10 UTC
Views: 5
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.