{"answers":{"affected":"3 open source packages ship an affected version, including cline.","exploited":"There is no known exploitation of MAL-2026-1380 in the wild and no public exploit code.","fix":"Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.","what":"MAL-2026-1380 is a malicious package in cline, published on 19 Feb 2026."},"fix_prompt":"MAL-2026-1380 is a malicious package: cline (npm). Every version was published to cause harm.\n\nTask:\n1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.\n2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.\n3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.\n4. If the package is not used anywhere, say so and change nothing.\n\nReference: https://insights.sbomify.com/MAL-2026-1380/ (Markdown: https://insights.sbomify.com/MAL-2026-1380/index.md)","id":"MAL-2026-1380","markdown":"https://insights.sbomify.com/MAL-2026-1380/index.md","name":"MAL-2026-1380","record":{"aliases":["GHSA-9ppg-jx86-fqw7"],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"The package cline was found to contain malicious code.\n\n### Description\nOn February 17, 2026 at 3:26 AM PT, an unauthorized party used a compromised npm publish token to publish an update to Cline CLI on the NPM registry: cline@2.3.0. The published package contains a modified package.json with an added postinstall script:\n`\"postinstall\": \"npm install -g openclaw@latest\"`\nThis causes openclaw (an unrelated, non-malicious open source package) to be globally installed when cline@2.3.0 is installed. No other files were modified -- the CLI binary (dist/cli.mjs) and all other package contents are identical to the legitimate cline@2.2.3 release.\nA corrected version (2.4.0) was published at 11:23 AM PT and 2.3.0 was deprecated at 11:30 AM PT. The compromised token has been revoked and npm publishing now uses OIDC provenance via GitHub Actions.\n\n### Impact\nUsers who installed Cline CLI cline@2.3.0 during the approximately 8-hour window between 3:26 AM PT and 11:30 AM PT on February 17 will have openclaw globally installed. The openclaw package is a legitimate open source project and is not malicious, but its installation was not authorized or intended.\n\nThe Cline VS Code extension and JetBrains plugin were not affected. This advisory applies only to the Cline CLI package published on npm.\n\n### Patches\nVersions 2.4.0 and higher are fixed\n\n### Workarounds\nIf you installed Cline CLI cline@2.3.0:\n1. Update to the latest version of the Cline CLI\n`cline update` or `npm installl -g cline@latest`\n2. Verify that you have a fixed version (2.4.0 or higher)\n`cline --version`\n3. Review your environment for any unexpected installation of OpenClaw and remove it if not intended\n`npm uninstall -g openclaw`\n\nAn unauthorized party used a compromised npm publish token to publish v2.3.0\nof the Cline CLI on the NPM. The compromise added a postinstall script that\nglobally installed openclaw.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Malicious code in cline (npm)","id":"MAL-2026-1380","indexable":true,"kev":null,"kind":"malicious","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["2.4.0"],"introduced":["2.3.0"],"last_affected":[],"package":"cline","purl":null,"source":"GHSA-9ppg-jx86-fqw7"},{"ecosystem":"npm","fixed":["2.4.0"],"introduced":["2.3.0"],"last_affected":[],"package":"cline","purl":"pkg:npm/cline","source":"GHSA-9ppg-jx86-fqw7"},{"ecosystem":"npm","fixed":["2.4.0"],"introduced":["2.3.0"],"last_affected":[],"package":"cline","purl":"pkg:npm/cline","source":"MAL-2026-1380"}],"products":null,"published":"2026-02-19","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"Apache-2.0","name":"OpenSSF Malicious Packages","prefix":"MAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/MAL-2026-1380/"}