Why autonomous attacks need autonomous detection, and where it's safe to automate the response
Moeez Khan · moeezkhan.com
Views my own, not my employer's. No confidential information.
JadePuffer · Sysdig Threat Research, July 2026
31
seconds
From a failed login to a working way in
The agent's admin login to a configuration server failed. It worked out why, deleted and rebuilt the admin account, and got in.
"First run end to end by an agent" is Sysdig's assessment. A human set up the infrastructure. Every bug it used was already public.
The chain, as Sysdig documented it
Old bugs, new tempo
01 inAn internet-facing Langflow server, through CVE-2025-3248 (fixed in 1.3.0, on CISA's KEV list)
02 keysHarvested cloud and AI-provider credentials
03 reachA 2021 authentication bypass into a production Nacos config server
04 adaptAdmin login fails; the account is rebuilt; it's in. 31 seconds
05 impact1,342 configuration records encrypted for ransom
For defenders
Every step left a trace a machine could read. The question is whether anything was allowed to act on it in time.
Part 1 · why the window collapsed
Two loops, two speeds
Part 1 · the arithmetic
31s
one adapt-and-retry turn, from JadePuffer
15 min
an example wait before a person opens the alert. Use your own number.
29
tries the attacker gets before anyone looks. 900 ÷ 31.
alert fires15 minutes: a person opens it
Not a benchmark. Division. Put your own time-to-acknowledge in the middle.
Part 1 · the wrong lever
Alerting faster just fills the queue faster
What most programs did
More detections, faster pipelines, more alerts. The queue in front of the person stays the same width.
The real bottleneck
Not detection. The decision. A signal nobody is allowed to act on is just a log line with good timing.
Part 1 · the reframe
Detection has to become a decision a machine is trusted to act on
Part 2 · the signals that are fast enough
Rank signals by how fast you can trust them
Tier 1 · first line
seconds · one stream · cheap
can trigger small actions
narrow, specific, few false positives
Tier 2 · confirm
minutes · joins and baselines
behavioral baselines per identity
cross-system correlation
escalates or cancels tier 1
Tier 3 · learn
hours to days
hunting and forensics
writes the next tier 1 rule
Part 2 · the tiered signal list, tier 1
Five signals that fire in seconds
credential replaya key used from a new place, minutes after a process read it
failure, then mutationa failed login, then an account created, deleted or promoted
impossible sequenceread secrets → new destination → privileged write, in seconds
first-time egressa server calling an API it has never called, like an AI provider
write burstconfig or file writes far above that identity's normal rate
Part 2 · the agent's own tempo
The attacker's speed is itself a signal
# people don't work like this
gaps = diff(timestamps(actions_by(identity, last="60s")))
if len(gaps) >= 20and median(gaps) < 2.0:
ifany_privileged(actions_by(identity, last="60s")):
signal("machine tempo on a privileged identity", identity)
Careful
Tempo alone means automation, not malice. Your own scripts are fast too. Tempo plus a privileged action on an identity that's usually a person: that's the signal.
Part 2 · JadePuffer, replayed against tier 1
Every step had a fast signal
01 incode execution on Langflow
firesweb process spawns a shell
02 keyscredentials harvested
firessecrets read, then first-time egress
03 reachauth bypass on Nacos
firescredential replay from a new place
04 adaptadmin rebuilt in 31s
firesfailure, then mutation
05 impact1,342 records encrypted
fireswrite burst
A walkthrough of where signals sit, not a claim about this victim's logs.
Part 3 · the automation decision framework
Response is a ladder, not a switch
Rung 0Watch. Snapshot, raise logging, tag the identity.machine, always
Rung 1Slow it down. Step-up auth, rate-limit one identity, block one new destination.machine; undoes itself
Rung 2Cut one thing off. Revoke one token, disable one account, quarantine one container.machine; human reviews in minutes
Rung 3The big switches. Isolate a segment, rotate every credential, shut down a service.human approves first
Part 3 · which rung can run alone
Three questions before a machine acts alone
01Does it undo itself? A timer, not a ticket.
02Is it one thing? One identity, one host, one system.
03Did a tier 1 signal fire? Specific, not a fuzzy score.
The rule
Three yeses: automate it. Any no: a lower rung, or a person. Automate where being wrong costs less than being late.
Part 3 · what makes it defensible afterward
Fast in the moment, defensible after
reversibleevery action carries a timer that undoes it
scopedone identity, host or system per action
budgeteda cap per hour, so a misfire can't cascade
auditedwhich signal, which action, which rung, how to undo
And one kill switch
One flag that turns every automated rung back into "recommend only". Test it like a fire drill.
Sources: Sysdig Threat Research Team, JadePuffer reports (Jul 1 and Jul 20, 2026); SecurityWeek, "Agentic AI Used to Conduct Ransomware Attack via Langflow"; CyberScoop, Jul 2026; NVD, CVE-2025-3248.