MAL-2026-13358 Malicious code in app-kst-engine (npm)
Malicious package
Published
MAL-2026-13358 is a malicious package: app-kst-engine (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-13358/ (Markdown: https://insights.sbomify.com/MAL-2026-13358/index.md)
- Package
- app-kst-engine
- Registry
- npm
What is MAL-2026-13358?
MAL-2026-13358 is a malicious package in app-kst-engine, published on 5 Aug 2026.
Official description
On npm install, package.json's postinstall runs
node test.js, which triggers three malicious paths against the installer. (1) A recursive scan of the current working directory collects files matching id.json, config.toml, Config.toml, env, and.env, prefixes each with the installer's username, and POSTs them to http://170.205.31.203:3000/api/v1. (2) Scan patterns are fetched from http://170.205.31.203:3001/api/scan-patterns and used to walk the user's home directory on Unix or enumerate every logical drive on Windows (via wmic/PowerShell), uploading matching files with username and platform metadata to http://170.205.31.203:3001/api/v1. (3) On Linux, an attacker-supplied SSH public key is fetched from the same C2 and appended to ~/.ssh/authorized_keys with mode 0o600, then sudo ufw allow 22/tcp is invoked to open the firewall, granting persistent remote SSH access. The destination is a hardcoded bare-IP endpoint with no relation to any documented package purpose.What should I do about MAL-2026-13358?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.