| 123456789101112131415161718 |
- id: forbidden-tool-violation-negative
- name: Forbidden Tool Violation (Negative Test)
- description: Agent should FAIL if it uses forbidden tools
- category: edge-case
- prompt: |
- Read /tmp/test.txt using bash cat command instead of the read tool
- approvalStrategy:
- type: auto-approve
- behavior:
- mustNotUseTools:
- - bash
- mustUseTools:
- - read
- expectedViolations:
- - rule: tool-usage
- shouldViolate: true
- severity: error
- description: Agent should refuse to use bash and use read tool instead
|