# Topic 29: AI Security, Governance, and Value

**Fictional Northstar case · self-paced · 45–90 minutes plus optional setup**

## Opening question
Which evidence would justify allowing this AI workflow to act?

## Explain
AI governance links purpose, risk, evaluation, ownership and oversight. Security testing should include prompt injection, information disclosure and excessive tool access, while business evaluation checks useful outcomes and total cost. A model that passes a small test set can still fail under changed conditions. Define stop conditions and human authority before scaling an automated workflow.

## Supporting technologies
- **Risk and ownership:** Assign accountable roles for the specific use case.
- **Security evaluation:** Test attacks and misuse within controlled synthetic scenarios.
- **Value and cost:** Include review, error, support and operating costs.
- **Monitoring and change:** Re-evaluate when models, tools or sources change.

## Scenario
Northstar evaluates an AI draft assistant using ten synthetic cases. It passes eight, invents one support fact and follows one malicious retrieved instruction.

```text
case_group,count,result
normal,8,pass
unsupported_claim,1,fail
prompt_injection,1,fail
fictional_monthly_cost_USD,120,estimate
modeled_monthly_time_value_USD,180,estimate
```

## Hands-on procedure
1. Define acceptance criteria before interpreting the 8/10 result; prohibit following untrusted instructions in this scenario.
2. Record the two failures and their business/security consequences.
3. Choose a restricted draft-only deployment or defer; do not allow autonomous actions on this evidence.
4. Calculate modeled gross benefit minus operating cost, then identify missing review and support costs.
5. Assign an owner, review schedule, incident escalation and shutdown conditions.
6. Produce a decision brief with evaluation limits and a retest plan after fixes.

## Expected reasoning and limits
An 80% aggregate hides two material failure modes. The simple modeled difference is $60/month before omitted costs and is not verified ROI. Draft-only restrictions or deferral need documented authority and retest evidence.

## Best practices
- Set risk-based acceptance criteria before testing.
- Evaluate disclosure, injection, tool scope and unsupported claims separately.
- Include review and support costs in value estimates.
- Revalidate after material model, tool or source changes.

## Vendors, projects and learning
- [Microsoft](https://learn.microsoft.com/en-us/azure/ai-services/): AI evaluation and platform documentation
- [Google](https://cloud.google.com/vertex-ai/docs): AI platform documentation
- [OWASP and NIST](https://genai.owasp.org/): Independent public guidance, not vendors

## Optional technical extension
Create a versioned synthetic evaluation set with expected refusal and evidence requirements. Compare two mocked outputs and record regressions; no live model access is required.

## Career practice
Relevant role families to investigate: AI governance analyst, AI evaluation analyst, Technology risk analyst. No current vacancy or hiring requirement is asserted.

Interview: What would make you defer an AI rollout despite an attractive aggregate score?

## Sources
- [NIST AI RMF](https://www.nist.gov/itl/ai-risk-management-framework)
- [OWASP GenAI](https://genai.owasp.org/)

## Portfolio evidence
Use the [portfolio guide](../guides/portfolio.md). Submit original input, decisions, tests, actual results, limitations and source attribution. Clearly label modeled, planned and performed work.

## Suggested prerequisites
Topic 15, Topic 20, Topic 28
