[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AS1FYTYBDX45QM5W0JYXY0":3,"skill-same:01M7AS1FYTYBDX45QM5W0JYXY0":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AS1FYTYBDX45QM5W0JYXY0","ai-era-security",null,"Use when securing AI systems, LLM applications, agentic AI, or evaluating AI security frameworks. Triggers on OWASP LLM Top 10, OWASP Agentic Top 10, MITRE ATLAS, NIST AI RMF, EU AI Act, prompt injection, agentic security, MCP security, post-quantum cryptography, or any AI\u002FML security question. Also use for modern security framework updates: NIST CSF 2.0, CIS Controls v8.1, FIDO2\u002Fpasskeys, CNAPP, or software supply chain security (SLSA\u002FSigstore\u002FSBOM).","the-vibey-project\u002Fvibey","the-vibey-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F329298758?v=4","01M7AJHGZ9722CTJ4JNQZVRH0Q","the vibey project","01M7AJHGZVMG2K7TGXQ6XFHVG3",5,"MIT","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fsecurity-principles\u002Fskills\u002Fai-era-security\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ai-era-security\ndescription: \"Use when securing AI systems, LLM applications, agentic AI, or evaluating AI security frameworks. Triggers on OWASP LLM Top 10, OWASP Agentic Top 10, MITRE ATLAS, NIST AI RMF, EU AI Act, prompt injection, agentic security, MCP security, post-quantum cryptography, or any AI\u002FML security question. Also use for modern security framework updates: NIST CSF 2.0, CIS Controls v8.1, FIDO2\u002Fpasskeys, CNAPP, or software supply chain security (SLSA\u002FSigstore\u002FSBOM).\"\n---\n\n# AI-Era Security: Principal Architect's Field Guide (June 2026)\n\n## Quick-Reference Principle\nTraditional security fundamentals are the bedrock. AI-era security is a genuine extension, not a rebrand. The data\u002Finstruction boundary collapse (prompt injection), autonomous action (agentic AI), and models as supply-chain artifacts all require layering new controls on top of — not instead of — the proven foundations.\n\nThree clocks are running simultaneously:\n1. **Post-quantum migration** — NIST finalized FIPS 203\u002F204\u002F205 in Aug 2024; \"harvest-now-decrypt-later\" makes key-agreement migration urgent today\n2. **EU AI Act high-risk obligations** land Aug 2, 2026\n3. **Agentic AI is already in your environment** — treat every agent as a non-human identity with least privilege and a human sponsor\n\n---\n\n## SECTION 1 — Modern Framework Updates (What Changed 2024–2025)\n\n### NIST CSF 2.0 (Feb 26, 2024)\nFirst major revision since 2014. Headline change: sixth core function **Govern (GV)** added to Identify, Protect, Detect, Respond, Recover.\n\n- 6 functions \u002F 22 categories \u002F 106 subcategories\n- Govern (GV) contains 31 of 106 subcategories (~29%) covering organizational context, risk strategy, roles, policy, oversight, supply-chain risk management\n- **Doubled supply-chain subcategories (GV.SC) from 5 to 10** (10 of 106, ~9.4%)\n- Scope expanded from critical infrastructure to all organizations\n- CSF 2.0 is now the lingua franca mapping to ISO 27001, CIS Controls, and NIST 800-53\n\n**Why it matters:** Governance and C-SCRM are now first-class board-level concerns, not IT concerns.\n\n### CIS Controls v8.1 (June 25, 2024)\nIterative update aligning to NIST CSF 2.0.\n\n- 18 Controls, 153 Safeguards, 3 Implementation Groups (IG1\u002FIG2\u002FIG3)\n- New **Governance** security function added\n- New **Documentation** asset class added\n- Per the CIS Community Defense Model, full implementation defends against ~86% of MITRE ATT&CK (sub-)techniques\n- Best starting point for operational hardening — more prescriptive than CSF\n\n### ISO\u002FIEC 27001:2022\nRestructured Annex A into 4 themes (Organizational, People, Physical, Technological) and 93 controls total, with 11 new controls including:\n- Threat intelligence\n- Cloud security\n- Data leakage prevention (DLP)\n- Secure coding\n\nTransition deadline: certifications against the 2013 version expired during the transition window ending in 2025.\n\n### Modern IAM Gold Standards\n- **Phishing-resistant MFA gold standard: FIDO2\u002FWebAuthn and PKI (PIV\u002FCAC).** CISA explicitly names these as gold standard; SMS, OTP, and push are phishable.\n- **Prompt bombing appeared in 14% of incidents** per Verizon 2025 DBIR, and was the most common MFA-bypass technique, appearing in >20% of social-engineering breaches involving MFA bypass.\n- **NIST SP 800-63-4 (finalized 2025)** makes phishing-resistant authentication mandatory at AAL3 (hardware-bound, non-exportable keys; syncable passkeys are NOT permitted at AAL3). The mechanism: **origin binding** — the authenticator cryptographically refuses to respond to a spoofed domain.\n- **Passkeys:** device-bound for privileged\u002Fadmin; synced for general workforce. Natively supported across Apple\u002FGoogle\u002FMicrosoft.\n- **Zero standing privileges** with just-in-time, time-boxed elevation (JIT PAM). Gold-standard vendor: CyberArk.\n\n### CNAPP Consolidation\nCNAPP (Cloud-Native Application Protection Platform) unifies CSPM + CWPP + CIEM + DSPM + KSPM + IaC scanning.\n\nMarket leaders:\n- **Wiz** (agentless, Security Graph; acquired by Google for ~$32B, closed 2026)\n- **Palo Alto Prisma\u002FCortex Cloud**\n- **CrowdStrike Falcon Cloud Security**\n- **Microsoft Defender for Cloud**\n- **Orca Security**\n\nDSPM (Data Security Posture Management) discovers\u002Fclassifies sensitive data (PII\u002FPHI\u002FPCI), maps data flows and exposure paths, and ties data risk to identity and infrastructure context.\n\n### Software Supply Chain Security\nThe mature, vendor-neutral stack:\n- **SLSA** (Supply-chain Levels for Software Artifacts, v1.0) — build provenance; target SLSA Level 3+\n- **Sigstore** (Cosign for signing, Fulcio for keyless OIDC-based certs, Rekor transparency log) — artifact signing\n- **SBOMs** (SPDX\u002FCycloneDX) — component inventory\n- **in-toto\u002FDSSE** — attestation envelopes\n\nScale of threat: **Sonatype discovered 454,648 new malicious open-source packages in 2025** (cumulative: 877,522+ since 2019). Threats evolved from \"spam and stunts\" into \"sustained, industrialized campaigns.\"\n\n**Critical rule: pin dependencies by commit SHA, not tag.**\n\nWatershed events: GhostAction GitHub Actions compromise, Ultralytics PyPI compromise.\n\n### Ransomware Resilience\n**3-2-1-1-0 backup rule:** 3 copies, 2 media types, 1 offsite, 1 offline\u002Fimmutable\u002Fair-gapped, 0 errors after verification.\n\n---\n\n## SECTION 2 — AI Threat Landscape\n\n### Adversarial ML Taxonomy (NIST AI 100-2)\n- **Evasion attacks** — craft inputs to fool a deployed model\n- **Poisoning attacks** — corrupt training data or model weights\n- **Model inversion** — reconstruct training data from model outputs\n- **Model extraction** — replicate proprietary model functionality through queries\n- **Membership inference** — determine whether specific data was in the training set\n\n### Prompt Injection (OWASP LLM01 — #1 for second consecutive edition)\n**Root cause: LLMs process instructions and data in the same channel with no separation.**\n\nTwo forms:\n- **Direct prompt injection** — user manipulates the prompt (e.g., DAN-style jailbreaks, system prompt override)\n- **Indirect\u002FXPIA (Cross-Prompt Injection Attack)** — malicious instructions hidden in documents, web pages, emails, or tool outputs that the model ingests\n\nXPIA is especially dangerous because it requires no user interaction — the model fetches and executes attacker-controlled content autonomously.\n\n### Training-Data Poisoning (OWASP LLM04)\n- **Backdoored \"sleeper agent\" models** — behave normally until triggered by a specific input\n- **Poisoned LoRA adapters** — the \"PoisonGPT\" technique: inject false factual claims via fine-tuning\n- Treat Hugging Face downloads as untrusted supply chain — scan for unsafe deserialization (pickle) and backdoors; prefer **safetensors**\n\n### RAG Poisoning \u002F False RAG Entry Injection\n- Poison vector databases used for retrieval-augmented generation\n- False RAG entry injection: inject adversarial content that gets retrieved as \"authoritative\" context\n- Added to MITRE ATLAS in Spring 2025\n\n### Agent Hijacking and Tool Misuse\nSee Section 4 (OWASP Agentic Top 10) and Section 5 (real-world incidents).\n\n---\n\n## SECTION 3 — AI Security Frameworks (2024–2026 Canon)\n\n### NIST AI RMF 1.0 (NIST AI 100-1, Jan 2023)\nThe de facto US AI governance vocabulary. Four functions:\n1. **Govern** — culture, policies, accountability\n2. **Map** — categorize AI risks in context\n3. **Measure** — assess and analyze risk\n4. **Manage** — prioritize, respond, monitor\n\n### NIST AI 600-1 (Generative AI Profile, July 26, 2024)\nA cross-sectoral profile issued per Executive Order 14110. Defines **12 GAI risk categories** including:\n- Confabulation\u002Fhallucination\n- Dangerous\u002FCBRN information\n- Data privacy\n- Harmful bias\n- Intellectual property\n- **Prompt injection and data poisoning (§2.9)** — explicitly named as information security risks\n- **Supply-chain\u002Fvalue-chain integrity (§2.12)**\n\n### MITRE ATLAS v5.1.0 (November 2025)\nThe adversarial AI ATT&CK analog.\n\nCurrent scope:\n- **16 tactics, 84 techniques, 56 sub-techniques, 32 mitigations, 42 case studies**\n- Spring 2025: added GenAI techniques — RAG Poisoning, False RAG Entry Injection, LLM Prompt Crafting, AI Supply Chain Compromise\n- October 2025: Zenity Labs collaboration added 14 agent-focused techniques\n\n**Usage rule: OWASP for risk prioritization; ATLAS for technique mapping and red-teaming.**\n\n### OWASP LLM Top 10 (2025 Edition)\nTwo new entries vs. 2023\u002F24 (marked *new*):\n\n| # | Risk |\n|---|------|\n| LLM01 | Prompt Injection |\n| LLM02 | Sensitive Information Disclosure |\n| LLM03 | Supply Chain |\n| LLM04 | Data & Model Poisoning |\n| LLM05 | Improper Output Handling |\n| LLM06 | Excessive Agency |\n| LLM07 | System Prompt Leakage *(new)* |\n| LLM08 | Vector & Embedding Weaknesses *(new)* |\n| LLM09 | Misinformation |\n| LLM10 | Unbounded Consumption |\n\n**Critical:** LLM07 means the system prompt is NOT a security control (see production security guidance below).\n\n### OWASP Top 10 for Agentic Applications (December 2025)\nSee full Section 4 below.\n\n### ISO\u002FIEC 42001:2023\nThe world's first certifiable **AI Management System (AIMS)** standard. Plan-Do-Check-Act structure.\n\n- 38 controls across 9 objectives\n- Microsoft, Google Cloud (Vertex\u002FGemini), and others are now certified\n- **This is the AI-governance analog of ISO 27001**\n- Pair with ISO 27001 — they are complementary, not duplicative\n\n### EU AI Act (Regulation 2024\u002F1689)\nPhased implementation timeline:\n- **Aug 1, 2024** — entered into force\n- **Feb 2, 2025** — prohibited practices + AI literacy requirements\n- **Aug 2, 2025** — GPAI (General Purpose AI) obligations\n- **Aug 2, 2026** — high-risk (Annex III) obligations and enforcement (plan for this date; a \"Digital Omnibus\" proposal may defer some, but assume original)\n\nFines: up to **€35M or 7% of global annual turnover**, whichever is higher.\n\n**Action: classify all AI systems against Annex III before Aug 2, 2026. Any high-risk use case requires a full AI risk management system.**\n\n---\n\n## SECTION 4 — OWASP Agentic Top 10 (December 2025)\n\nReleased December 9, 2025. Developed with 100+ security researchers; review board includes NIST, Microsoft AI Red Team, AWS, Oracle.\n\n| ID | Risk | Real-World Example |\n|----|------|--------------------|\n| ASI01 | Agent Goal Hijack | EchoLeak (CVE-2025-32711) |\n| ASI02 | Tool Misuse | Amazon Q |\n| ASI03 | Identity & Privilege Abuse | — |\n| ASI04 | Agentic Supply Chain Vulnerabilities | GitHub MCP exploit |\n| ASI05 | Unexpected Code Execution | AutoGPT RCE |\n| ASI06 | Memory & Context Poisoning | Gemini memory attack |\n| ASI07 | Insecure Inter-Agent Communication | — |\n| ASI08 | Cascading Failures | — |\n| ASI09 | Human-Agent Trust Exploitation | — |\n| ASI10 | Rogue Agents | Replit meltdown |\n\n### ASI01 — Agent Goal Hijack\nThe agentic analog of prompt injection. An attacker redirects an agent's objective at runtime. EchoLeak (CVE-2025-32711) is the canonical example: a crafted email caused M365 Copilot to exfiltrate data automatically, with no user interaction.\n\n### ASI02 — Tool Misuse\nAn agent invokes tools beyond their intended scope. Amazon Q incident demonstrated an agent using cloud-management tools it shouldn't have accessed. Defense: strict tool allowlisting, not blocklisting.\n\n### ASI03 — Identity and Privilege Abuse\nAgents inheriting excessive permissions, or attackers impersonating agents. Treat every agent as a non-human identity; apply same rigor as human privileged accounts.\n\n### ASI04 — Agentic Supply Chain Vulnerabilities\nCompromised MCP servers, plugins, or orchestration frameworks introduce malicious behavior. The GitHub MCP exploit demonstrated supply-chain compromise in an agentic context.\n\n### ASI05 — Unexpected Code Execution\nAgents that can write and execute code are vulnerable to unintended RCE. AutoGPT RCE is the documented example. Defense: sandbox all code execution environments.\n\n### ASI06 — Memory and Context Poisoning\nAttacking an agent's persistent memory to alter future behavior. The Gemini memory attack demonstrated poisoning that persisted across sessions. Defense: validate\u002Fbound agent memory; treat stored memory as untrusted input.\n\n### ASI07 — Insecure Inter-Agent Communication\nIn multi-agent architectures, messages between agents lack authentication or integrity protection. Currently, both A2A and MCP protocols lack enforced token expiration and central verification.\n\n### ASI08 — Cascading Failures\nOne agent's failure or compromise propagates to dependent agents. In multi-agent pipelines, a blast radius can span the entire system. Defense: circuit breakers, timeouts, and independent failure domains.\n\n### ASI09 — Human-Agent Trust Exploitation\nSocial-engineering tactics adapted for AI agents — manipulating users into trusting malicious agent outputs, or agents into trusting manipulated human instructions.\n\n### ASI10 — Rogue Agents\nAgents that deviate from their intended objectives, whether due to manipulation or emergent behavior. The Replit meltdown is the documented example of runaway agent behavior.\n\n---\n\n## SECTION 5 — Documented Real-World Agentic Incidents (2025–2026)\n\n### EchoLeak (CVE-2025-32711, CVSS 9.3)\n- **What:** First \"zero-click\" indirect prompt injection in Microsoft 365 Copilot enabling automatic data exfiltration via a single crafted email\n- **Disclosed by:** Aim Labs to MSRC\n- **Mechanism:** Malicious instructions in an email body caused Copilot to exfiltrate sensitive data to an attacker-controlled destination without any user action; Aim Labs termed it an \"LLM Scope Violation\"\n- **Status:** Patched server-side; no confirmed in-the-wild exploitation\n- **OWASP mapping:** ASI01 (Agent Goal Hijack), LLM01 (Prompt Injection)\n\n### Morris II (March 2024)\n- **What:** First self-replicating GenAI worm using an adversarial self-replicating prompt for zero-click propagation across email assistants\n- **Researchers:** Cohen (Technion), Nassi (Cornell Tech), Bitton (Intuit)\n- **Status:** Proof-of-concept; no in-the-wild exploitation confirmed\n- **Significance:** Demonstrated autonomous AI-to-AI attack propagation without human interaction\n\n### Agent Session Smuggling (October\u002FNovember 2025)\n- **What:** A malicious agent exploits a stateful Agent2Agent (A2A) session to inject covert instructions across turns\n- **Disclosed by:** Palo Alto Networks Unit 42\n- **Demonstrated:** Unauthorized stock trades proof-of-concept\n- **Status:** Research PoC\n- **OWASP mapping:** ASI07 (Insecure Inter-Agent Communication), ASI03 (Identity & Privilege Abuse)\n\n### ServiceNow \"BodySnatcher\" (CVE-2025-12420, CVSS 9.3)\n- **What:** Broken-auth flaw in ServiceNow Virtual Agent \u002F Now Assist allowing an unauthenticated attacker to impersonate any user and drive privileged agentic workflows, bypassing MFA\u002FSSO\n- **Disclosed by:** Aaron Costello (AppOmni)\n- **Status:** Patched; no confirmed exploitation\n- **OWASP mapping:** ASI03 (Identity & Privilege Abuse), ASI09 (Human-Agent Trust Exploitation)\n\n### MCP Ecosystem Vulnerabilities (2025)\n- **CVE-2025-49596** — Anthropic MCP Inspector RCE, CVSS 9.4 (fixed in version 0.14.1)\n- **Empirical study (2025):** 5.5% of 1,899 open-source MCP servers exhibited tool-poisoning vulnerabilities\n- **Invariant Labs demo (April 2025):** WhatsApp MCP tool-poisoning data exfiltration\n- **NSA MCP Security guidance** published May 2026 (\"MCP: Security Design Considerations\")\n- **OWASP mapping:** ASI04 (Agentic Supply Chain), ASI02 (Tool Misuse)\n\n---\n\n## SECTION 6 — Controls for Agentic Systems\n\n### Agent Identity and Authorization\n**Microsoft Entra Agent ID** (GA April 2026) is the current gold standard for enterprise agent identity:\n- Issues agent identities as credential-less service principals\n- OAuth for authorization, OIDC for authentication\n- Scoped short-lived tokens (no standing broad permissions)\n- Required human \"sponsor\" for every agent\n- Conditional Access policies apply to agents\n- Soft-delete cascade cleanup prevents orphaned agents\n\n**Important caveat:** There is no single ratified cross-vendor OAuth-for-agents standard as of mid-2026. OWASP is working on Agentic Identity \u002F an Agentic Naming Service. Flag agent identity as an emerging, fragmented area.\n\n### Inter-Agent Trust\n- Require message signing between agents\n- Enforce mutual authentication across agent boundaries\n- Establish explicit trust boundaries — don't implicitly trust upstream agents\n- Both A2A and MCP protocols currently **lack enforced token expiration and central verification** — compensating controls are required\n\n### Tool-Use Security\n- **Allowlist tools and egress domains** (not blocklist — assume hostile)\n- Validate and sanitize all URLs and parameters before execution\n- Require re-approval on tool definition changes — defend against \"rug pulls\" where tool behavior changes after initial approval\n- Validate tool outputs before feeding back into the agent (XPIA defense)\n\n### Guardrails Architecture\nLayer all available guardrail types — no single guardrail is sufficient:\n- **Azure AI Content Safety** — Prompt Shields for direct + indirect injection, Groundedness detection, protected-material detection\n- **AWS Bedrock Guardrails** — content filters, denied topics, PII redaction\n- **NVIDIA NeMo Guardrails** — programmable rails via Colang across input\u002Fdialog\u002Fretrieval\u002Fexecution\u002Foutput\n- **Guardrails AI** — Python validator library for output validation\n\nLayer cloud-native input filters + specialized output\u002Fhallucination checks + library-level controls, ideally enforced at a gateway, not in the model.\n\n### System Prompt Security\n**The system prompt is NOT a security control.** OWASP LLM07 (System Prompt Leakage) makes this explicit. Enforce all security constraints deterministically outside the model in code.\n\n### CSA MAESTRO Threat Modeling Framework\nMAESTRO (Multi-Agent Environment, Security, Threat, Risk, and Outcome) is a seven-layer agentic threat modeling framework developed by Ken Huang\u002FCSA (February 2025). Used by OWASP's Multi-Agentic System Threat Modeling Guide. Use it for structured threat modeling of agentic architectures, layered with MITRE ATLAS technique mapping.\n\n### Secure Orchestration Frameworks\nLangChain, LlamaIndex, and AutoGen all require explicit hardening:\n- Explicit permission scoping for each agent\n- Sandboxing for all tool execution\n- Output validation before downstream consumption\n- Audit logging of all agent decisions and tool calls\n\n---\n\n## SECTION 7 — Post-Quantum Cryptography (PQC)\n\n### Finalized NIST Standards (August 13, 2024)\n- **FIPS 203 (ML-KEM)** — from CRYSTALS-Kyber; key encapsulation \u002F key exchange\n- **FIPS 204 (ML-DSA)** — from CRYSTALS-Dilithium; digital signatures\n- **FIPS 205 (SLH-DSA)** — from SPHINCS+; stateless hash-based signatures\n- **FN-DSA (FALCON)** — forthcoming (fourth standard)\n\n### Why Key Exchange Migration Is Urgent NOW\n\"Harvest now, decrypt later\" is an active threat: adversaries archive today's encrypted traffic to decrypt once they have a quantum computer. Any data with a >10-year confidentiality requirement is already at risk.\n\n### Migration Priority\n1. **Migrate key exchange first:** hybrid TLS 1.3 with **X25519MLKEM768**\n2. **Defer signature migration** — lower urgency, larger performance\u002Fpayload tradeoff\n\n### Implementation State (mid-2026)\n- **OpenSSL 3.5** (April 2025): full ML-KEM\u002FML-DSA\u002FSLH-DSA support\n- **OpenSSH 10+:** mlkem768x25519 is the default key exchange\n- **52% of human-generated web traffic** was post-quantum encrypted by early December 2025 (Cloudflare Radar 2025 Year in Review) — nearly doubled from 29% at year-start\n- **Apple iOS 26 \u002F macOS Sequoia:** PQC enabled by default (September 2025)\n- **US EO 14144** (January 2025): pushes federal PQC procurement\n- Cloudflare targets full PQC by 2029; Azure and other cloud providers rolling out PQC across services\n\n### Strategic Goal: Crypto-Agility\nInventory all cryptographic usage, abstract algorithms behind interfaces, and ensure you can swap algorithms without architectural changes. This is more valuable than any single algorithm choice.\n\n---\n\n## SECTION 8 — 10-Point Agentic Security Design Checklist\n\nApply this checklist to every agentic system before production deployment.\n\n**1. Non-human identity with human sponsor**\nEvery agent has a registered identity (Entra Agent ID or equivalent), a named human sponsor who owns accountability, and scoped short-lived credentials — no standing broad permissions.\n\n**2. Least privilege + complete mediation**\nValidate every tool call against policy in a deterministic layer outside the LLM. Allowlist permitted tools and egress domains. Apply Saltzer & Schroeder's Complete Mediation principle: every access, every time.\n\n**3. Treat prompt as hostile, output as untrusted**\nApply input filtering before the LLM and output validation after. Check groundedness. Never trust that the model will enforce security constraints itself.\n\n**4. Blast-radius containment**\nSandbox all tool execution in isolated environments. Segment agent permissions so one compromised agent cannot pivot. Cap spend and request rate to defend against Denial of Wallet (LLM10: Unbounded Consumption).\n\n**5. Human-in-the-loop for irreversible\u002Fhigh-stakes actions**\nDefine which actions require human confirmation before execution. Automate the reversible; gate the irreversible. This is the highest-leverage single control against runaway agent behavior (ASI10).\n\n**6. XPIA defense across all data ingestion paths**\nTreat every document, email, web page, database row, and tool output as potentially adversarial. Do not blindly pass retrieved content into the agent context as instructions. Validate, sanitize, and isolate untrusted external content from instructions.\n\n**7. Memory protection**\nValidate and bound agent memory at read and write. Protect against context poisoning (ASI06) — stored memory is an attack surface, not a trusted source. Treat retrieved memory as untrusted input requiring the same scrutiny as external data.\n\n**8. Inter-agent authentication and trust boundaries**\nSign inter-agent messages. Enforce mutual authentication between agents. Define explicit trust boundaries. Use time-boxed tokens. Do not assume messages from other agents are trustworthy by virtue of origin.\n\n**9. Audit logging and observability for all agent actions**\nLog all prompts (or prompt hashes), tool calls, parameters, responses, and decisions. This is non-negotiable for incident response and for detecting drift or rogue behavior. LLM observability platforms (Langfuse, Helicone, etc.) or native platform logging.\n\n**10. Regular threat modeling with MAESTRO and MITRE ATLAS**\nRun a CSA MAESTRO layered analysis at design time. Map attacks to MITRE ATLAS techniques. Re-run threat models when agent capabilities, tools, or integrations change. Purple-team agentic scenarios.\n\n---\n\n## Threat-Modeling Reference: STRIDE Applied to AI\u002FAgents\n\n| STRIDE | AI\u002FAgentic Mapping |\n|--------|-------------------|\n| **S**poofing | Agent impersonation, identity abuse (ASI03) |\n| **T**ampering | Prompt\u002FRAG\u002Fmemory poisoning (LLM04, ASI06), tool definition rug-pulls (ASI04) |\n| **R**epudiation | Missing audit logs for agent actions and tool calls |\n| **I**nformation disclosure | Sensitive info leakage (LLM02), system-prompt leakage (LLM07), data exfiltration via XPIA |\n| **D**enial of service | Unbounded consumption \u002F Denial of Wallet (LLM10), cascading failures (ASI08) |\n| **E**levation of privilege | Excessive agency (LLM06), tool misuse (ASI02), privilege abuse (ASI03) |\n\nAugment STRIDE with MITRE ATLAS technique mapping and CSA MAESTRO layered analysis for comprehensive agentic threat models.\n\n---\n\n## RAG Security Pattern\n\n1. Validate and provenance-tag all ingested content before indexing\n2. Isolate untrusted external content from system instructions\n3. Access-control the vector store per tenant — multi-tenant RAG is a common data leakage path\n4. Check output groundedness — detect when the model departs from retrieved context\n5. Treat all retrieved content as untrusted data, not trusted instructions\n6. Monitor for false RAG entry injection (MITRE ATLAS Spring 2025)\n\n---\n\n## EU AI Act Compliance Checklist\n\n- **Classify all AI systems against Annex III** (high-risk categories including biometric ID, critical infrastructure, employment, education, law enforcement, migration, justice)\n- **Any high-risk classification** triggers: risk management system, data governance, technical documentation, transparency to users, human oversight, accuracy\u002Frobustness\u002Fcybersecurity requirements\n- **GPAI providers** (general-purpose AI): must maintain technical documentation, provide usage policies, comply with copyright law; systemic-risk GPAI adds adversarial testing and incident reporting\n- **Target date: Aug 2, 2026** (plan for original timeline regardless of Digital Omnibus)\n- **ISO\u002FIEC 42001** certification significantly accelerates high-risk compliance\n\n---\n\n## Key Caveats\n\n- EchoLeak, BodySnatcher, Morris II, and Agent Session Smuggling were disclosed vulnerabilities or researcher PoCs — not confirmed in-the-wild exploitation at time of disclosure\n- No single ratified cross-vendor \"OAuth-for-agents\" standard exists as of mid-2026; agent identity remains fragmented\n- The EU AI Act \"Digital Omnibus\" proposal may defer some high-risk timelines, but plan for Aug 2, 2026\n- OWASP labels the Agentic list the \"2026\" edition though it released December 2025 — same document\n- MCP ecosystem vulnerabilities and mitigations are evolving rapidly; re-check current NSA\u002FNIST guidance at implementation time\n- Confidential GPU availability (Azure NCC H100 v5) is region- and SKU-limited — verify current availability before architecting\n- Vendor self-reported metrics (false-positive reductions, analyst-hours saved) should be validated against independent evaluations (MITRE Engenuity ATT&CK, AV-Comparatives)\n","# AI-Era Security: Principal Architect's Field Guide (June 2026)\n\n## Quick-Reference Principle\nTraditional security fundamentals are the bedrock. AI-era security is a genuine extension, not a rebrand. The data\u002Finstruction boundary collapse (prompt injection), autonomous action (agentic AI), and models as supply-chain artifacts all require layering new controls on top of — not instead of — the proven foundations.\n\nThree clocks are running simultaneously:\n1. **Post-quantum migration** — NIST finalized FIPS 203\u002F204\u002F205 in Aug 2024; \"harvest-now-decrypt-later\" makes key-agreement migration urgent today\n2. **EU AI Act high-risk obligations** land Aug 2, 2026\n3. **Agentic AI is already in your environment** — treat every agent as a non-human identity with least privilege and a human sponsor\n\n---\n\n## SECTION 1 — Modern Framework Updates (What Changed 2024–2025)\n\n### NIST CSF 2.0 (Feb 26, 2024)\nFirst major revision since 2014. Headline change: sixth core function **Govern (GV)** added to Identify, Protect, Detect, Respond, Recover.\n\n- 6 functions \u002F 22 categories \u002F 106 subcategories\n- Govern (GV) contains 31 of 106 subcategories (~29%) covering organizational context, risk strategy, roles, policy, oversight, supply-chain risk management\n- **Doubled supply-chain subcategories (GV.SC) from 5 to 10** (10 of 106, ~9.4%)\n- Scope expanded from critical infrastructure to all organizations\n- CSF 2.0 is now the lingua franca mapping to ISO 27001, CIS Controls, and NIST 800-53\n\n**Why it matters:** Governance and C-SCRM are now first-class board-level concerns, not IT concerns.\n\n### CIS Controls v8.1 (June 25, 2024)\nIterative update aligning to NIST CSF 2.0.\n\n- 18 Controls, 153 Safeguards, 3 Implementation Groups (IG1\u002FIG2\u002FIG3)\n- New **Governance** security function added\n- New **Documentation** asset class added\n- Per the CIS Community Defense Model, full implementation defends against ~86% of MITRE ATT&CK (sub-)techniques\n- Best starting point for operational hardening — more prescriptive than CSF\n\n### ISO\u002FIEC 27001:2022\nRestructured Annex A into 4 themes (Organizational, People, Physical, Technological) and 93 controls total, with 11 new controls including:\n- Threat intelligence\n- Cloud security\n- Data leakage prevention (DLP)\n- Secure coding\n\nTransition deadline: certifications against the 2013 version expired during the transition window ending in 2025.\n\n### Modern IAM Gold Standards\n- **Phishing-resistant MFA gold standard: FIDO2\u002FWebAuthn and PKI (PIV\u002FCAC).** CISA explicitly names these as gold standard; SMS, OTP, and push are phishable.\n- **Prompt bombing appeared in 14% of incidents** per Verizon 2025 DBIR, and was the most common MFA-bypass technique, appearing in >20% of social-engineering breaches involving MFA bypass.\n- **NIST SP 800-63-4 (finalized 2025)** makes phishing-resistant authentication mandatory at AAL3 (hardware-bound, non-exportable keys; syncable passkeys are NOT permitted at AAL3). The mechanism: **origin binding** — the authenticator cryptographically refuses to respond to a spoofed domain.\n- **Passkeys:** device-bound for privileged\u002Fadmin; synced for general workforce. Natively supported across Apple\u002FGoogle\u002FMicrosoft.\n- **Zero standing privileges** with just-in-time, time-boxed elevation (JIT PAM). Gold-standard vendor: CyberArk.\n\n### CNAPP Consolidation\nCNAPP (Cloud-Native Application Protection Platform) unifies CSPM + CWPP + CIEM + DSPM + KSPM + IaC scanning.\n\nMarket leaders:\n- **Wiz** (agentless, Security Graph; acquired by Google for ~$32B, closed 2026)\n- **Palo Alto Prisma\u002FCortex Cloud**\n- **CrowdStrike Falcon Cloud Security**\n- **Microsoft Defender for Cloud**\n- **Orca Security**\n\nDSPM (Data Security Posture Management) discovers\u002Fclassifies sensitive data (PII\u002FPHI\u002FPCI), maps data flows and exposure paths, and ties data risk to identity and infrastructure context.\n\n### Software Supply Chain Security\nThe mature, vendor-neutral stack:\n- **SLSA** (Supply-chain Levels for Software Artifacts, v1.0) — build provenance; target SLSA Level 3+\n- **Sigstore** (Cosign for signing, Fulcio for keyless OIDC-based certs, Rekor transparency log) — artifact signing\n- **SBOMs** (SPDX\u002FCycloneDX) — component inventory\n- **in-toto\u002FDSSE** — attestation envelopes\n\nScale of threat: **Sonatype discovered 454,648 new malicious open-source packages in 2025** (cumulative: 877,522+ since 2019). Threats evolved from \"spam and stunts\" into \"sustained, industrialized campaigns.\"\n\n**Critical rule: pin dependencies by commit SHA, not tag.**\n\nWatershed events: GhostAction GitHub Actions compromise, Ultralytics PyPI compromise.\n\n### Ransomware Resilience\n**3-2-1-1-0 backup rule:** 3 copies, 2 media types, 1 offsite, 1 offline\u002Fimmutable\u002Fair-gapped, 0 errors after verification.\n\n---\n\n## SECTION 2 — AI Threat Landscape\n\n### Adversarial ML Taxonomy (NIST AI 100-2)\n- **Evasion attacks** — craft inputs to fool a deployed model\n- **Poisoning attacks** — corrupt training data or model weights\n- **Model inversion** — reconstruct training data from model outputs\n- **Model extraction** — replicate proprietary model functionality through queries\n- **Membership inference** — determine whether specific data was in the training set\n\n### Prompt Injection (OWASP LLM01 — #1 for second consecutive edition)\n**Root cause: LLMs process instructions and data in the same channel with no separation.**\n\nTwo forms:\n- **Direct prompt injection** — user manipulates the prompt (e.g., DAN-style jailbreaks, system prompt override)\n- **Indirect\u002FXPIA (Cross-Prompt Injection Attack)** — malicious instructions hidden in documents, web pages, emails, or tool outputs that the model ingests\n\nXPIA is especially dangerous because it requires no user interaction — the model fetches and executes attacker-controlled content autonomously.\n\n### Training-Data Poisoning (OWASP LLM04)\n- **Backdoored \"sleeper agent\" models** — behave normally until triggered by a specific input\n- **Poisoned LoRA adapters** — the \"PoisonGPT\" technique: inject false factual claims via fine-tuning\n- Treat Hugging Face downloads as untrusted supply chain — scan for unsafe deserialization (pickle) and backdoors; prefer **safetensors**\n\n### RAG Poisoning \u002F False RAG Entry Injection\n- Poison vector databases used for retrieval-augmented generation\n- False RAG entry injection: inject adversarial content that gets retrieved as \"authoritative\" context\n- Added to MITRE ATLAS in Spring 2025\n\n### Agent Hijacking and Tool Misuse\nSee Section 4 (OWASP Agentic Top 10) and Section 5 (real-world incidents).\n\n---\n\n## SECTION 3 — AI Security Frameworks (2024–2026 Canon)\n\n### NIST AI RMF 1.0 (NIST AI 100-1, Jan 2023)\nThe de facto US AI governance vocabulary. Four functions:\n1. **Govern** — culture, policies, accountability\n2. **Map** — categorize AI risks in context\n3. **Measure** — assess and analyze risk\n4. **Manage** — prioritize, respond, monitor\n\n### NIST AI 600-1 (Generative AI Profile, July 26, 2024)\nA cross-sectoral profile issued per Executive Order 14110. Defines **12 GAI risk categories** including:\n- Confabulation\u002Fhallucination\n- Dangerous\u002FCBRN information\n- Data privacy\n- Harmful bias\n- Intellectual property\n- **Prompt injection and data poisoning (§2.9)** — explicitly named as information security risks\n- **Supply-chain\u002Fvalue-chain integrity (§2.12)**\n\n### MITRE ATLAS v5.1.0 (November 2025)\nThe adversarial AI ATT&CK analog.\n\nCurrent scope:\n- **16 tactics, 84 techniques, 56 sub-techniques, 32 mitigations, 42 case studies**\n- Spring 2025: added GenAI techniques — RAG Poisoning, False RAG Entry Injection, LLM Prompt Crafting, AI Supply Chain Compromise\n- October 2025: Zenity Labs collaboration added 14 agent-focused techniques\n\n**Usage rule: OWASP for risk prioritization; ATLAS for technique mapping and red-teaming.**\n\n### OWASP LLM Top 10 (2025 Edition)\nTwo new entries vs. 2023\u002F24 (marked *new*):\n\n| # | Risk |\n|---|------|\n| LLM01 | Prompt Injection |\n| LLM02 | Sensitive Information Disclosure |\n| LLM03 | Supply Chain |\n| LLM04 | Data & Model Poisoning |\n| LLM05 | Improper Output Handling |\n| LLM06 | Excessive Agency |\n| LLM07 | System Prompt Leakage *(new)* |\n| LLM08 | Vector & Embedding Weaknesses *(new)* |\n| LLM09 | Misinformation |\n| LLM10 | Unbounded Consumption |\n\n**Critical:** LLM07 means the system prompt is NOT a security control (see production security guidance below).\n\n### OWASP Top 10 for Agentic Applications (December 2025)\nSee full Section 4 below.\n\n### ISO\u002FIEC 42001:2023\nThe world's first certifiable **AI Management System (AIMS)** standard. Plan-Do-Check-Act structure.\n\n- 38 controls across 9 objectives\n- Microsoft, Google Cloud (Vertex\u002FGemini), and others are now certified\n- **This is the AI-governance analog of ISO 27001**\n- Pair with ISO 27001 — they are complementary, not duplicative\n\n### EU AI Act (Regulation 2024\u002F1689)\nPhased implementation timeline:\n- **Aug 1, 2024** — entered into force\n- **Feb 2, 2025** — prohibited practices + AI literacy requirements\n- **Aug 2, 2025** — GPAI (General Purpose AI) obligations\n- **Aug 2, 2026** — high-risk (Annex III) obligations and enforcement (plan for this date; a \"Digital Omnibus\" proposal may defer some, but assume original)\n\nFines: up to **€35M or 7% of global annual turnover**, whichever is higher.\n\n**Action: classify all AI systems against Annex III before Aug 2, 2026. Any high-risk use case requires a full AI risk management system.**\n\n---\n\n## SECTION 4 — OWASP Agentic Top 10 (December 2025)\n\nReleased December 9, 2025. Developed with 100+ security researchers; review board includes NIST, Microsoft AI Red Team, AWS, Oracle.\n\n| ID | Risk | Real-World Example |\n|----|------|--------------------|\n| ASI01 | Agent Goal Hijack | EchoLeak (CVE-2025-32711) |\n| ASI02 | Tool Misuse | Amazon Q |\n| ASI03 | Identity & Privilege Abuse | — |\n| ASI04 | Agentic Supply Chain Vulnerabilities | GitHub MCP exploit |\n| ASI05 | Unexpected Code Execution | AutoGPT RCE |\n| ASI06 | Memory & Context Poisoning | Gemini memory attack |\n| ASI07 | Insecure Inter-Agent Communication | — |\n| ASI08 | Cascading Failures | — |\n| ASI09 | Human-Agent Trust Exploitation | — |\n| ASI10 | Rogue Agents | Replit meltdown |\n\n### ASI01 — Agent Goal Hijack\nThe agentic analog of prompt injection. An attacker redirects an agent's objective at runtime. EchoLeak (CVE-2025-32711) is the canonical example: a crafted email caused M365 Copilot to exfiltrate data automatically, with no user interaction.\n\n### ASI02 — Tool Misuse\nAn agent invokes tools beyond their intended scope. Amazon Q incident demonstrated an agent using cloud-management tools it shouldn't have accessed. Defense: strict tool allowlisting, not blocklisting.\n\n### ASI03 — Identity and Privilege Abuse\nAgents inheriting excessive permissions, or attackers impersonating agents. Treat every agent as a non-human identity; apply same rigor as human privileged accounts.\n\n### ASI04 — Agentic Supply Chain Vulnerabilities\nCompromised MCP servers, plugins, or orchestration frameworks introduce malicious behavior. The GitHub MCP exploit demonstrated supply-chain compromise in an agentic context.\n\n### ASI05 — Unexpected Code Execution\nAgents that can write and execute code are vulnerable to unintended RCE. AutoGPT RCE is the documented example. Defense: sandbox all code execution environments.\n\n### ASI06 — Memory and Context Poisoning\nAttacking an agent's persistent memory to alter future behavior. The Gemini memory attack demonstrated poisoning that persisted across sessions. Defense: validate\u002Fbound agent memory; treat stored memory as untrusted input.\n\n### ASI07 — Insecure Inter-Agent Communication\nIn multi-agent architectures, messages between agents lack authentication or integrity protection. Currently, both A2A and MCP protocols lack enforced token expiration and central verification.\n\n### ASI08 — Cascading Failures\nOne agent's failure or compromise propagates to dependent agents. In multi-agent pipelines, a blast radius can span the entire system. Defense: circuit breakers, timeouts, and independent failure domains.\n\n### ASI09 — Human-Agent Trust Exploitation\nSocial-engineering tactics adapted for AI agents — manipulating users into trusting malicious agent outputs, or agents into trusting manipulated human instructions.\n\n### ASI10 — Rogue Agents\nAgents that deviate from their intended objectives, whether due to manipulation or emergent behavior. The Replit meltdown is the documented example of runaway agent behavior.\n\n---\n\n## SECTION 5 — Documented Real-World Agentic Incidents (2025–2026)\n\n### EchoLeak (CVE-2025-32711, CVSS 9.3)\n- **What:** First \"zero-click\" indirect prompt injection in Microsoft 365 Copilot enabling automatic data exfiltration via a single crafted email\n- **Disclosed by:** Aim Labs to MSRC\n- **Mechanism:** Malicious instructions in an email body caused Copilot to exfiltrate sensitive data to an attacker-controlled destination without any user action; Aim Labs termed it an \"LLM Scope Violation\"\n- **Status:** Patched server-side; no confirmed in-the-wild exploitation\n- **OWASP mapping:** ASI01 (Agent Goal Hijack), LLM01 (Prompt Injection)\n\n### Morris II (March 2024)\n- **What:** First self-replicating GenAI worm using an adversarial self-replicating prompt for zero-click propagation across email assistants\n- **Researchers:** Cohen (Technion), Nassi (Cornell Tech), Bitton (Intuit)\n- **Status:** Proof-of-concept; no in-the-wild exploitation confirmed\n- **Significance:** Demonstrated autonomous AI-to-AI attack propagation without human interaction\n\n### Agent Session Smuggling (October\u002FNovember 2025)\n- **What:** A malicious agent exploits a stateful Agent2Agent (A2A) session to inject covert instructions across turns\n- **Disclosed by:** Palo Alto Networks Unit 42\n- **Demonstrated:** Unauthorized stock trades proof-of-concept\n- **Status:** Research PoC\n- **OWASP mapping:** ASI07 (Insecure Inter-Agent Communication), ASI03 (Identity & Privilege Abuse)\n\n### ServiceNow \"BodySnatcher\" (CVE-2025-12420, CVSS 9.3)\n- **What:** Broken-auth flaw in ServiceNow Virtual Agent \u002F Now Assist allowing an unauthenticated attacker to impersonate any user and drive privileged agentic workflows, bypassing MFA\u002FSSO\n- **Disclosed by:** Aaron Costello (AppOmni)\n- **Status:** Patched; no confirmed exploitation\n- **OWASP mapping:** ASI03 (Identity & Privilege Abuse), ASI09 (Human-Agent Trust Exploitation)\n\n### MCP Ecosystem Vulnerabilities (2025)\n- **CVE-2025-49596** — Anthropic MCP Inspector RCE, CVSS 9.4 (fixed in version 0.14.1)\n- **Empirical study (2025):** 5.5% of 1,899 open-source MCP servers exhibited tool-poisoning vulnerabilities\n- **Invariant Labs demo (April 2025):** WhatsApp MCP tool-poisoning data exfiltration\n- **NSA MCP Security guidance** published May 2026 (\"MCP: Security Design Considerations\")\n- **OWASP mapping:** ASI04 (Agentic Supply Chain), ASI02 (Tool Misuse)\n\n---\n\n## SECTION 6 — Controls for Agentic Systems\n\n### Agent Identity and Authorization\n**Microsoft Entra Agent ID** (GA April 2026) is the current gold standard for enterprise agent identity:\n- Issues agent identities as credential-less service principals\n- OAuth for authorization, OIDC for authentication\n- Scoped short-lived tokens (no standing broad permissions)\n- Required human \"sponsor\" for every agent\n- Conditional Access policies apply to agents\n- Soft-delete cascade cleanup prevents orphaned agents\n\n**Important caveat:** There is no single ratified cross-vendor OAuth-for-agents standard as of mid-2026. OWASP is working on Agentic Identity \u002F an Agentic Naming Service. Flag agent identity as an emerging, fragmented area.\n\n### Inter-Agent Trust\n- Require message signing between agents\n- Enforce mutual authentication across agent boundaries\n- Establish explicit trust boundaries — don't implicitly trust upstream agents\n- Both A2A and MCP protocols currently **lack enforced token expiration and central verification** — compensating controls are required\n\n### Tool-Use Security\n- **Allowlist tools and egress domains** (not blocklist — assume hostile)\n- Validate and sanitize all URLs and parameters before execution\n- Require re-approval on tool definition changes — defend against \"rug pulls\" where tool behavior changes after initial approval\n- Validate tool outputs before feeding back into the agent (XPIA defense)\n\n### Guardrails Architecture\nLayer all available guardrail types — no single guardrail is sufficient:\n- **Azure AI Content Safety** — Prompt Shields for direct + indirect injection, Groundedness detection, protected-material detection\n- **AWS Bedrock Guardrails** — content filters, denied topics, PII redaction\n- **NVIDIA NeMo Guardrails** — programmable rails via Colang across input\u002Fdialog\u002Fretrieval\u002Fexecution\u002Foutput\n- **Guardrails AI** — Python validator library for output validation\n\nLayer cloud-native input filters + specialized output\u002Fhallucination checks + library-level controls, ideally enforced at a gateway, not in the model.\n\n### System Prompt Security\n**The system prompt is NOT a security control.** OWASP LLM07 (System Prompt Leakage) makes this explicit. Enforce all security constraints deterministically outside the model in code.\n\n### CSA MAESTRO Threat Modeling Framework\nMAESTRO (Multi-Agent Environment, Security, Threat, Risk, and Outcome) is a seven-layer agentic threat modeling framework developed by Ken Huang\u002FCSA (February 2025). Used by OWASP's Multi-Agentic System Threat Modeling Guide. Use it for structured threat modeling of agentic architectures, layered with MITRE ATLAS technique mapping.\n\n### Secure Orchestration Frameworks\nLangChain, LlamaIndex, and AutoGen all require explicit hardening:\n- Explicit permission scoping for each agent\n- Sandboxing for all tool execution\n- Output validation before downstream consumption\n- Audit logging of all agent decisions and tool calls\n\n---\n\n## SECTION 7 — Post-Quantum Cryptography (PQC)\n\n### Finalized NIST Standards (August 13, 2024)\n- **FIPS 203 (ML-KEM)** — from CRYSTALS-Kyber; key encapsulation \u002F key exchange\n- **FIPS 204 (ML-DSA)** — from CRYSTALS-Dilithium; digital signatures\n- **FIPS 205 (SLH-DSA)** — from SPHINCS+; stateless hash-based signatures\n- **FN-DSA (FALCON)** — forthcoming (fourth standard)\n\n### Why Key Exchange Migration Is Urgent NOW\n\"Harvest now, decrypt later\" is an active threat: adversaries archive today's encrypted traffic to decrypt once they have a quantum computer. Any data with a >10-year confidentiality requirement is already at risk.\n\n### Migration Priority\n1. **Migrate key exchange first:** hybrid TLS 1.3 with **X25519MLKEM768**\n2. **Defer signature migration** — lower urgency, larger performance\u002Fpayload tradeoff\n\n### Implementation State (mid-2026)\n- **OpenSSL 3.5** (April 2025): full ML-KEM\u002FML-DSA\u002FSLH-DSA support\n- **OpenSSH 10+:** mlkem768x25519 is the default key exchange\n- **52% of human-generated web traffic** was post-quantum encrypted by early December 2025 (Cloudflare Radar 2025 Year in Review) — nearly doubled from 29% at year-start\n- **Apple iOS 26 \u002F macOS Sequoia:** PQC enabled by default (September 2025)\n- **US EO 14144** (January 2025): pushes federal PQC procurement\n- Cloudflare targets full PQC by 2029; Azure and other cloud providers rolling out PQC across services\n\n### Strategic Goal: Crypto-Agility\nInventory all cryptographic usage, abstract algorithms behind interfaces, and ensure you can swap algorithms without architectural changes. This is more valuable than any single algorithm choice.\n\n---\n\n## SECTION 8 — 10-Point Agentic Security Design Checklist\n\nApply this checklist to every agentic system before production deployment.\n\n**1. Non-human identity with human sponsor**\nEvery agent has a registered identity (Entra Agent ID or equivalent), a named human sponsor who owns accountability, and scoped short-lived credentials — no standing broad permissions.\n\n**2. Least privilege + complete mediation**\nValidate every tool call against policy in a deterministic layer outside the LLM. Allowlist permitted tools and egress domains. Apply Saltzer & Schroeder's Complete Mediation principle: every access, every time.\n\n**3. Treat prompt as hostile, output as untrusted**\nApply input filtering before the LLM and output validation after. Check groundedness. Never trust that the model will enforce security constraints itself.\n\n**4. Blast-radius containment**\nSandbox all tool execution in isolated environments. Segment agent permissions so one compromised agent cannot pivot. Cap spend and request rate to defend against Denial of Wallet (LLM10: Unbounded Consumption).\n\n**5. Human-in-the-loop for irreversible\u002Fhigh-stakes actions**\nDefine which actions require human confirmation before execution. Automate the reversible; gate the irreversible. This is the highest-leverage single control against runaway agent behavior (ASI10).\n\n**6. XPIA defense across all data ingestion paths**\nTreat every document, email, web page, database row, and tool output as potentially adversarial. Do not blindly pass retrieved content into the agent context as instructions. Validate, sanitize, and isolate untrusted external content from instructions.\n\n**7. Memory protection**\nValidate and bound agent memory at read and write. Protect against context poisoning (ASI06) — stored memory is an attack surface, not a trusted source. Treat retrieved memory as untrusted input requiring the same scrutiny as external data.\n\n**8. Inter-agent authentication and trust boundaries**\nSign inter-agent messages. Enforce mutual authentication between agents. Define explicit trust boundaries. Use time-boxed tokens. Do not assume messages from other agents are trustworthy by virtue of origin.\n\n**9. Audit logging and observability for all agent actions**\nLog all prompts (or prompt hashes), tool calls, parameters, responses, and decisions. This is non-negotiable for incident response and for detecting drift or rogue behavior. LLM observability platforms (Langfuse, Helicone, etc.) or native platform logging.\n\n**10. Regular threat modeling with MAESTRO and MITRE ATLAS**\nRun a CSA MAESTRO layered analysis at design time. Map attacks to MITRE ATLAS techniques. Re-run threat models when agent capabilities, tools, or integrations change. Purple-team agentic scenarios.\n\n---\n\n## Threat-Modeling Reference: STRIDE Applied to AI\u002FAgents\n\n| STRIDE | AI\u002FAgentic Mapping |\n|--------|-------------------|\n| **S**poofing | Agent impersonation, identity abuse (ASI03) |\n| **T**ampering | Prompt\u002FRAG\u002Fmemory poisoning (LLM04, ASI06), tool definition rug-pulls (ASI04) |\n| **R**epudiation | Missing audit logs for agent actions and tool calls |\n| **I**nformation disclosure | Sensitive info leakage (LLM02), system-prompt leakage (LLM07), data exfiltration via XPIA |\n| **D**enial of service | Unbounded consumption \u002F Denial of Wallet (LLM10), cascading failures (ASI08) |\n| **E**levation of privilege | Excessive agency (LLM06), tool misuse (ASI02), privilege abuse (ASI03) |\n\nAugment STRIDE with MITRE ATLAS technique mapping and CSA MAESTRO layered analysis for comprehensive agentic threat models.\n\n---\n\n## RAG Security Pattern\n\n1. Validate and provenance-tag all ingested content before indexing\n2. Isolate untrusted external content from system instructions\n3. Access-control the vector store per tenant — multi-tenant RAG is a common data leakage path\n4. Check output groundedness — detect when the model departs from retrieved context\n5. Treat all retrieved content as untrusted data, not trusted instructions\n6. Monitor for false RAG entry injection (MITRE ATLAS Spring 2025)\n\n---\n\n## EU AI Act Compliance Checklist\n\n- **Classify all AI systems against Annex III** (high-risk categories including biometric ID, critical infrastructure, employment, education, law enforcement, migration, justice)\n- **Any high-risk classification** triggers: risk management system, data governance, technical documentation, transparency to users, human oversight, accuracy\u002Frobustness\u002Fcybersecurity requirements\n- **GPAI providers** (general-purpose AI): must maintain technical documentation, provide usage policies, comply with copyright law; systemic-risk GPAI adds adversarial testing and incident reporting\n- **Target date: Aug 2, 2026** (plan for original timeline regardless of Digital Omnibus)\n- **ISO\u002FIEC 42001** certification significantly accelerates high-risk compliance\n\n---\n\n## Key Caveats\n\n- EchoLeak, BodySnatcher, Morris II, and Agent Session Smuggling were disclosed vulnerabilities or researcher PoCs — not confirmed in-the-wild exploitation at time of disclosure\n- No single ratified cross-vendor \"OAuth-for-agents\" standard exists as of mid-2026; agent identity remains fragmented\n- The EU AI Act \"Digital Omnibus\" proposal may defer some high-risk timelines, but plan for Aug 2, 2026\n- OWASP labels the Agentic list the \"2026\" edition though it released December 2025 — same document\n- MCP ecosystem vulnerabilities and mitigations are evolving rapidly; re-check current NSA\u002FNIST guidance at implementation time\n- Confidential GPU availability (Azure NCC H100 v5) is region- and SKU-limited — verify current availability before architecting\n- Vendor self-reported metrics (false-positive reductions, analyst-hours saved) should be validated against independent evaluations (MITRE Engenuity ATT&CK, AV-Comparatives)\n",{"name":5,"description":7},"develop","ae32736a1aabddabca5d2c96d665aa0ebc7d8700","src\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fsecurity-principles\u002Fskills\u002Fai-era-security",3,"https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey","https:\u002F\u002Fthe-vibey-project.github.io\u002Fvibey\u002F","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project","https:\u002F\u002Fvibewithadam.matthewsteinberger.com","freedom for software engineers","2026-11-15 05:47:42",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add the-vibey-project\u002Fvibey --skill ai-era-security",{"tool":40,"command":41},"bunx","bunx skills add the-vibey-project\u002Fvibey --skill ai-era-security",{"tool":43,"command":44},"pnpm","pnpm dlx skills add the-vibey-project\u002Fvibey --skill ai-era-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fsecurity-principles\u002Fskills\u002Fai-era-security\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AT1FQJAE1FQYAMDTF490Y4","white-paper-writing","Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks \"how should I structure this\" for a long-form document.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fwhite-paper-writing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AT16BJRJJKK2MASXRZS76G","prose-technical-mechanics","Use when editing or writing prose at a technical\u002Fmechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-technical-mechanics\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AT0W9HT0ZZ9Y287NW99MR3","prose-mechanics","Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate\u002FJamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix \"AI-sounding\" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-mechanics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AT0KR635JX66X2X6F3E2CP","narrative-structure","Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or \"how should I structure this story\u002Fpitch\u002Fpresentation\" request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fnarrative-structure\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AT0AKGW09NKKZDYBT8VRDE","legal-brief-writing","Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic\u002Fneurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Flegal-brief-writing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AT00VWPS4Q8B5VEMXX9NQT","journal-publishability-criteria","Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs\u002Fpaper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fjournal-publishability-criteria\u002FSKILL.md",[],[]]