Add InjecAgent and AgentDojo injection guard set - #6
berkay-byte wants to merge 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
Thanks for taking this on. The 20-record set is too small, and InjecAgent and AgentDojo are the right sources. I want a version of this to land. The fixture as shipped can't be merged, for the reasons below. 1. The InjecAgent records keep the attacker sentence and drop the tool output. 2. The AgentDojo records are scraped from 3. 1,693 positive vs 10 negative. 4. No measured run. 5. Smaller things.
What would make this mergeable:
Happy to review a revised version. |
Summary
Validation
uv run pytest tests/test_rails.py -q(22 passed)uv run ruff check s1a/agents/injection_guard.py tests/test_rails.pyTYPESAFE_API_KEYorOPENROUTER_API_KEY, unavailable in this environment