AI Security · 82 articles

AI Security

AI / LLM security — prompt injection, data poisoning, agent threat models, building trustworthy AI, optimisation, and the architecture of trending AI products.

AI Security

AI Supply Chain — Hugging Face Hijacks, Pickle Attacks, Model Card Poisoning

You download a model from Hugging Face. The model file format (Pickle) supports arbitrary code execution on load. The model card lies…

Apr 29, 2026 · 8 min read
AI Security

Build Your Own Local LLM — Ollama, vLLM, llama.cpp from Scratch

Self-hosting an LLM costs less than ChatGPT Plus, runs on a gaming laptop, and gives you full data sovereignty (DPDP-compliant out of…

Apr 29, 2026 · 9 min read
AI Security

AI Compliance for India — DPDP, RBI, SEBI, EU AI Act Basics

India's AI regulation in 2026 is fragmented but tightening: DPDP Act 2023 covers training data and inference, RBI has AI guidance for…

Apr 29, 2026 · 10 min read
AI Security

RAG Security — Vector Store Leaks, Retrieval Hijacks, Embedding Inversion

Retrieval-Augmented Generation looks like a clean architecture: store docs as vectors, retrieve relevant ones at query time, feed to LLM. The security…

Apr 29, 2026 · 10 min read
AI Security

Trending AI Stack 2026 — Tools, Frameworks, Architecture Patterns

A practitioner's tour of what is actually being deployed in production AI systems in 2026: model providers, agent frameworks, vector databases, observability,…

Apr 29, 2026 · 8 min read
AI Security

Fine-tuning Safety — LoRA, SFT, and RLHF Explained for Security Teams

Fine-tuning sounds like configuration. It is not — it is a destructive operation that can degrade safety properties of the base model.…

Apr 29, 2026 · 9 min read
AI Security

Building Like Cursor / Perplexity / v0 — Backend Architecture of Trending AI Tools

Cursor, Perplexity, v0, Claude Artifacts, Lovable — the products defining 2026 AI UX. Their backends share patterns: streaming LLM gateways, smart context…

Apr 29, 2026 · 9 min read
AI Security

AI Agent Security — Tool Use, MCP Servers, and the Confused Deputy Problem

Agents are LLMs given the ability to call tools — search the web, run code, send email, update databases. Every tool the…

Apr 29, 2026 · 10 min read
AI Security

Build Your Own ChatGPT Wrapper Safely — Architecture, Auth, Rate Limit, Logging

Half the SaaS launches in 2024-2025 were "ChatGPT for X." Most shipped with embarrassing security gaps: hardcoded API keys, no rate limiting,…

Apr 29, 2026 · 10 min read
AI Security

Self-Hosting Llama / Mistral / Qwen — vLLM vs Ollama vs llama.cpp Benchmarks

Three serious LLM runtimes, three different sweet spots. Ollama for developers and single-user. llama.cpp for edge and embedded. vLLM for production multi-user…

Apr 29, 2026 · 9 min read