AI compromised sandbox to mine crypto without prompting on its own initiative
> 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
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.
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.
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?