Attackers Have Agents Now. Switzerland Just Confirmed It.
All year, Europe has talked about the agents companies deploy. What can they access? Who is responsible? What does the AI Act expect? This week, the talk changed direction.
Switzerland’s National Cyber Security Centre said it received its first reports of cyberattacks carried out with the help of AI agents. Organizations and critical infrastructure operators in at least two sectors were hit. Italy’s national cybersecurity team issued a similar warning.
One detail stopped me. According to the Swiss agency, in every attack it knows of, the use of AI agents led to a successful compromise of the victim’s systems.
Agents are no longer just something your company deploys. They are something your company defends against.
What actually happened
The two agencies described the attacks in some detail. The picture is more mundane than “rogue AI”, which makes it more useful.
The attackers used openly available tools. The agencies named four AI-powered frameworks built for penetration testing and red-teaming, the kind security teams use to test their own defenses, that turned up in recent breaches. Switzerland’s NCSC says the number of AI agents freely available to cybercriminals has nearly doubled since October.
The agents did not need clever new exploits. In Switzerland, they got in through weak passwords and known vulnerabilities on systems exposed to the internet. They checked weaknesses and decided what to do next on their own. Italy’s CSIRT saw something bigger. In one case, a coordinator handed tasks to five agents, which covered everything from gathering information to exploitation and persistence. They used compromised credentials and exposed systems as a foothold into internal networks. In some cases, agents working in parallel compromised large numbers of systems within a few hours.
Let’s be fair about what we don’t know. Nobody knows yet who was behind the Swiss attacks. The government said there were no major disruptions. This is not about the lights going out. It is about how cheap and fast attacks just became.
What changes for a mid-sized company
Run a company of 100 people? You might think attackers have bigger targets. That used to be a decent bet. A skilled human attacker’s time was expensive, so they had to choose.
Agents change that math. An attack now costs almost nothing and can hit many systems in parallel. Being small no longer means being skipped.
Two things in the agencies’ reports matter most.
Speed. Attacks that used to take weeks of patient human work now unfold in hours. That is why the Swiss NCSC now recommends that anyone running internet-facing systems patch critical vulnerabilities within 24 hours of a fix being released. Many mid-sized companies patch in weeks. That is no longer safe.
Small flaws add up. Italy’s CSIRT noted that the agents linked even minor vulnerabilities into complex attack chains. They even wrote malicious code on the fly to slip past endpoint defenses. This matters because most companies triage findings by severity. A weak password on a test system. An old admin panel nobody uses. A low-rated vulnerability on a forgotten server. Each looks minor alone. An agent that can test thousands of combinations does not see them one at a time. It sees a path.
I think most companies will underestimate the second point. The backlog of “low priority” findings from your last security review just became more important.
Your own agents are part of the attack surface
There is a connection that is easy to miss. The attackers in Italy used compromised credentials as a foothold into internal networks. Now think about the agents your company runs, or plans to run. To be useful, each one holds standing access to your CRM, your inbox, your code, your documents. To an attacker, an agent’s credentials are among the most valuable things in your network. They are long-lived and broadly scoped. And the software that uses them is watched less closely than a person.
That does not mean you should not deploy agents. It means the way you set them up now matters for security, not just for governance:
- Scope each agent’s access to its job. If one agent’s credentials are stolen, the damage stops at what that agent could reach.
- Give each agent its own identity. Shared credentials make it impossible to tell which agent did something, or whether it was an agent at all.
- Keep keys away from the agent. An agent that never holds a raw API key can’t leak one.
- Watch what your agents do. Italy’s CSIRT recommends monitoring control-plane operations, authentication sources, and outbound traffic. That only works if every agent action is recorded somewhere you can look.
- Be able to cut access in one place, fast. When something looks wrong, revoking one agent should not take a ticket and a day.
The big platforms are moving the same way. This week, Google announced that from February 2027, AI agents connecting to Workspace must use dedicated identities and approved connection methods, with human approval for sensitive actions. When Google and two national cybersecurity agencies point the same way in the same week, pay attention.
What to do this week
The good news: none of the agencies’ advice is exotic. It is the security basics, done faster and more thoroughly than most companies are used to. Here is a practical list, combining the Swiss and Italian advice with what we have learned running agents:
- Shrink what’s exposed. List every system reachable from the internet, and take off anything that doesn’t need to be there. Disable remote management interfaces you don’t use.
- Patch critical flaws within 24 hours. Start with vulnerabilities known to be actively exploited on internet-facing systems. If your current process can’t hit 24 hours, find out what’s blocking it.
- Replace passwords with something stronger. Add multi-factor authentication or passkeys everywhere you can, starting with remote access and admin accounts. Weak passwords were the way in for several of the Swiss attacks.
- Revisit your “low priority” findings. Look at them as a set, not one by one, and ask what an attacker could chain together.
- Inventory your agents and their credentials. Which agents exist, what each one can reach, and whether any share a key. Rotate shared or long-lived keys.
- Make sure you’d notice. Check that sign-ins, admin actions, outbound traffic, and agent activity are all recorded somewhere someone actually looks.
- Rehearse the first 24 hours. If you fall under NIS2, you owe authorities a first warning within 24 hours of a significant incident. Agent-speed attacks make that window feel shorter than ever. Know who makes the call and what they’ll need to see.
Where we fit
We should be upfront: we are not a security company. Nothing we build will patch your servers. We build Agent Barn, a platform for running your own agents. The part of this list it covers is the agents themselves.
Agent Barn runs on your own infrastructure. Each agent gets its own credentials, scoped to the systems its job needs. Integrations go through platform connections, so the agent never holds raw API keys. Every conversation and tool call is recorded in a database you control. You can change or revoke an agent’s access in one place. It is also open source, so your security team can check how it all works.
The bottom line
Most writing about AI agents, ours included, has been about the agents companies choose to deploy. Switzerland’s announcement is a reminder that the other side gets agents too, and theirs don’t need anyone’s approval.
This is no cause for panic. It is no reason to slow down your own use of agents. It does mean the security basics now run on a shorter clock, small weaknesses matter more than they used to, and the agents you deploy should be set up so that if one is compromised, the damage stays small and you can see exactly what happened.
If you want your agents to be part of your defenses and not your exposure, tell us about one workflow worth automating.