Vol. I · 2026
RAGrets

No RAGrets, yet another AI security blog

Knowledge

The reference shelf

Background the posts lean on. Each entry explains one piece of an AI system, what it trusts, and what tends to go wrong with it. Updated when the picture changes, not on a schedule.

Agents

  • MCP servers

    What the Model Context Protocol actually hands a model, where the trust boundaries fall between client, server, and the thing the server wraps, and what to read before installing one.

    4 min read · mcp · agents · tools · supply-chain

Architecture

  • AI system architecture

    The layers a production AI application is built from, what each one does, and what each one gives away to someone mapping the system from the outside. An attacker's reconnaissance checklist that doubles as the owner's inventory.

    6 min read · architecture · reconnaissance · agents · inference · mcp

Attacks

  • Prompt injection

    Why text that a model reads can end up acting like an instruction, how direct and indirect injection differ, and which defences actually change the outcome.

    4 min read · prompt-injection · llm · agents

Foundations

  • Linear regression

    The oldest supervised learning algorithm and still the first thing to try on a numeric target. How the line gets fitted, what the coefficients mean, which assumptions it quietly makes, and why its simplicity makes it easy to steal and easy to poison.

    6 min read · machine-learning · fundamentals · regression · evaluation

  • Supervised learning

    Training a model on examples that already have the answer attached. The vocabulary you need to read a model card or a vendor's accuracy claim, and the parts that matter when the model is a security control or a target.

    8 min read · machine-learning · fundamentals · training · evaluation

Retrieval

  • Anatomy of a RAG pipeline

    The stages every retrieval-augmented generation system has, what each one trusts, and the question to ask at each stage before you trust the answer it gives.

    3 min read · rag · vector-db · retrieval · access-control