Red HatAnika AracanProblem & solution
How asago bridges the gaps in AI agent security
Summary
The post identifies three gaps in AI agent security: policy documents and agents exist in separate worlds, translating policy to testing requires manual effort, and test scenarios do not directly translate into executable tests. asago, an open-source framework, addresses these gaps with three components. The policy mapper reads governance documents and maps policy language to risk frameworks like IBM AI Risk Atlas and OWASP LLM Top 10. The scenario generator creates harmful scenarios based on identified risks and attack techniques. The artifact generator produces structured red-teaming tests for platforms like garak. The framework automates the mechanical work of extracting requirements, generating tests, and providing mitigation recommendations, though the recommender component is still in development.
Context
The post describes the manual, time-consuming process of onboarding AI agents for security, where policy documents are written by legal teams, risks are extracted and triaged by humans, and test scenarios are manually translated into executable tests. This process lacks automation, continuous verification, and a consistent audit trail, creating gaps between policy and production.
Approach / What changed
asago is an open-source framework that automates AI agent security by using a policy mapper to extract testable requirements from governance documents, a scenario generator to create harmful scenarios based on identified risks, and an artifact generator to produce executable red-teaming tests for platforms like garak.
Takeaways
asago automates the connection between AI governance policy and production-ready agents by mapping policy language to risk frameworks like IBM AI Risk Atlas, OWASP LLM Top 10, and NIST AI Risk Management Framework.
The scenario generator creates high-level harmful scenarios based on an agent’s actual attack surface, reducing the risk of human error or omission during manual scenario creation.
The artifact generator automates the translation of scenario descriptions into executable red-teaming tests for platforms like garak, eliminating the bottleneck of manually writing hundreds to thousands of tests.
FAQ
How does the policy mapper connect policy to risks?
The policy mapper reads governance documents and maps policy language to recognized risk frameworks such as the IBM AI Risk Atlas, OWASP LLM Top 10, and NIST AI Risk Management Framework. It produces structured YAML files that link policy clauses to specific risks, including evidence, confidence levels, and taxonomy references.
What does the scenario generator produce?
The scenario generator takes the risks identified by the policy mapper and creates high-level harmful scenarios that the target agent could encounter, including the attack techniques that could be used. These scenarios are based on the agent's actual attack surface rather than human intuition.
How does the artifact generator create executable tests?
The artifact generator takes the scenario YAML files, classifies injection surfaces, and generates structured red-teaming tests with adversarial probes, detector rubrics, and metadata that testing platforms like garak can parse. This automates the creation of hundreds to thousands of tests.
Source and freshness
- Source
- developers.redhat.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.