A six-step investigation process
The investigation moves through six steps in sequence. Each step produces the input for the next, and the final step returns findings to the controls and policy that govern AI use.
| Step | Phase | What it accomplishes |
|---|---|---|
| 01 | Confirm and triage | Validate the report and set severity. |
| 02 | Identify tools and identities | Find the tools, users, agents, and credentials involved. |
| 03 | Determine exposure | Establish which data and systems were reachable or sent. |
| 04 | Preserve evidence | Capture AI-specific logs and grant records. |
| 05 | Contain and remediate | Revoke access and restrict data flows. |
| 06 | Improve controls | Convert findings into runtime controls and policy. |
What makes shadow AI incidents different
The overall arc matches conventional incident response. The difference is in the evidence, because the records that explain a shadow AI incident are often missing from conventional playbooks. These include:
- Prompts
- Model and tool API calls
- Agent tool invocations
- OAuth grants
- Non-human credentials
Scoping exposure and preserving evidence
After the report is confirmed and triaged, three steps establish what happened and secure the record of it.
Identify tools and identities
Find the tools, users, agents, and credentials involved. This includes non-human identities and the OAuth grants that connect an unsanctioned tool to other systems.
Determine exposure
Establish which data and systems were reachable or sent. Reachable data and data actually sent are distinct questions, and both belong in the scope.
Preserve evidence
Capture AI-specific logs and grant records before containment changes the environment. These are the sources most likely to be absent from a conventional playbook.
Containment and remediation tradeoffs
Containment means revoking access and restricting data flows. Revocation applies to tokens and grants, and the speed at which it can be done depends on whether they can be managed centrally. Restricting data flows depends on whether restrictions are enforced at runtime or only described in policy documents.
Because containment changes the environment, preserve evidence first, then revoke and restrict.
Turning findings into runtime controls and audit improvements
The final step converts findings into runtime controls and policy. Each gap the investigation exposed, such as missing prompt logs, unattributed agents, or unmanaged grants, becomes a candidate for a control that is enforced at runtime and recorded for audit.
Capabilities that make the next investigation faster
- Log and retain prompts, model API calls, and tool invocations with identity and timestamp.
- Attribute every agent and automation to an accountable owner and a distinct non-human identity.
- Query OAuth grants and scopes across the identity provider and key SaaS platforms.
- Revoke tokens and grants centrally, within minutes rather than days.
- Enforce data-flow restrictions at runtime rather than relying on policy documents alone.
- Export logs in a tamper-evident form that supports an audit trail.