llm-security
LLM Security
Overview
Security for AI agents and LLM-backed applications. The fundamental threat: the boundary between instructions and data does not exist at the model layer. When an LLM reads untrusted text — web pages, tool results, emails, wiki content, vector-store retrievals, mailbox contents — that text can carry executable instructions that the model will follow with whatever permissions the surrounding system grants. This is indirect prompt injection (XPIA), and it is the dominant attack surface for agentic systems in 2026.
Mitigations are architectural, not prompt-level. No prompt is robust enough to be the only defense. Build systems that assume the model has been compromised and constrain the blast radius — that's the Dual LLM Architecture this skill headlines.
Companion skills:
python-auth-security— Python web-app auth (OAuth/OIDC/SAML/JWT) at the API layerwindows-sso— enterprise SSO infrastructurems-office-enterprise-sso-python— Python client-side enterprise authcross-project-mail— the one in-house pattern that already wraps untrusted text in<user_data>delimiters