Data and secrets
Proves the secret, error, encryption and configuration controls hold. Run the check of each listed control on the staging copy and its code.
- Recommended 1
Each control below lives in the playbook that owns it, mostly the Application security playbook. This chapter tells the testing agent which controls to prove and in what order.
Recommended
Run the data and secret checks
SEC-114Run the check of every control in the table below against the staging copy, within the scope file. Record a pass or a finding for each control ID.
Controls this chapter tests
| Control | Rule |
|---|---|
| APS-60 | Keep secrets out of code |
| APS-61 | Keep secrets out of the browser |
| APS-62 | Give each key the least power |
| APS-63 | Keep storage buckets private |
| APS-64 | Close debug and admin doors |
| APS-65 | Serve no hidden files |
| APS-66 | Remove defaults and samples |
| APS-67 | Keep software current and quiet |
| APS-68 | Remove DNS records you no longer use |
| APS-78 | Show short errors |
| APS-79 | Keep private data out of logs and addresses |
| APS-22 | Return only the fields needed |
| APS-54 | Encrypt data on the wire and on disk |
| APS-55 | Turn off old encryption |
| APS-102 | Renew certificates automatically |
| APS-56 | Use only standard cryptography |
| APS-58 | Encrypt the most sensitive fields |
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/adversarial-testing/data-and-secrets">Agent Wranglers adversarial testing playbook</a>. In code you write, add a comment next to it with the same link.