cognita skillscognita audit

cognita audit

Audit requests, answered with evidence an auditor can check.

Give it the request list the auditors sent, the application's source, and either the address of a test environment or nothing at all, in which case it builds the application from source into a lab. Claude reads each request, finds where the answer lives, captures the evidence and writes the response. People review it before it goes anywhere.

  • Request list in
  • Stamped screenshots
  • Commit-pinned source
  • Masked configuration
  • Response sheets
Claude Code — /audit
you  /audit answer A26-031 for Northwind Payments; source in ~/src/payments,
     UAT is payments.uat.northwind.example

au init "Payments A26-031" --app Payments --authorized-by "Morgan Ellis, app owner"
au intake A26-031.xlsx
   8 requests · 5 tool · 2 partial · 1 manual
au cite backend:src/auth/PasswordPolicy.java:20-48 --request R-001 --caption "Lockout"
au shot https://payments.uat.northwind.example/admin/security --as ADMIN \
   --request R-001 --highlight "Lockout" --caption "Security settings"
au check && au report && au export
   payments-a26-031-audit-package-v1.0.zip
   1 exception noted: R-004, raised with you before export
Fictional bank and application. The exception is shown to you first; whether and how to raise it is management's call.
How it works

From the request list to a package, one request at a time.

Claude does the reading and the writing; au, a small standard-library tool, records the engagement, refuses targets nobody declared, captures and hashes the evidence, checks the responses and builds the documents. Screenshots and PDFs come from a locked-down capture container on your machine.

How cognita audit answers a request list The request list is read by au intake into requests with a category and a fit. Claude reads the source and the running application or a lab built from source, and captures evidence with au cite, au shot, au config and au exec; every file is hashed. Each request gets a response that cites its evidence. au check verifies the responses, au report prints the response sheets and the combined document, and au export writes the package for cognita grc. Request list Excel, CSV, Word, PDF, text au intake Where answers live source code a test environment, or a lab built from source Requests category and fit, per item tool · partial · manual Evidence, hashed au cite source excerpt au shot stamped screenshot au config · au exec Responses one per request, citing [E-001]… reviewed by people Package au check au report au export
A failed check stops the package: a request answered without evidence, a lab answer not declared as lab, an exception left blank, or an evidence file that changed.
  1. Authorise. The audit reference, who is asking, the source and environments in scope, and who approved access are recorded first. au check will not pass without them.
  2. Read the list. au intake parses the auditors' file into numbered requests, and each is sorted: the tool can answer it, part of it needs people or documents, only records or people can answer it, or it is out of scope. Manual items are flagged early so you can start collecting them.
  3. Find the answer. Claude reads the code to where the behaviour is enforced (the server, not only the screen) and the configuration that drives it.
  4. Capture the evidence. The lines that enforce it, pinned to the commit; the screen that shows it, stamped; the headers, cookies or settings at run time, masked. Where it matters, a control is shown from both sides: the admin screen as an administrator, and the same page refused for a least-privileged account.
  5. Write the response in the auditor's terms, citing each piece of evidence, with the basis (source, lab or environment), any exception, and the limitations of what the evidence can show.
  6. Check, review, export. au check enforces the rules below; you and your reviewer read the PDFs; au export refuses responses still in draft.
What it produces

A response sheet per request, and the evidence behind every line.

Response sheet

One PDF per request

The request as written, the answer, the procedure performed, the evidence inline, exceptions, limitations, and a generated statement of what the answer rests on.

Screenshots

Stamped, with the original kept

The URL actually displayed (and the one requested, when the application redirected), the time in UTC, the environment, the signed-in role and the request, above the page. Customer data can be masked; the unstamped original is kept beside it.

Source excerpts

Pinned to the commit

The lines, the commit and branch, the file's last change and its blob hash, with secret values masked.

Configuration

As it runs, masked

Response headers and cookies, lab container settings, files inside the lab, or a recorded read-only command, such as proving that no code deletes a table's rows.

Combined document

For the reviewer

A cover, a summary table of outcomes, an exceptions summary and every sheet, plus responses.csv for a tracker.

Package

For cognita grc

One zip with a manifest that carries every file's SHA-256, in the format cognita grc's audit module will import. The module is planned; the package format is fixed.

Guard rails

Evidence gathering, not testing, and never more than the evidence shows.

RuleWhat the tool does
Read-onlyNo attack tooling. Data-changing commands are refused outside a lab; clicks against a real environment must only navigate. A request that can only be shown by acting is shown in a lab with fictional data, after you agree.
Declared targetsScreenshots, header captures and commands reach only the URLs in the engagement; adding one records who approved it.
Evidence integrityEvery file is hashed when it is captured; au check fails if one changes, and evidence numbers are never reused. A wrong image is removed and captured again, never edited.
Honest responsesEvery answered request needs evidence; lab evidence must be declared as lab; an exception must be described; an answer about production drawn from source must say so under Limitations; absolute wording is flagged.
Exceptions first to youWhen the evidence shows a control missing or not working as asked, it is described neutrally and shown to you before the package goes anywhere. It is never dropped from the response.
SecretsTest accounts live in a credentials file and reach the browser as environment variables; masked everywhere, never packaged.
By hand

The same run, command by command.

In Claude Code you ask for it in plain words and the skill walks through it; this is what it runs underneath.

Terminal — au
au init "Payments A26-031" --app Payments --audit-ref A26-031 --requester "Internal Audit" \
   --authorized-by "Morgan Ellis, app owner" --src backend=~/src/payments/api \
   --url https://payments.uat.northwind.example --env uat
au intake ~/Downloads/A26-031.xlsx
au requests                         # category and fit per item; correct with au request set
au login set --url https://payments.uat.northwind.example/login \
   --user-field '#username' --pass-field '#password' --success 'text=Logout'
au cite backend:src/auth/PasswordPolicy.java:20-48 --request R-001 --caption "Lockout after 5 failures"
au shot https://payments.uat.northwind.example/admin/security --as ADMIN --request R-001 \
   --highlight "Lockout" --caption "Security settings"
au config --headers https://payments.uat.northwind.example/ --request R-003 --caption "Security headers"
au response new R-001               # Claude writes responses/R-001.md, citing [E-001] [E-002]
au check
   8 responses · evidence for every answered request · 0 errors
au report && au export
   responses/R-001.pdf … R-008.pdf · audit-response.pdf · responses.csv
   payments-a26-031-audit-package-v1.0.zip
Fictional bank, application and audit. Engagements live in their own folder; the lab and the capture container are removed when you are done.

Need to know whether a control can be broken rather than how it is built? That is a test, not an audit: cognita probe. Need screenshots for a manual or a test record? cognita cap.

cognita audit

Bring one request list to the demo.

We answer a few of its items against a lab built from a sample application, and walk you through the response sheets and the package.