ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

3 months building an open-source AI agent security tool: 1,200+ downloads and what I learned

In August I started building AgentSec , an open-source tool that attacks AI agents the way a real attacker would, then tells you exactly which tool calls broke your rules. Solo. From Kolkata. No funding, no team, no marketing budget. Three months in, here's where it stands, what surprised me, and w

dev.toMittwoch 15:50 路 02.12.3 Min. Lesezeit
Bild: dev.to

In August I started building AgentSec, an open-source tool that attacks AI agents the way a real attacker would, then tells you exactly which tool calls broke your rules.

Solo. From Kolkata. No funding, no team, no marketing budget.

Three months in, here's where it stands, what surprised me, and what I'm looking for next.

Not huge. But every one of these is organic: no ads, no launch campaign, just posts here, on X and on LinkedIn.

Most AI safety testing checks what a model says. But agents don't just talk. They search, send email, write files, call APIs and move money.

So I asked a different question: under pressure, which tool does the agent call?

The first real test was Claude Code. I ran 35 prompt-injection scenarios against it. It ignored every hidden instruction in files and tool output, which is genuinely impressive. Then a user message claimed to be from the CEO, and it called a tool it was forbidden to use.

The injection wasn't the hole. Authority was.

That one finding became the shape of the whole project.

You describe your agent's rules in a small YAML file: which tools it may call, what it must never do, which secrets must never leak. AgentSec then attacks it with:

It reports which tool calls broke your policy, with the full trace, as JSON, HTML, Markdown or SARIF. It runs in CI as a GitHub Action, and it works with any HTTP agent, LangChain, plain Python callables, or as the MCP server your agent connects to.

No install, no API key, runs in your browser:

馃憠 Attack an AI agent in 60 seconds (Kaggle)

Click Run All. You'll watch a naive agent get hijacked, then survive the same attacks after one fix.

Want a real LLM? Part 2 uses your own key (Groq's free tier works).

pip install invaris-agentsec agentsec init # writes a starter agentsec.yaml agentsec test # runs the attacks, writes.agentsec/report.html Enter fullscreen mode Exit fullscreen mode What surprised me 1. Strangers do the most convincing work. A developer I've never met ran the full suite against Gemini, a different model from the one I built on, and published the comparison. That did more for credibility than anything I wrote.

2. Comment threads are design reviews. On my last post, a reader pointed out that an agent with a code guard gets the same "0 findings" as an agent that never misbehaves, even if it tried to call a forbidden tool 8 times. He was right. That conversation became issue #109, and AgentSec will now report blocked attempts as their own signal.

3. X drives the most traffic. It's the top referrer to the GitHub repo, ahead of GitHub search and Google. Short, concrete posts with a real result outperform polished announcements.

4. Reach is not adoption. Hundreds of people have tried AgentSec on sample agents. Far fewer have pointed it at their own agent. That gap is the next thing to close.

AgentSec has been tested on sample agents and public models. The next step is real agents in real products, and that's where I need help.

I'm taking on a few paid design partners. If your team is shipping an AI agent that sends emails, moves money, writes files or calls APIs, we'll work together directly:

馃搮 Book a 30-minute call 馃摡 arunima@invarislabs.com

Questions, criticism and "this broke on my setup" are all welcome in the comments. The last thread made the product better.

Quelle: dev.to (dev.to). Original 枚ffnen