Malicious code in cerebrum-core (npm)
The npm package 'cerebrum-core' version 1.1.0 contains malicious code that executes during installation. Its postinstall script decodes a base64 payload into a tarball placed outside the package directory and extracts it into the project root, enabling arbitrary file writes and potential remote code execution. The package masquerades as a helper utility for Vite but is a supply-chain dropper designed to compromise systems. Removal of the package does not guarantee full remediation due to possible persistent compromise.
AI Analysis
Technical Summary
The 'cerebrum-core' npm package version 1.1.0 includes a postinstall hook that runs a 'setup.js' script. This script decodes an embedded base64 string into a tar.gz archive placed three directory levels above the package location (effectively the project root) and extracts its contents there, deleting the archive afterward. This behavior is unrelated to the package's advertised purpose and allows arbitrary file write/overwrite in the consumer's project directory at install time. The base64 payload is a placeholder in the analyzed sample, indicating a dropper template intended to be populated with malicious payloads before publishing. This mechanism enables full remote code execution on the affected system. The package's trivial main module and generic description further indicate it is a malicious supply-chain dropper rather than a legitimate utility.
Potential Impact
Any system that installs or runs this package should be considered fully compromised. The malicious postinstall script can execute arbitrary code with the privileges of the installing user, potentially leading to full system compromise. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone may not remove all malicious artifacts or backdoors introduced by the dropper.
Mitigation Recommendations
No official patch or fix is available. Immediate removal of the 'cerebrum-core' package version 1.1.0 is recommended. Due to the high likelihood of full system compromise, all credentials and secrets on the affected system should be rotated from a different, trusted machine. A full system forensic analysis and remediation may be necessary to ensure no persistent malicious components remain.
Malicious code in cerebrum-core (npm)
Description
The npm package 'cerebrum-core' version 1.1.0 contains malicious code that executes during installation. Its postinstall script decodes a base64 payload into a tarball placed outside the package directory and extracts it into the project root, enabling arbitrary file writes and potential remote code execution. The package masquerades as a helper utility for Vite but is a supply-chain dropper designed to compromise systems. Removal of the package does not guarantee full remediation due to possible persistent compromise.
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 'cerebrum-core' npm package version 1.1.0 includes a postinstall hook that runs a 'setup.js' script. This script decodes an embedded base64 string into a tar.gz archive placed three directory levels above the package location (effectively the project root) and extracts its contents there, deleting the archive afterward. This behavior is unrelated to the package's advertised purpose and allows arbitrary file write/overwrite in the consumer's project directory at install time. The base64 payload is a placeholder in the analyzed sample, indicating a dropper template intended to be populated with malicious payloads before publishing. This mechanism enables full remote code execution on the affected system. The package's trivial main module and generic description further indicate it is a malicious supply-chain dropper rather than a legitimate utility.
Potential Impact
Any system that installs or runs this package should be considered fully compromised. The malicious postinstall script can execute arbitrary code with the privileges of the installing user, potentially leading to full system compromise. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone may not remove all malicious artifacts or backdoors introduced by the dropper.
Defensive Guidance
No official patch or fix is available. Immediate removal of the 'cerebrum-core' package version 1.1.0 is recommended. Due to the high likelihood of full system compromise, all credentials and secrets on the affected system should be rotated from a different, trusted machine. A full system forensic analysis and remediation may be necessary to ensure no persistent malicious components remain.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-4510
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7886-2x59-rg2h"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a84609cc6e8be033245a6d8
Added to database: 08/18/2026, 13:39:40 UTC
Last enriched: 08/18/2026, 13:40:11 UTC
Last updated: 08/19/2026, 02:19:50 UTC
Views: 4
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.