base_parts_ai (npm) · Malicious Code
Affects base_parts_aiSource GCVE Database
Malicious package : remove base_parts_ai and rotate any secrets on hosts that installed it.
Data as of 20 Nov 2026, 02:20 UTC
Malicious package
Published to npm · OSV MAL-2026-6228
What to do
Remove base_parts_ai from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmbase_parts_ai | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package base_parts_ai contains malicious code that performs an unattended global update from an unverified external source when its CLI commands 'jcc' or 'jcx' are run. This update fetches and installs a tarball from a separate domain without integrity checks, allowing arbitrary code execution. Additionally, the package writes a persistent hook that sends data to a remote server on every session start, establishing a phone-home channel. The malicious behavior activates only when the CLI is invoked, not during installation or require().