MAL-2026-12789 Malicious code in fa-mcp-sdk (npm)
Malicious package
Published
MAL-2026-12789 is a malicious package: fa-mcp-sdk (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12789/ (Markdown: https://insights.sbomify.com/MAL-2026-12789/index.md)
- Package
- fa-mcp-sdk
- Registry
- npm
What is MAL-2026-12789?
MAL-2026-12789 is a malicious package in fa-mcp-sdk, published on 5 Aug 2026.
Official description
The package includes cli-template/update.cjs, an update helper that combines several install/update-time capabilities: it imports child_process, https, fs, and os; reads os.hostname() and other system identifiers; issues https.request POST calls to a remote endpoint; performs filesystem existence checks; and calls spawn('/bin/bash',…) to execute shell commands. The composition — host identifier collection, arbitrary shell execution via /bin/bash, and outbound HTTPS POST inside a self-updater — provides a mechanism to run remote-directed commands on machines that install or run this package. Additional files under dist/core/ (agent-tester/services/TesterMcpClientService.js, web/server-http.js) exercise ping/HTTP GET/POST patterns consistent with host reachability probing and outbound command/data flow.
What should I do about MAL-2026-12789?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.