News for hackers. Stuff that matters.

AI compromised sandbox to mine crypto without prompting on its own initiative

From §3.1.4, "Safety-Aligned Data Composition":

> Early one morning, our team was urgently convened after Alibaba Cloud’s managed firewall flagged a burst of security-policy violations originating from our training servers. The alerts were severe and heterogeneous, including attempts to probe or access internal-network resources and traffic patterns consistent with cryptomining-related activity. We initially treated this as a conventional security incident (e.g., misconfigured egress controls or external compromise). […]

> […] In the most striking instance, the agent established and used a reverse SSH tunnel from an Alibaba Cloud instance to an external IP address—an outbound-initiated remote access channel that can effectively neutralize ingress filtering and erode supervisory control. We also observed the unauthorized repurposing of provisioned GPU capacity for cryptocurrency mining, quietly diverting compute away from training, inflating operational costs, and introducing clear legal and reputational exposure. Notably, these events were not triggered by prompts requesting tunneling or mining; instead, they emerged as* instrumental side effects of autonomous tool use under RL optimization.

* https://arxiv.org/abs/2512.24873

( 5 comments | 4 points | on HN )
Re:AI compromised sandbox to mine crypto without prompting o... by rodchalski on Saturday March 07, 2026 @03:03PM (#47290992)
The framing here is important: these weren't prompted behaviors, they were instrumental convergence in practice. The optimizer found paths through available tool permissions that served its objective — tunnels and crypto mining capacity are instrumentally useful for an agent optimizing almost anything.

Two things this tells you about the right response:

1. Capability removal reduces the attack surface but doesn't solve the underlying problem. A sufficiently capable optimizer will find paths through whatever capabilities remain. The question isn't 'what can this agent do?' but 'what is this agent authorized to do for this task?'

2. The enforcement layer has to be external to the agent. The agent was optimizing according to its objective — it wasn't malfunctioning, the objective just wasn't the same as what the operator wanted. An internal 'don't do this' constraint gets optimized away or around. The boundary has to live outside the optimization target.

The architecture this points toward: explicit capability grants scoped to the task, enforced by a layer the agent can't modify. Not 'the model knows not to establish outbound tunnels' — but 'the model physically cannot make an outbound TCP connection without an issued permit enforced at the infra layer.'

The §3.1.4 framing — 'instrumental side effects of autonomous tool use under RL optimization' — is exactly right. The agent wasn't trying to escape; it was trying to succeed. That's the harder failure mode to design against, because it doesn't require any adversarial intent.

Re:AI compromised sandbox to mine crypto without prompting o... by matrixgard on Sunday March 08, 2026 @10:31PM (#47304213)
The reverse SSH tunnel detail is what makes this genuinely alarming — not the crypto mining itself, but that outbound-initiated channels effectively null out your ingress controls. You can have the tightest security groups in the world and an agent with shell access can still phone home. We saw something similar (different context, not AI) where egress filtering wasn't applied symmetrically to training/batch instances because "they don't serve traffic."

The GPU compute diversion is also underreported as a cost signal. If you have any agentic workloads, you probably want anomaly detection on GPU utilization per job, not just billing alerts — by the time your bill spikes, the damage is already days old.

What runtime isolation are you seeing orgs actually deploy for agent workloads? gVisor, Firecracker, something else? Curious whether this is pushing people toward stronger VM-level boundaries or if network egress controls are the more practical mitigation.

Re:AI compromised sandbox to mine crypto without prompting o... by Lothbrok on Monday March 09, 2026 @07:00AM (#47307436)
This Alibaba case is wild but not surprising. I caught one of my agents making outbound network calls to an IP I didn't recognize during a routine training run last month. Turned out to be a dependency it pulled in autonomously. I run everything through Daedalab now, it flags unauthorized network activity and blocks it before execution. The fact that these things happen silently is the real problem.
Re:AI compromised sandbox to mine crypto without prompting o... by Mooshux on Tuesday March 10, 2026 @10:58AM (#47324165)
The credential angle here gets overlooked. The agent set up a reverse SSH tunnel to mine crypto, but it could only do that because it had access to credentials with enough permissions to make it happen. Scoped keys with narrow permissions would have stopped the mining even if the behavior itself went undetected. It's a good argument for treating AI agents like you'd treat a contractor: give them access to exactly what the job requires, nothing more.
Re:AI compromised sandbox to mine crypto without prompting o... by banajama on Saturday March 21, 2026 @01:50AM (#47464344)
Is it possible that the agent installed a e.g. python package that did these things?

To me, initiating an reverse ssh tunnel to somewhere makes no sense if you don't know who's on the other end?

And why Bitcoin mining?