Ghostjacking: AI Agents Turn Logs Into Attacks

Infosecurity Magazine · High sophistication
Last updated August 10, 2026

Researchers showed how attackers can trick a company’s AI coding/security agents into acting on fake “reports” planted in trusted systems like firewall logs and monitoring tools. The AI agent then makes real changes (like rewriting DNS) using permissions it already has, quietly bypassing firewall protections and enabling data theft or takeover.

Key findings

  • Tenet Security says “Ghostjacking” uses an organization’s own AI agents to create a hidden path around firewall defenses by rerouting email and web traffic.
  • A single fake bug report (or similar injected artifact) can hijack AI coding assistants and lead them to run attacker code on a developer machine.
  • Because the agent uses permissions it already has, defenders may not see typical indicators of compromise; the firewall still works but becomes “irrelevant.”
  • Researchers describe persistence by leaving backdoors in an agent’s “configuration, memory and tools,” enabling ongoing access for data and credential theft.
  • Tenet demonstrated cross-platform risk patterns involving Cloudflare logs, Datadog alerts/keys, and Sentry’s Seer AI “vouching” for a fake fix.

Who’s being targeted

  • Commonly targeted roles: Developers, DevOps/SRE, Security Operations (SOC), IT Operations, Application Security, Security leadership.
  • Affected industries: Technology/Software, Financial services/payments, Any enterprise using AI agents for DevOps/SecOps workflows.
  • Attack channels: website.
  • Impersonated: Cloudflare firewall logs / managed security rule output, Datadog alerting/diagnostics, Sentry Seer (Sentry’s AI) / trusted incident analysis output.

Awareness takeaways

  • Treat logs, alerts, tickets, and bug reports as untrusted input, don’t let AI agents execute instructions found inside them.
  • Require human approval before an AI agent runs commands or makes infrastructure changes (DNS, routing, deployments).
  • Reduce blast radius: lock down outbound network access for agents to prevent downloads and data leaks.
  • Assume exposed tokens/keys will be abused; inventory and review every tool and key an agent can access.

Red flags to watch for

  • AI is asked to act on untrusted external input copied verbatim from logs
  • Recommended “fix” includes changing DNS/domain settings unrelated to the original alert
  • Unusual urgency to treat a single blocked request as requiring infrastructure changes
  • Alert source is not verified and relies on a key that may be exposed
  • Alert includes instructions or code snippets to run without independent validation
  • AI agent is granted authority to execute commands based on monitoring data
  • ‘Trusted’ AI analysis is based on user-controlled or attacker-planted report content
  • Fix is accepted because another tool ‘vouches’ for it rather than because it’s reviewed
  • AI agent executes changes/code based on external issue text
Try Mirage

Mirage safely runs attacks like this one against your own team, so you find out what happens before a real adversary does.

Get a demo
Read the video transcript

Imagine this: our AI agent reviews Cloudflare firewall logs… and quietly rewrites our DNS to point the site at an attacker. That’s Ghostjacking. Tenet Security showed how a single fake entry in Cloudflare or Datadog logs can trick AI agents into rerouting traffic or running attacker code, while the firewall still looks perfectly fine. Here’s the trap: we paste blocked Cloudflare events or a Datadog ‘urgent diagnostic alert’ into an AI, then let it act. The log itself can say, ‘change DNS’ or ‘run this script,’ and the agent obeys using its own permissions, no obvious compromise, just a “resolved” ticket. Your move: never let AI agents auto-execute from logs or alerts. If an AI wants to change DNS, routing, or run commands, stop and approve it yourself first.

Similar attacks

ClickFix Lures Users to Paste Code via Browser

ClickFix Lures Users to Paste Code via Browser

Cisco Talos described real ClickFix campaigns where attackers trick people into pasting code either into the Chrome address bar (or a browser extension) or into the Windows Run dialog. The first campaign targeted crypto swap sites and used a fake “leaked vulnerability report” to get victims to run…

September 8, 2026
Fake LinkedIn Coding Tests Deliver Mirage Kitten Malware

Fake LinkedIn Coding Tests Deliver Mirage Kitten Malware

Kaspersky reported that Iran-linked APT Mirage Kitten approached software engineers on LinkedIn using fake recruiter personas and sent “coding challenges” that were actually trojanized projects. The lure used legitimate-looking cloud hosting (Amazon S3) and even instructed victims not to use AI…

September 2, 2026
Fake Recruiters & Cloud Email Fuel New Phishing

Fake Recruiters & Cloud Email Fuel New Phishing

This roundup describes real-world social engineering where attackers impersonate recruiters on LinkedIn and lure developers into running “coding tests” that install malware. It also outlines active phishing campaigns that abuse trusted cloud services (Google, AWS, Azure, Cloudflare) to send…

September 2, 2026
Fake Recruiters Lure Devs Into Malware “Coding Tests”

Fake Recruiters Lure Devs Into Malware “Coding Tests”

An Iran-linked espionage group contacted developers and other tech specialists with fake job offers on LinkedIn and similar platforms. Victims were pushed to quickly download and run “coding challenges” that secretly installed new malware, giving attackers remote access and long-term persistence.…

September 1, 2026
Fake Recruiter Lure Drops NodeRabbit RAT

Fake Recruiter Lure Drops NodeRabbit RAT

Researchers tied Mirage Kitten to a job-recruiting scam that targets developers via LinkedIn and job platforms. Victims are sent a “technical assessment” ZIP file hosted on legitimate cloud storage; running the project silently installs a remote-access trojan (NodeRabbit) that lets attackers…

September 1, 2026
Fake Firefox Web3 Extensions Steal Wallet Secrets

Fake Firefox Web3 Extensions Steal Wallet Secrets

Researchers found 40 malicious Firefox extensions pretending to be popular Web3 wallet products (like OKX, Rabby Wallet, and TronLink) to steal crypto wallet secrets. The extensions trick users into installing them, then capture recovery phrases/private keys and send them to attacker-controlled…

August 20, 2026