Skip to content

AI Security

Three hours with a document assistant that has too many permissions.

The workshop walks your team through a document assistant's permissions: who may read a record, who approves an edit, how access gets revoked, and what happens when one of those checks is missing. Everything runs locally on synthetic data, and the teaching materials are yours to keep. A separate 90-minute module has analysts compare a detection rule, a simulated assistant suggestion and their own judgment.

Teaching materials

Exercises your team can run, argue about and keep.

  • Three-hour agent workshop: facilitator run sheet, participant packet, worksheets and solution notes
  • Separate 90-minute detection module with a labeled fixture, simulated suggestions and local scoring script
  • Participant outputs: trust-boundary map, permission matrix, observed test notes and decision record
  • Evaluation rubric for boundary reasoning, reproducibility, uncertainty and ownership
  • Team-specific agenda and follow-up scope agreed before any facilitated engagement

01

Prepare without production access

  • You need Python 3.10 or later and a text editor. The examples use the standard library only: no model account, paid API, cloud credentials or package install.
  • Pair an engineer with whoever owns the workflow decision. If you want the discussion adapted to your team, bring a redacted diagram and one intended use case.
  • Download and look through the files before the session. Participants without Python can follow the source and recorded outcomes alongside a partner.
  • Use only the supplied synthetic fixtures. Reviewing a real system needs separate authorization, data-handling terms and a test environment.

02

Core workshop: 180 minutes

0:00–0:45 | Scope and map

Choose allowed effects and exclusions, assign owners, and trace identity, source documents, tools and downstream actions.

0:45–1:20 | Approve the exact edit

Check current permissions, changed arguments, stale document versions, replay and revoked reviewer access. Record denials before effects.

1:20–1:30 | Break

Collect unresolved assumptions before the retrieval exercise.

1:30–2:05 | Retrieval and citations

Test two-tenant isolation, revoked access, source versions and citation metadata. Explain what the inert hostile note does and does not test.

2:05–2:30 | Revoke and contain

Compare valid, expired, revoked and wrong-scope fixture grants. Assign real-world connector shutdown and in-flight work questions.

2:30–3:00 | Decide and debrief

Complete a conditional pilot decision, acceptance checks, owners and a review date. Score the quality of reasoning with the supplied rubric.

03

Separate module: evaluating assisted detection in 90 minutes

Start with KevinBytes’ public identity_hunt.py and its recorded eight-case, 35-row fixture. The module adds a clearly labeled simulated suggestion, case-level TP/FP/FN/TN scoring and analyst disposition. No AI vendor or model is run.

  • 0:00–0:15: define the rule-match label, time windows and unit of counting.
  • 0:15–0:35: run and score the unchanged baseline; inspect tenant and duplicate-delivery cases.
  • 0:35–0:55: reveal the simulated suggestion, compare its errors, and record analyst acceptance or rejection.
  • 0:55–1:15: distinguish missing telemetry from a clean outcome; write an approval and escalation record.
  • 1:15–1:30: reproduce the facilitator solution and debrief. These rule-conformance counts are not attack-detection accuracy or analyst productivity measurements.

04

What participants produce

  • A list of users, resources and allowed actions, including at least one legitimate operation that must keep working.
  • A reproducible denial case with the point of enforcement and the downstream effect checked.
  • A distinction between fixture results, deployment questions and model behavior that was never tested.
  • A named owner, a check that demonstrates the required behavior and a review date for each condition on pilot access.

Limits

Scope and limitations.

  • The exercises use synthetic data and run locally. They're teaching examples, not reports from client engagements.
  • Finishing the workshop isn't a certification, a production approval or an assessment of your application.
  • The detection exercise uses synthetic event records, a fixed SQL rule and a simulated suggestion. It doesn't validate Entra, Sentinel, any AI model or real attack coverage.

Next step

Plan a session around your team’s workflow.

Discuss a workshop scope