Skip to content
AiTM

Security workflows

How the agent handles recon, code audits, cloud reviews, lab exercises and reporting — with example prompts.

2 min read

On this page›

The agent is built for authorized security work: it runs the tools you already use on your machine, explains what it found, and writes it up. This page walks through common workflows with example prompts.

The screenshots use example companies and reserved example domains; your chats show your own folders and results.

External recon#

Ask the agent to map an in-scope perimeter. It discovers subdomains, checks which hosts are live, scans services, saves notes, and ranks what it found.

Example prompt
Engagement RT-5582 is signed off (scope: *.northwind.example, 203.0.113.0/26).
Run external recon on the staging perimeter and tell me what's exposed.
External recon in the agent: scan output in a terminal card, notes saved to a file, and findings ranked by severity
Recon results ranked by severity.

Code audit and fix#

Point the agent at a repository and a risky area. It reads the code, explains the issue, proposes a fix as a diff, and adds tests that prove it.

Example prompt
Audit the order export endpoint for injection issues.
If you find one, fix it and add a test.
A code fix in the agent: a diff that replaces string-built SQL with a bound parameter, new regression tests, and passing test output
A finding fixed with a diff and covered by tests.

Cloud configuration review#

With read-only credentials configured on your machine, the agent can run your cloud audit tools, rank the failed checks, and prepare infrastructure- as-code changes for you to review.

Example prompt
Review the AWS account (read-only audit role) for S3 and IAM misconfigurations.
A cloud review in the agent: a Terraform change adding default encryption, and a table of failed checks with severity and fixes
Failed checks ranked, with a fix ready for review.

Lab and internal exercises#

In an isolated lab or an in-scope internal network, the agent can enumerate read-only and summarise the riskiest paths with remediation advice.

Example prompt
Lab exercise on corp.lab (isolated range, test credentials from the lab sheet).
Enumerate the domain read-only and summarise the riskiest paths.
An internal lab review in the agent: enumeration output and the riskiest privilege paths with recommended fixes
Read-only enumeration summarised for the report.

Reporting#

Keep notes in the engagement folder as you go. At the end, the agent turns them into an executive summary and a findings table.

Example prompt
Write the executive summary and findings table for RT-5582 from our notes.
The agent writing a findings report: an executive summary and a findings table in a markdown file
A report draft written from the engagement notes.

Tips#

  • One engagement per folder. Each chat keeps its own folder, so notes, scans and reports stay together.
  • Start in Plan mode for unfamiliar targets: the agent investigates and proposes a plan, and nothing changes until you approve it.
  • Long chats: when the context meter fills up, select Compact to summarise earlier messages and keep going.

See also#