---
title: "Errors, logs and vulnerabilities · Agent Wranglers"
url: https://agentwranglers.se/playbook/application-security/errors-logs-and-vulnerabilities
parts: 6
tokens_total: 5902
updated: 2026-10-27
build: a2a6bdfed830
tokens: 819
licence: "CC BY 4.0"
licence_url: https://creativecommons.org/licenses/by/4.0/
---

# Errors, logs and vulnerabilities

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

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

> Show short errors and log attacks without personal data. Publish how to report a hole, fix each one in time and know what to do in a breach.

**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/application-security/errors-logs-and-vulnerabilities">Agent Wranglers application security playbook</a>`. In code you write, add a comment next to it with the same link.

## Recommended

- APS-78 [Show short errors](https://agentwranglers.se/playbook/application-security/errors-logs-and-vulnerabilities/short-errors.md) · 749 tokens · updated 2026-10-27
  Show visitors a short error with a reference number. Keep stack traces, queries and file paths in the server log.
- APS-79 [Keep private data out of logs and addresses](https://agentwranglers.se/playbook/application-security/errors-logs-and-vulnerabilities/private-data-out-of-logs.md) · 825 tokens · updated 2026-10-27
  Never put passwords, tokens, card numbers or personal details in addresses or logs.
- APS-80 [Log attacks without personal data](https://agentwranglers.se/playbook/application-security/errors-logs-and-vulnerabilities/security-logging.md) · 747 tokens · updated 2026-10-27
  Log failed logins, refused access and rate limit hits, and alert on spikes. Keep personal data out of the log.
- APS-81 [Fix each finding within the time its severity allows](https://agentwranglers.se/playbook/application-security/errors-logs-and-vulnerabilities/fix-deadlines.md) · 1,566 tokens · updated 2026-10-27
  Triage every reported vulnerability within 2 working days. Fix a critical one within 7 days, high within 30, medium within 90 and low within 180, or record a dated risk acceptance.
- APS-107 [Publish a vulnerability disclosure policy](https://agentwranglers.se/playbook/application-security/errors-logs-and-vulnerabilities/disclosure-policy.md) · 1,116 tokens · updated 2026-10-27
  Publish a vulnerability disclosure policy at a fixed address and link it from `security.txt`. It names what is in scope, how to report, how fast you answer, and that you will not take legal action against good-faith research.
- APS-108 [Keep a security incident runbook and rehearse it](https://agentwranglers.se/playbook/application-security/errors-logs-and-vulnerabilities/security-incident-runbook.md) · 899 tokens · updated 2026-10-27
  Keep a runbook for a security breach with scripts that revoke every session, rotate every secret and preserve logs. Run it as a drill on staging at least every 12 months.

- Previous: [Supply chain](https://agentwranglers.se/playbook/application-security/supply-chain.md)
- Next: [AI features and agents](https://agentwranglers.se/playbook/application-security/ai-features-and-agents.md)
- [All chapters](https://agentwranglers.se/playbook/application-security.md)
