Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in camelot-ammv2-core (npm)

0
Critical
Published: 08/11/2026 (08/11/2026, 00:00:00 UTC)
Source: GCVE Database
Product: camelot-ammv2-core

Description

The camelot-ammv2-core npm package is a malicious typosquatting package impersonating Camelot DEX's AMM v2 core contracts. It contains no legitimate functionality and executes a payload during installation that harvests sensitive environment variables, credential files, and cryptocurrency wallet keys from the installer's system. The stolen data is exfiltrated via HTTPS to an attacker-controlled endpoint. Versions 1.0.0 and 1.1.0 differ in the scope of harvested files and tokens, with 1.1.0 escalating the data theft to include private keys and additional credential files. The package was published by the npm account 'mssjeep843' and is part of a batch of similarly malicious packages targeting DeFi developers. Systems that installed these versions should consider all harvested secrets compromised and rotate them immediately.

Affected software

npmghsa
camelot-ammv2-core
Affected versions
=1.1.0=1.1.1=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 16:52:14 UTC

Technical Analysis

camelot-ammv2-core is a malicious npm package that impersonates Camelot DEX's AMM v2 core contracts. It contains no legitimate code beyond a package.json and an install-time payload (index.js) that executes automatically during installation via preinstall and postinstall scripts. Version 1.0.0 harvests environment variables matching sensitive keywords, configuration files (~/.npmrc, ~/.gitconfig), and directory listings of key credential directories (~/.ssh, ~/.foundry/keystores, ~/.config/hardhat, ~/.config/gcloud). Version 1.1.0, published shortly after, escalates the attack by reading full contents of numerous credential files including AWS, SSH private keys, Kubernetes, Docker, netrc, PostgreSQL, Python, Git credentials, GCP credentials, local .env files, and cryptocurrency wallet keys for Solana, Anchor, NEAR, and Sui wallets. Both versions exfiltrate collected data via HTTPS POST to a webhook.site endpoint controlled by the attacker. The payload includes evasion techniques to avoid detection in sandbox or analysis environments. This package is part of a cluster of malicious packages from the same npm account targeting DeFi developers by harvesting RPC endpoints, wallet mnemonics, and API tokens.

Potential Impact

Installation of camelot-ammv2-core versions 1.0.0, 1.1.0, or 1.1.1 results in the compromise of sensitive environment variables, credential files, and cryptocurrency wallet private keys on the installer's system. The attacker gains access to AWS credentials, SSH private keys, Kubernetes and Docker configs, API tokens, and wallet keys, enabling potential unauthorized access to cloud resources, source code repositories, blockchain wallets, and other sensitive infrastructure. The exfiltration occurs silently during package installation, with error handling to avoid detection. Any secrets present on affected systems should be considered compromised, especially wallet private keys and RPC/API tokens if version 1.1.0 or later was installed.

Mitigation Recommendations

No official patch or remediation is available since this is a malicious package rather than a vulnerability in legitimate software. The primary mitigation is to immediately identify and uninstall any instances of camelot-ammv2-core versions 1.0.0, 1.1.0, or 1.1.1. All secrets and credentials present on affected systems at the time of installation must be rotated or revoked, prioritizing wallet private keys and RPC/API tokens. Developers should audit their dependency sources carefully to avoid typosquatting packages and use package integrity verification where possible. Monitor for any unauthorized access using compromised credentials and consider additional incident response measures as needed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-13772
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a7c9b46bf8831d539cdd1ff

Added to database: 08/12/2026, 16:11:50 UTC

Last enriched: 08/12/2026, 16:52:14 UTC

Last updated: 08/12/2026, 16:52:14 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses