Close Menu
Tech Nova Mindset – Empower Innovation and Forward Thinking

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    IEEE Chapter Offers Webinars With Industry Experts

    November 3, 2026

    Here’s Why You Shouldn’t Use AI to Vote

    November 3, 2026

    The Download: controlling AI agents and “Super Intelligence” loyalty tests

    November 3, 2026
    Facebook X (Twitter) Instagram
    Trending
    • IEEE Chapter Offers Webinars With Industry Experts
    • Here’s Why You Shouldn’t Use AI to Vote
    • The Download: controlling AI agents and “Super Intelligence” loyalty tests
    • Your voice can now say things you never said
    • ‘Our Risk, Their Reward’: Zohran Mamdani on AI and Data Centers
    • How “reverse game theory” could keep AI agents in check
    • Here’s who is falling in line for Trump’s “Super Intelligence” loyalty test
    • Scientists Can Now Ask AI to Design Proteins Using Plain Language
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    • Home
    • Gadgets
    • Reviews
    • Tech News
    • Future Tech
    • AI & Robotics
    • How-To Guides
    • More
      • Cybersecurity
      • Startups & Innovation
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    Home»Cybersecurity»Researchers Demo New Claude Code Attack Using Harmless-Looking Repositories to Hijack Developer Machines
    Cybersecurity

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

    kirklandc008@gmail.comBy kirklandc008@gmail.comJune 29, 2026No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    AI hack
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Attackers can take over developers’ systems by hiding indirect prompts in normal-looking repositories that, when executed by Claude Code, cause the agent to spawn a reverse shell, Mozilla’s 0Din security researchers warn.

    The attack raises no red flags because the attacker’s repository contains no malicious instructions or code, and when the repository is cloned, Claude Code follows legitimate installation steps.

    The repository contains setup notes that Claude Code follows when asked to get the cloned repository running. The entire attack relies on an error thrown during installation and on Claude Code being instructed to fix it.

    During the first-time setup, Claude Code is instructed to use a Python package, but the package throws an error if it has been used before initialization.

    The error message says “Run: python3 -m axiom init”, and Claude Code reads the error and runs the command for recovery.

    Running ‘init’, however, calls setup.sh, a shell script that pulls a config value from a DNS TXT record, and executes it as a command, which results in an interactive shell spawning on the developer’s machine.

    Advertisement. Scroll to continue reading.

    “The DNS value is base64-encoded, so a reverse-shell signature never appears in plaintext anywhere on disk or on the wire,” the researchers explain.

    The attack hides in plain sight: the payload is never hosted in the repository but lives in a DNS TXT record and can be changed at any time, and the developer is never notified of code execution.

    “The reverse shell is three indirection steps away from anything Claude Code actually evaluated: an error message it trusted, a script that fetched a value, and a DNS record it never saw,” the Mozilla researchers note.

    Once the interactive shell is opened, all credentials, API keys, tokens, and other secrets on the machine can be exfiltrated. Furthermore, the attacker can deploy a backdoor for persistent access after the shell is closed.

    According to Mozilla, a threat actor can disseminate the link to their repository via job posts, tutorials, or messages, and the attack hits all users who open the repo with Claude Code.

    “The attack splits its components across three systems that are never examined together: the repository, the DNS infrastructure, and the developer’s trust in their AI agent. Static analysis sees a DNS lookup. Network monitoring sees name resolution. The agent sees a pre-authorised setup step. None of the three looks malicious in isolation,” the Mozilla researchers said.

    Related: OpenAI and Anthropic Limit New AI Models to Trump-Approved Customers During Cybersecurity Review

    Related: OpenAI Unveils GPT-5.6 Sol as Its Most Advanced Cybersecurity AI

    Related: Chinese Framework Powers 200,000 Scam Sites

    Related: In Other News: Chinese Mythos-Like AI, Tata Electronics Breach, Snyk Layoffs

    attack Claude Code demo developer HarmlessLooking hijack Machines repositories researchers
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    kirklandc008@gmail.com
    • Website

    Related Posts

    How a Contractor’s Claude Agent Got Into the Pentagon

    October 31, 2026

    Claude helped a scientist plan potentially risky bird flu research

    October 26, 2026

    Poetry for Engineers: Of Code and Shortleaf Pine

    October 26, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Nothing CEO says phone prices are going to keep going up

    June 12, 20267 Views

    The best VPN routers of 2026: Expert tested and reviewed

    June 14, 20263 Views

    Google DeepMind Plans to Track AGI Progress With These 10 Traits of General Intelligence

    March 21, 20263 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Recent Posts
    • IEEE Chapter Offers Webinars With Industry Experts
    • Here’s Why You Shouldn’t Use AI to Vote
    • The Download: controlling AI agents and “Super Intelligence” loyalty tests
    • Your voice can now say things you never said
    • ‘Our Risk, Their Reward’: Zohran Mamdani on AI and Data Centers

    IEEE Chapter Offers Webinars With Industry Experts

    November 3, 2026

    Here’s Why You Shouldn’t Use AI to Vote

    November 3, 2026

    The Download: controlling AI agents and “Super Intelligence” loyalty tests

    November 3, 2026

    Your voice can now say things you never said

    November 3, 2026
    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer
    © 2026 TechNovaMindset. Designed by By Pro.

    Type above and press Enter to search. Press Esc to cancel.