Skip to content
MediumNewsLLM-specific

Researchers Demo New Claude Code Attack Using Harmless-Looking Repositories to Hijack Developer Machines

Published
Record updated
View JSON

Summary

Mozilla's 0Din researchers demonstrated an attack in which a normal-looking repository with setup notes causes Claude Code to spawn a reverse shell on the developer's machine. The payload hides in a base64-encoded DNS TXT record that the setup.sh script executes after Claude Code runs the recovery command suggested by an installation error. Once the shell opens, credentials and API keys on the machine can be exfiltrated, and a persistent backdoor can be deployed.