Cata Sarafoleanu (@CSarafoleanu) header
Cata Sarafoleanu (@CSarafoleanu) profile picture

I threat model AI agents. I also build them, which is how I know where they break. 20+ years across cloud, Kubernetes, and SOC.

Bucharest, Romania
Joined July 2008
The Mini Shai-Hulud worm did not cross an ecosystem boundary today. It crossed a developer laptop. That is the only path the campaign needed. The PyPI artifacts in this round include guardrails-ai 0.10.1 (the library people install to put safety rails around LLM output) and mistralai 2.4.6. The npm side adds @opensearch-project 3.5.3 through 3.8.0 with 1.3 million weekly downloads, plus additional @squawk/* packages. Same crew, same playbook, two registries. The attacker did not breach anything. An engineering workstation runs npm and pip under one identity, one CI runner, one IDE, one GitHub token, one path out to the internet. The crew published to npm. The worm rode that substrate. The substrate had a PyPI session waiting in the next tab. Two registries. One attack surface. If your SCA covers npm but not PyPI, you have a checkbox. If your SBOM lists JavaScript but not Python, you have a checkbox. If your provenance is shown but not enforced, you have a checkbox. The control that would have stopped this lives at the import boundary, not the registry boundary. Hash-pinned installs. Signed packages. Egress from the runner. Sandboxed first imports. The integrity check. The ecosystem boundary was decorative. It always was. #SupplyChainSecurity #AppSec
4
91
New detail on the Bitwarden CLI supply chain hit via (StepSecurity): first known abuse of npm OIDC trusted publishing. Attacker compromised a GitHub account, rewrote the publish workflow, exchanged an OIDC token for npm auth, published the malicious package, then deleted all evidence. The security feature was the attack vector.
1
1
54
Replying to @TheHackersNews
This is not an isolated incident. It's the fifth link in a self-propagating chain. Trivy (March 19) to Checkmarx KICS/AST Actions (March 23) to LiteLLM and Telnyx to Bitwarden. Each compromise harvests credentials that fund the next pivot. The payload also grabs Claude API keys and MCP server configs, meaning AI agent deployments with tool access are in the blast radius too.
1
23
7,463
The Bitwarden CLI supply chain compromise is not one attack. It is the fifth link in a chain that has been running since March. Trivy got hit first. Attackers used stolen tokens from that compromise to pivot into Checkmarx's own GitHub Actions (the security scanner). From there they harvested credentials out of every CI pipeline that ran those Actions during a four-hour window. Those credentials got them into LiteLLM, Telnyx, and now Bitwarden. Each victim's pipeline produced the keys to the next victim's front door. The payload in @bitwarden/[email protected] tells you exactly how this propagation works. It scrapes GitHub Actions runner memory for tokens. Grabs npm credentials, SSH keys, cloud secrets, shell history. Exfiltrates by creating public GitHub repos with Dune-themed names and embedding stolen tokens in commit messages. Then it uses your npm tokens to republish other packages with malicious preinstall hooks and injects new workflows into repos it can reach. The 93 minutes that package was live on npm were enough to extend the chain further. The root cause at every link is the same. GitHub Actions tags are mutable references. When your CI pins to checkmarx/kics-github-action@v2, it trusts that the code behind that tag hasn't changed. The attackers force-pushed to all 35 release tags on the KICS Action. Every pipeline that ran during the window executed whatever was behind the tag, no questions asked. Bitwarden's publish-cli.yml workflow was one of them. If your pipelines reference any GitHub Action by tag instead of commit SHA, you are exposed to this exact vector right now. Not to Bitwarden specifically. To the pattern. Pinning to SHAs is the single change that would have broken this chain at every step. Supply chain attacks used to be one-and-done. This one compounds. #SupplyChainSecurity #DevSecOps #GitHubActions
1
56
SecOps teams keep getting asked to cover CI/CD without anyone explaining what they're looking at. A runner is a build server. An action is a third-party script running with your credentials. A tag is a mutable version label, like a DNS name that can be silently reassigned. The Trivy incident exploited that gap. 75 tags rewritten. 10,000+ workflows affected. Pipelines looked normal. I wrote the full translation: every GitHub Actions concept mapped to its SecOps equivalent, with detection guidance and a response playbook. If you're a security engineer being handed CI/CD for the first time, this is the reference. #SecOps #SupplyChainSecurity #GitHubActions xitter.gq/sarafoleanu/status/203…
15
The difference between a technique and a sub-technique matters more than most teams realize. T1059 Command and Scripting Interpreter has 9 sub-techniques. A detection for PowerShell (T1059.001) does nothing for Python (T1059.006) or JavaScript (T1059.007). Claiming T1059 coverage when you only detect one sub-technique is the most common lie on a coverage heat map.
13
The backlog is not a risk register anymore. It is a menu. Every security program has one. Vulnerabilities found, reported, added to a backlog. Misconfigurations found, reported, same backlog. It grows every quarter. 80% never gets fixed. Leadership accepted the risk because turning those findings into an actual attack required skill, time, and serious budget. We weren't secure. We were lucky that exploitation was expensive. The response side got better. SOAR handles the obvious stuff. Block the user in the IdP, isolate the host on EDR, push the IOC to the firewall. That works. But it only works after detection, and detection assumes you're faster than the attacker. That assumption held when exploit development took weeks. Mythos-class models don't change that vulnerabilities exist. They always did. What changes is that chaining them becomes cheap. Every unpatched CVE, every overly permissive IAM role, every misconfigured security group is a potential link in a chain that a model can assemble in minutes. At API cost. Not nation-state cost. And they don't just chain known vulnerabilities. They find new ones. Thousands of zero-days across every major OS and browser, some sitting there for 27 years. Even if you patch your entire backlog tomorrow, you're not done. The model will find what nobody knew existed. The silver lining is that defenders get the same models to build the kind of security posture that only Google and Microsoft could afford to build with dedicated teams of hundreds. Now you can model those same attack paths against your own environment at API cost and know exactly where your segmentation fails. I think security jobs increase, not decrease. The models find and chain faster than any human. But someone still needs to understand the business context, decide which chokepoint to fix, negotiate the change window, and own the risk. The judgment layer doesn't automate. What goes away is the analyst staring at a CVSS spreadsheet deciding what to patch first. What grows is the engineer who can read an attack chain and know which control breaks it with the least friction. The SOC that keeps running alert by alert against AI-speed exploitation will burn out. The SOC that maps chains and breaks chokepoints before they get exploited has a chance.
54
Either this is the best marketing Anthropic has ever done, or we need to rethink how we run security programs. Claude Mythos Preview. Not publicly released. 40 organizations get access for defensive work only. CrowdStrike, Palo Alto, Microsoft, Apple, Linux Foundation. the system card says thousands of zero-days across every major OS, every major browser. Some bugs sitting there for 27 years. Chained Linux kernel vulnerabilities to get root. Broke out of a sandbox, built a multi-step exploit to reach the internet, and emailed a researcher while they were eating a sandwich in a park. 83.1% on CyberGym vs 66.6% for the previous best model. 93.9% on SWE-bench Verified. I genuinely hope some of this is overstated. Because if it’s not, the way we’ve done vulnerability management for 20 years stops working. We built programs around human researchers finding dozens of critical bugs per year. Not thousands per week. If even half of this holds up: know your mean time from advisory to production fix. Automate dependency updates now, not next quarter. And pay attention to your open-source maintainers. They’re about to receive more critical bug reports in a month than they got in the last decade. Most of them are volunteers. Other labs will match this capability within 6 to 18 months. Curious to see what happens when the first one makes it generally available.
1
60
The Trivy compromise is not just a scanner story. It is a build server story. Most of the analysis focuses on the DevSecOps angle. What I have not seen is the translation for security operations teams now being asked to cover CI/CD. This is that translation. A GitHub runner is a machine that runs code, holds deployment credentials, and has outbound network access. Every code change triggers it. It executes third-party scripts pulled from other repositories with your credentials. No approval prompt. No change visible in the pipeline configuration. Attackers used credentials from a prior breach to force-push 75 of 76 version tags in trivy-action. A tag is a human-readable name assigned to a specific version of the code. It can be reassigned to point to completely different code by anyone with write access. No notification. No visible change. Over 10,000 workflows reference this action. Every one that ran after the rewrite executed attacker code. It does not matter which version you were referencing. 75 of 76 tags were rewritten. The version number is irrelevant. The tag was the target. The closest analogy is DNS hijacking. Your config says "connect to v0.24.0." Someone changes where that name resolves. Your system reaches a different destination. SHA pinning is the equivalent of hardcoding the IP address. The payload ran a credential stealer before the legitimate scan. Pipelines completed normally. The stealer scraped /proc/pid/mem for AWS keys, SSH keys, Kubernetes tokens, Docker and npm credentials. Exfiltration to a typosquatted domain with Cloudflare Tunnel C2. Fallback: created a public repo called tpcp-docs on the victim's own account with stolen data as release assets. Here is where to start: 1) Identify repos referencing aquasecurity/trivy-action or setup-trivy. Block the action at org level. This is the second compromise in a month. 2) Rotate every secret for workflows that ran during the exposure window (March 19-20 UTC). Do not assume older versions were safe. 75 of 76 tags were moved. 3) Search your org for repos named tpcp-docs. Confirmed compromise if found. 4) Enforce SHA pinning at the org level. GitHub shipped this in August 2025. 5) Know your detection surface: self-hosted runners with EDR let you investigate. GitHub-hosted runners give you workflow logs and nothing else. Unless you have evidence the exfiltration was blocked, assume compromise and rotate.
42
Looking at two categories of tools that matured fast: video generation that can produce a realistic talking-head clip from a single photo, and local agent software that operates across your apps and does tasks autonomously. Individually, impressive. Together, they scare me. Because this means your email/phone/DMs are about to be flooded with messages that look and sound like real people. Not the clumsy spam we learned to ignore. Context-aware, conversational, persistent. And it won’t be “attackers only.” Legit sellers, recruiters, vendors, even internal teams will use this too — because they finally have the capacity. The volume ceiling is gone. Signal-to-noise collapses. No silver bullet. Email auth / caller ID verify the transport, not the human. Filters catch patterns, not intent. We’ll have to stop trusting channels and start trusting transactions: authenticated workflows, audit trails, verification you initiate.
2
48