npm package report

Is @mcp-use/cli safe?

Versions 2.2.6 and 2.2.7 of @mcp-use/cli were compromised. Other versions are not flagged as malicious.

Do not install @mcp-use/cli 2.2.6 or 2.2.7

CRITICAL

Compromised releases. Added to CyberXYZ 2025-11-24, OSV malicious-package feed (Google / OpenSSF).

// what we observed

The package @mcp-use/cli was found to contain malicious code. This package was compromised by the Sha1-Hulud: The Second Coming NPM worm. The malicious payload steals tokens and credentials and publishes them to GitHub. The worm will propogate itself to NPM packages the user owns and establish persistence is a GitHub action. The package may also destroy the user's home directory.

Reported by Amazon Inspector and Google Open Source Security via OSV.

// versions and what to do
Malicious
2.2.6, 2.2.7
Move to
2.21.4 newest 2.x release, no known advisory
4.5.5 current release, no known advisory

If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.

npm install @mcp-use/cli@2.21.4

OSV recordreferencereferencereference

// reach

0 direct dependencies

none carry a known advisory

    1 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.



    Checked 2026-10-31 at 00:03 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.