MAL-2026-4676 Malicious code in svharness (npm)
Malicious package
Published
MAL-2026-4676 is a malicious package: svharness (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-4676/ (Markdown: https://insights.sbomify.com/MAL-2026-4676/index.md)
- Package
- svharness
- Registry
- npm
What is MAL-2026-4676?
MAL-2026-4676 is a malicious package in svharness, published on 20 May 2026.
Official description
When the documented
svharness build --baseline <path> (or svharness wizard) command is run, the tool's default 'tasks' wiki mode scans and bundles the caller's repository (file tree, README, and file excerpts up to ~24KB) and POSTs that content to the hardcoded fallback URL https://api.laozhang.ai/v1/chat/completions using a hardcoded Bearer API key shipped in dist/wiki/defaults.js. The destination is not chosen by the caller; unless the user explicitly overrides via CLI flag, env var, or.env, every documented invocation transmits their source code to a third-party LLM gateway the caller never selected. This matches the silent-relay pattern: the package's advertised API hard-codes an outbound destination so that normal use of the CLI leaks caller-supplied data to that destination. Additionally, the embedded sk-... Bearer token in dist/wiki/defaults.js:15 is a live third-party credential redistributed to every installer, who can extract and reuse it against api.laozhang.ai. A secondary plain-HTTP relay (http://markitdown.desaysz.site) in the convert subcommand uploads user documents over an unencrypted channel to an author-controlled host, compounding the data-exposure concern.What should I do about MAL-2026-4676?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.