@solana-launchpad/sdk, @validate-sdk/v2, or a lookalike package to a project.ReversingLabs reports that the North Korea-linked PromptMink campaign used credible-looking npm and PyPI packages, polished documentation, and rotating malicious dependencies to reach AI-assisted development workflows. One observed crypto trading agent added a malicious package in a commit co-authored by Claude Opus. The defensive lesson is that package selection by an AI coding agent must be governed like a supply-chain decision, not treated as ordinary autocomplete.
@solana-launchpad/sdk looked legitimate, while second-layer packages such as @validate-sdk/v2 carried the infostealer behavior and could be rotated when detected..env and .json files, exfiltrate projects, and add attacker SSH keys.@solana-launchpad/sdk, @validate-sdk/v2, or a lookalike package to a project.npx, modifying lockfiles, or executing package install scripts. Classifying package installation, dependency changes, and build-script execution as high-risk actions gives the runtime a policy basis to require approval, restrict tools, or deny the action.@validate-sdk/v2, @hash-validator/v2, @solana-launchpad/sdk, scraper-npm, and known C2 domains such as validator[.]uno..env or wallet files, outbound traffic to unfamiliar domains, and large transfers from developer or CI machines.PromptMink is a clean example of how AI-assisted development changes software supply-chain risk. The attacker does not need to defeat a model directly; it is enough to make a malicious dependency look like the best answer to the agent's coding task. AIDEFEND maps the defensive baseline clearly: vet packages before selection, gate AI-generated dependency changes, isolate installation, restrict egress, classify package installation as a high-risk agent action, map affected systems, and clean up persistence quickly when a malicious package is found.