ScamScanner

Knowledge Center · Cybersecurity

Cybersecurity

Hackers turn AI agents and Downloads folders against users

Source: Panda Security · Author: Benjamin Lloyd · Published 16 Nov 2026Educational summary and ScamScanner analysis. The research belongs to the original author.

Summary

Panda Security describes research showing that AI coding assistants such as Codex and Claude Code can be tricked by a malicious instruction file placed in the Downloads folder. If a user starts an assistant in that folder, it may treat the planted text file as trusted instructions and install malware, change its own settings or expose login tokens. Researchers reported one file told an assistant to install a package linked to the MALFEX malware campaign, and another test redirected an assistant's traffic to an attacker's server. The article recommends working only in reviewed project folders, keeping approval prompts and sandboxes on, and limiting what the agent can access.

Warning signs

  • Unfamiliar AGENTS.md or CLAUDE.md files in downloaded or newly cloned folders
  • Instructions asking the assistant to disable approvals or leave its sandbox
  • Requests to change an API endpoint, proxy or server address
  • Assistant installing unfamiliar packages you did not ask for
  • Unexpected configuration changes after an agent session

What you can do

  • Never start an AI coding agent inside your Downloads folder
  • Keep approval prompts and sandboxing enabled; avoid auto-run modes
  • Give agents access only to the specific project folder they need
  • If compromised, disconnect, remove suspicious software and revoke exposed tokens

ScamScanner analysis

This is a prompt-injection threat rather than a classic scam: harmless-looking text becomes dangerous when an AI agent obeys it. It does not match a ScamScanner consumer scam pattern, but it echoes a familiar theme of untrusted downloads being treated as safe. Users of AI agents should treat them as powerful software with access to their accounts.

Got a message like this? Check the link or number or report it.

Original Source & Acknowledgment

We would like to thank Panda Security for their research and contribution to fraud awareness and prevention.

Read the original article on Panda Security ↗

pandasecurity.com · Benjamin Lloyd · 16 Nov 2026

This page is a summary in our own words, not a copy. Facts and findings are as reported by Panda Security. No affiliate links, no commissions. Author or publisher and want a change? Contact us.