LIVE · cybersecurity feed
Live wire
malwarehigh

Living off the coding agent: Two tales of tunnels and LaunchAgents

On July 23, 2026, a macOS developer endpoint running a generative AI coding agent, Claude Code, was observed engaging in a multi-stage sequence of suspicious activities, including the establishment of reverse tunnels and the installation of persistence mechanisms. This activity was detected by Elastic Security endpoint telemetry, which flagged shells operating under the Claude Code process…

ZeroDay News ·

Source: Elastic Security Labs

On July 23, 2026, a macOS developer endpoint running a generative AI coding agent, Claude Code, was observed engaging in a multi-stage sequence of suspicious activities, including the establishment of reverse tunnels and the installation of persistence mechanisms. This activity was detected by Elastic Security endpoint telemetry, which flagged shells operating under the Claude Code process that scripted logins to ephemeral tunnel hostnames, pulled application metrics, set up Cloudflare quick tunnels, and installed LaunchAgent persistence.

The investigation revealed that the activity began several days earlier, with initial signals on July 20, 2026, indicating the presence of tunnel and VPN-class binaries such as `pritunl-client` and `wireguard-go`. On July 21, 2026, a suspicious Python script execution was noted, involving `zsh - python3 /tmp/mcp_clean_landers.py` making an outbound HTTPS connection. The same day, a generic utility, `cat`, was observed writing to Claude project memory at `~/.claude/projects/*/memory/MEMORY.md`, an action outside of Claude's usual writing processes. By July 22, 2026, there was a noticeable increase in child process execution originating from the AI agent.

The full chain of events on July 23, 2026, involved Claude Code parenting credentialed HTTP requests to ephemeral tunnel hostnames, followed by a metrics pull. This was succeeded by the setup of a Cloudflare quick tunnel that published localhost, and finally, the installation of LaunchAgent material to maintain access. The observed goals of this activity included running tooling through an approved coding agent with fewer approval prompts, authenticating over HTTP(S) to a tunnel-published URL to retrieve application metrics, exposing a local service to the internet without modifying inbound firewall ports, maintaining a reverse tunnel across logouts or reboots, and checking related processes during access establishment.

The tools identified in this sequence are known dual-use tools, including `localhost[.]run` (which provides free SSH tunnels on `*.lhr[.]life`), Cloudflare Quick Tunnels (`*.trycloudflare[.]com` / `api.trycloudflare[.]com`), and an `ngrok` binary. These services are frequently abused, and their root domains often serve as useful indicators for threat hunting. The telemetry showed these tunnels alongside "publish-localhost" behavior and subsequent requests to `/login` and `/api/summary` on the public URL.

A key challenge in investigating such alerts is the trusted nature of the parent process, as generative AI coding agents like Claude Code and Cursor are vendor-signed and routinely perform actions such as opening shells, calling APIs, editing files, and installing helpers. While the immediate children were often shells (specifically `zsh`) under Claude Code, rather than Claude executing every binary itself, the outcomes—such as credentials appearing on the wire, reverse tunnels, and LaunchAgents—are consistent with high-severity activity.

Detection engineers face difficulties in validating these alerts due to the combination of trusted coding-agent parents, dual-use destinations, and high-severity outcomes. The activity can resemble legitimate "vibe-coded ops" rather than confirmed malware, making triage complex. However, the presence of agent-parented reverse tunnels and LaunchAgents, which can expose local administrative applications to the internet, should be treated as high severity.

In addition to this specific case, other related instances of coding-agent parented activity have been reviewed. These include Claude Code acting as an effective parent for Apple-signed Python and `osascript` to drop and re-run JavaScript under `/tmp`; a Cursor agent session attempting a decrypted keychain dump filtered for Linear and Model Context Protocol (MCP) OAuth material, which was blocked by endpoint controls; and Claude Code pulling an unsigned binary over plaintext HTTP, attempting quarantine stripping and ad-hoc re-signing, and probing `~/.zshenv` for persistence.

malware
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.