Cloud Identity, Prompt Security & FERPA Guardrails
Defend student records against prompt injections, forged tenant IDs, PII leaks, and tool tampering using 5 cloud security gates.
Enforce enterprise EdTech compliance across every stateless MCP hop: verify scoped JWTs at the edge, block direct and indirect prompt injections, and redact FERPA-protected student records before model serialization.
Microsoft Azure Stack:Microsoft Entra ID (OAuth 2.1)Azure AI Content Safety (Prompt Shields)Microsoft Presidio + Azure AI Language PIIDetails
Tenant-scoped JWT validation and least-privilege educator/tool claims at APIM edge.
Synchronous direct and indirect prompt-injection defense and classroom safety thresholds.
Tokenizes student IDs, IEP fields, and guardian contact data prior to LLM serialization.
1. Visual Analogy · Airport Security + Sealed Envelope + Redacted ID Badge
What happens when a student essay tries to hijack the AI—or a prompt tries to read another school district’s roster?
In education AI, two big dangers happen even when your code has no traditional bugs: (1) an AI reads malicious instructions hidden inside a student essay, or (2) an AI gets tricked into querying the wrong school district. You stop these with independent defense-in-depth gates around your Python tool.
How this fits: This is Piece 4 (Guardrails). Notice your Lab 2 tool contract is carried into this sandbox, and any guardrails you arm appear as active badges on the Architecture Map.
- Combine Prompt Shields / Model Armor + Spotlighting with an Educator Gate for destructiveHint tools.
- Pin district_id exclusively from signed Entra ID or Cloud IAM OIDC JWT claims (RFC 9207 + CIMD).
- Scrub SSNs and guardian emails with FERPA PII middleware and verify tool SHA-256 digests against rug-pulls.
Active prompt guardrails scan student essays like airport security (Prompt Shields / Model Armor) and seal untrusted text inside Spotlighting envelopes. Verified OAuth 2.1 JWT claims (RFC 9207 + CIMD) pin tenant identity at the gate, while FERPA PII scrubbers (Azure AI Language PII / Cloud DLP) redact SSNs and emails before responses leave.
Why must Python middleware ignore a district_id argument supplied by the LLM during a roster lookup?
Engineering Scratchpad
Auto-saved per lab in mcp_foundry_v1_scratchpads
0 chars saved
Engineering Scratchpad
Auto-saved per lab in mcp_foundry_v1_scratchpads