MAL-2026-18205 Malicious code in @tekmidian/pai (npm)
- Package
- @tekmidian/pai
- Registry
- npm
What is MAL-2026-18205?
MAL-2026-18205 is a malicious package in @tekmidian/pai, published on 23 Oct 2026.
Official description
The package ships a bundled Node CLI under dist/ composed of multiple minified.mjs chunks (cli, cli2, hooks/worker-*, routing, project-setup, local-tiers, models-add, session-scan, hang-probe, config). Keyword co-occurrence rules match on tokens such as PATH, ping, curl, GET, POST, Buffer.from(..., 'base64').toString(...), and example-domain strings (curl https://example.com, curl http://localhost, curl http://x) inside the bundles and in src/hooks/ts/lib/rules/builtin.generated.ts, which is a rules file enumerating example commands as inert data. The matches are spread across unrelated chunks and lines, consistent with a developer-agent/CLI codebase that references shell commands as sample inputs, rule patterns, and process-launching utilities rather than a hardcoded exfiltration path. No install or import lifecycle script is declared that would auto-run these paths, no attacker-controlled destination domain or IP is bound to a network sink, no read of installer-secret paths (~/.aws, ~/.ssh, ~/.npmrc, browser or wallet stores) is tied to an outbound request, and the base64 decode sites are not wired to eval/exec of the decoded bytes. The observed signals are pattern co-occurrence in a minified bundle without a concrete installer-harm flow.
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.
What should I do about MAL-2026-18205?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-xvgg-qjjh-gq34.