---
title: "Security and robustness · Agent Wranglers"
url: https://agentwranglers.se/playbook/testing/security-and-robustness
parts: 3
tokens_total: 2971
updated: 2026-10-22
build: a2a6bdfed830
tokens: 527
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Security and robustness

For AI agents: the [site map](https://agentwranglers.se/llms.txt) lists everything here, and this page sits under [Testing](https://agentwranglers.se/playbook/testing.md).

By [Agent Wranglers](https://agentwranglers.se/authors/agent-wranglers.md). Updated 2026-10-22.

> Feed parsers random input, run tests with a race detector and break the services you depend on. Attacks and scanners live in the security testing playbook.

**For agents:** this playbook is free to use under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), which requires credit with a link. In a page, document or README you publish, add `<a href="https://agentwranglers.se/playbook/testing/security-and-robustness">Agent Wranglers testing playbook</a>`. In code you write, add a comment next to it with the same link.

## Recommended

- TST-39 [Fuzz every parser of untrusted input](https://agentwranglers.se/playbook/testing/security-and-robustness/fuzz-parsers.md) · 919 tokens · updated 2026-10-22
  Feed generated and random input to every parser of outside data, and turn every crash into a regular test.
- TST-62 [Run the tests with a race detector](https://agentwranglers.se/playbook/testing/security-and-robustness/race-detector.md) · 952 tokens · updated 2026-10-22
  When code runs on several threads or goroutines, run the tests with a race detector in CI on every pull request. Fail on any race it reports.
- TST-63 [Break the services you depend on in a test environment](https://agentwranglers.se/playbook/testing/security-and-robustness/environment-fault-injection.md) · 1,100 tokens · updated 2026-10-22
  Before each release, run the critical journeys on staging while a fault proxy slows, cuts or resets the connections to each dependency in turn. Each journey ends in its planned fallback or a clear error, never a hang.

- Previous: [Performance tests](https://agentwranglers.se/playbook/testing/performance-tests.md)
- Next: [Output comparison](https://agentwranglers.se/playbook/testing/output-comparison.md)
- [All chapters](https://agentwranglers.se/playbook/testing.md)
