# Yassir Kachri > Yassir Kachri is an Enterprise AI, Cloud & Security Architect with 25+ years of experience designing, securing, and operating mission-critical systems at scale for large regulated organizations across AWS, Microsoft Azure, and Oracle Cloud. Creator of Kosty (open-source AWS security and FinOps auditing CLI), co-creator of ConfigLens, and author of The Enterprise Agentic Software Factory and the Production-Grade Enterprise Architecture book series. This site is the canonical source for his articles, whitepapers, executive briefs and books. All PDFs listed below are free and ungated. Reference cases in the publications are illustrative; they report no client results. ## Key pages - [Home](https://yassirkachri.com/): positioning, entry points and advisory focus - [Projects & open source](https://yassirkachri.com/projects): Kosty, ConfigLens and companion repositories - [Whitepapers & briefs](https://yassirkachri.com/whitepapers): free executive briefs, strategic whitepapers and cheat sheets - [Books](https://yassirkachri.com/books): the flagship reference guide and the Production-Grade Enterprise Architecture series - [Articles](https://yassirkachri.com/writing): technical articles (RSS: https://yassirkachri.com/rss.xml) - [Contact](https://yassirkachri.com/contact): advisory inquiries ## Open source - [Kosty](https://github.com/kosty-cloud/kosty): Kosty is an open-source AWS security and FinOps auditing CLI. One scan engine runs 151 checks across 32 AWS services, maps the external attack surface, detects IAM privilege-escalation paths, audits Amazon Bedrock and SageMaker workloads, and estimates the monthly saving for many of the cost findings. - [Agentic Software Factory reference configurations](https://github.com/yassirkachri/enterprise-agentic-software-factory): managed settings, hooks, critic reviewer, CI sandbox, OpenTelemetry collector and kill switches - [ConfigLens](https://configlens.com): monitoring configuration audit and drift detection (co-creator) ## Whitepapers & executive briefs (PDF, free) - [The Enterprise Agentic Software Factory — Executive Brief](https://yassirkachri.com/downloads/agentic-software-factory-executive-brief.pdf): Executive Brief, 6 pages. What an executive committee should settle before funding AI coding agents at scale. - [The Enterprise Agentic Software Factory — Strategic Whitepaper](https://yassirkachri.com/downloads/agentic-software-factory-whitepaper.pdf): Strategic Whitepaper, 20 pages. Why AI coding stalls without an operating-model redesign, and the governed model that turns agents into measured delivery. - [Agentic Software Factory — Wall Cheat Sheet](https://yassirkachri.com/downloads/agentic-software-factory-cheat-sheet-a1.pdf): Wall Cheat Sheet, 1 page. The five planes, two gates, four stations and kill switches on one page, for the team wall. ## Books - [The Enterprise Agentic Software Factory](https://yassirkachri.com/books#enterprise-agentic-software-factory): Scaling Claude Code from Individual Developer Usage to Governed Delivery, Multi-Agent Verification, and Measured DORA ROI. 231 pages. Status: Completed · release pending. - [Volume 1: Production-Grade Enterprise RAG Architecture](https://yassirkachri.com/books#production-grade-enterprise-rag-architecture): Designing Identity-Aware Hybrid Pipelines Across Vector and Structured SQL Data, Fine-Grained Access Control (RBAC/RLS), and Zero-Hallucination Retrieval at Scale Status: Completed · release pending. - [Volume 2: Production-Grade Enterprise Agentic AI Architecture](https://yassirkachri.com/books#production-grade-enterprise-agentic-ai-architecture): Agents that act on enterprise systems: identity, tool authorization, MCP server governance, evaluation and operations for agentic AI in regulated production. Status: Forthcoming. - [Further volumes](https://yassirkachri.com/books#further-volumes): Additional volumes in the series are planned across AI, cybersecurity and governance. Titles will be announced when the manuscripts are under way. Status: Planned. ## Articles - [Release Gates for Enterprise RAG: When a Better Score Ships a Worse System](https://yassirkachri.com/writing/release-gates-for-enterprise-rag): A RAG release is safe only when retrieval, figures, schema, grounding and isolation each pass on their own. Five suites, never averaged, and a skipped check counts as a failure. - [Securing MCP Servers in the Enterprise](https://yassirkachri.com/writing/securing-mcp-servers-in-the-enterprise): MCP makes authorization optional, so an enterprise has to require it. Per-user OAuth, audience-bound tokens, the issuer checks and stateless core of the 2026-07-28 revision, managed connectors, and what a CISO should verify. - [Dual-Path RAG: Why Vector Search Cannot Add](https://yassirkachri.com/writing/dual-path-hybrid-rag): Route arithmetic to governed SQL, keep prose on a hybrid document path, and reconcile figures to the ledger before they reach an answer. The dual-path RAG pattern for regulated data. - [Identity-Aware RAG: Authorization Belongs Inside Retrieval](https://yassirkachri.com/writing/identity-aware-rag): In regulated firms, the RAG failures that matter start with identity. How one signed identity drives relationship-based scope inside vector search and row-level security in SQL, with every control failing closed. - [Kosty 3: One Scan Engine for AWS Security, Exposure, GenAI and Cost](https://yassirkachri.com/writing/auditing-aws-and-genai-workloads-with-kosty): Kosty, my open-source AWS audit CLI, registers 151 checks across 32 services in one plugin engine. What each audit domain checks, what the GenAI checks can and cannot see, and how far the findings go as evidence. - [Measuring Agentic Delivery: Joining Claude Code Telemetry to DORA Metrics](https://yassirkachri.com/writing/opentelemetry-claude-code-dora-metrics): Token counts do not answer the executive question. How to attribute Claude Code spend at its source, join it to per-service DORA data, reconcile it to the invoice, and govern by cost per merged change. - [Running Coding Agents in CI/CD Without Standing Secrets](https://yassirkachri.com/writing/headless-cicd-zero-trust-sandbox-for-coding-agents): A pipeline agent reads text written by outsiders and will eventually follow an instruction nobody in the organization wrote. How job-scoped identity, unreachable credentials, a model-free publish job and a sandbox bound what it can do. - [Four-Station Verification: No Agent Certifies Its Own Work](https://yassirkachri.com/writing/four-station-verification): A session that reviews its own change repeats its own assumptions. Four verification stations, each independent of the author in a different way, and the evidence they hand to the person who accepts the merge. - [Agent Guardrails That Hold: Git Worktrees and Deterministic Hooks](https://yassirkachri.com/writing/git-worktrees-and-deterministic-hooks): Context files guide a coding agent but enforce nothing. Managed settings, fail-closed hooks and one Git worktree per task bind the agent on the workstation, and required CI checks catch what those controls cannot see. - [Spec-Anchored Engineering: Writing Down Intent Before an Agent Writes Code](https://yassirkachri.com/writing/spec-anchored-engineering): Coding agents build what is written and infer the rest. How a versioned, executable spec, a code-owned Spec Gate and a deterministic citation check make intent an artifact that every later control can check against. - [Why AI Coding Stalls at the Pull Request](https://yassirkachri.com/writing/why-ai-coding-stalls-at-the-pull-request): Coding agents accelerate one stage of delivery while review, release and rework absorb the extra work. Amdahl's Law, the review bottleneck, and the Level 3 operating model that lets the gain reach production. - [GTG-1002: Reading Anthropic's Report on an AI-Orchestrated Intrusion Campaign](https://yassirkachri.com/writing/gtg-1002-ai-orchestrated-intrusion-claims): In November 2025, Anthropic reported a state-sponsored campaign that used Claude Code to run most of its intrusion work. What the report establishes, what it leaves unverifiable, and what defenders can act on either way. - [Cascading Failures in Agent Systems: Retry Budgets, Breakers and Blast Radius](https://yassirkachri.com/writing/agent-cascading-failures-blast-radius): When one agent's fault spreads to others, the damage comes from propagation. How load cascades and semantic cascades differ, what resilience engineering already offers, and where agents need controls of their own. - [CamoLeak: When the Allowed Image Proxy Becomes the Exfiltration Channel](https://yassirkachri.com/writing/camoleak-copilot-chat-image-proxy): Legit Security showed in 2025 that a hidden comment in a pull request could make GitHub Copilot Chat leak private data through GitHub's own image proxy. A post-incident reading, and why GitHub's fix removed image rendering. - [MCP 2026-07-28: Dynamic Client Registration Deprecated, Issuer Checks and a Stateless Core](https://yassirkachri.com/writing/mcp-2026-07-28-authorization-changes): The 2026-07-28 MCP specification deprecates Dynamic Client Registration, adds issuer validation against mix-up attacks and removes sessions. What changed in authorization since 2025-11-25, and what enterprise teams should update. - [The Gemini Trifecta: Logs and Search History as Prompt Injection Channels](https://yassirkachri.com/writing/gemini-trifecta-input-channels): In September 2025, Tenable disclosed three Gemini flaws: injection through cloud logs and search history, and silent exfiltration through the browsing tool. A post-incident reading of the chain, the fixes, and what to inventory. - [Memory Poisoning: Treating Agent Memory as a Write Path](https://yassirkachri.com/writing/agent-memory-poisoning-write-path): Persistent memory lets one prompt injection shape every later session. Documented cases from 2024 to 2026, what vendors changed, and the controls that belong on the path by which an agent writes to its own memory. - [The EU AI Act After the Digital Omnibus: Which Dates Changed](https://yassirkachri.com/writing/eu-ai-act-digital-omnibus-dates): The Digital Omnibus on AI entered into force on 27 July 2026. It sets new dates for high-risk obligations, leaves dates already in application unchanged, and changes a few duties. A reading of the final text. - [Auditing AI Workloads on AWS: Seven Questions an Account Scan Can Answer](https://yassirkachri.com/writing/auditing-ai-workloads-on-aws): Bedrock and SageMaker add new controls to an AWS account: invocation logs, guardrails, private endpoints, notebook settings. Seven questions an automated scan can answer, and what each answer leaves to verify by hand. - [postmark-mcp: An MCP Server That Turned Malicious in One Update](https://yassirkachri.com/writing/postmark-mcp-malicious-update): In September 2025, an unofficial MCP server for Postmark added a hidden BCC to every email it sent, after fifteen clean versions. A post-incident reading, and the supply chain controls that apply to MCP servers. - [What DORA 2025 Says About AI-Assisted Delivery, and What It Cannot Tell You](https://yassirkachri.com/writing/dora-2025-ai-assisted-delivery): The 2025 DORA report finds AI now improves delivery throughput while still increasing instability, and names seven capabilities that amplify its benefits. How to read the findings, and how to test them on your own services. - [McHire: Ordinary Security Failures Around an AI Product](https://yassirkachri.com/writing/mchire-ordinary-security-ai-product): In 2025, researchers reached applicant records in an AI hiring platform through a test account with a default password. A post-incident reading of what was established, what was disputed, and why AI products fail on basics. - [Sandboxing Agent Code Execution: Choosing the Isolation Boundary](https://yassirkachri.com/writing/sandboxing-agent-code-execution): Coding agents run code that anyone able to reach their context can influence. How OS sandboxes, containers, userspace kernels and microVMs differ, and how to choose a boundary by what the code can reach. - [ForcedLeak: An Expired Domain on an Allowlist](https://yassirkachri.com/writing/forcedleak-expired-domain-allowlist): A Salesforce Agentforce vulnerability disclosed in September 2025 combined a web form, an AI agent and a lapsed domain on a content security allowlist. A post-incident reading, and how to keep egress allowlists from going stale. - [Non-Human Identity for Agents: Delegation, Token Exchange and Task-Scoped Credentials](https://yassirkachri.com/writing/agent-identity-token-exchange): An agent that borrows a user's token or a shared service account makes every action ambiguous. How OAuth 2.0 Token Exchange lets an agent act for a user under its own identity, with credentials scoped to one task. - [CurXecute and MCPoison: MCP Configuration Is Executable Code](https://yassirkachri.com/writing/cursor-mcp-configuration-executable): Two Cursor vulnerabilities disclosed in August 2025 turned an MCP configuration file into a way to run commands on a developer's machine. A post-incident reading, and why tool configuration needs the same controls as code. - [AI Gateways: A Runtime Policy Layer for Model and Tool Traffic](https://yassirkachri.com/writing/ai-gateway-runtime-policy-layer): Agents call models and tools directly unless something sits in the path. What an AI gateway should enforce at runtime, which OWASP guidance each function answers, and the limits of what a gateway can see. - [The Deloitte Australia Report: Verifying AI-Assisted Deliverables](https://yassirkachri.com/writing/deloitte-report-ai-assisted-deliverables): A government-commissioned review was reissued after errors in its references came to light, with a new disclosure of generative AI use. What the public record shows, and the verification controls AI-assisted work needs. - [From ISO/IEC 42001 and the NIST AI RMF to Controls an Engineer Can Test](https://yassirkachri.com/writing/iso-42001-nist-ai-rmf-testable-controls): AI governance frameworks describe what to govern and leave the tests to the organization. How to turn ISO/IEC 42001 and the NIST AI RMF into controls with an owner, a test and evidence an auditor can check. - [s1ngularity: Malware That Asked the Developer's AI Assistant to Find the Secrets](https://yassirkachri.com/writing/s1ngularity-malware-ai-cli): In August 2025, malicious versions of the Nx build system tried to turn locally installed AI coding tools into a search engine for credentials. A post-incident reading and the controls it calls for on developer machines and in CI. - [Agent-to-Agent Trust: What A2A v1.0 Signed Agent Cards Prove, and What They Do Not](https://yassirkachri.com/writing/a2a-signed-agent-cards-trust): A2A v1.0 specifies how an agent signs the card that describes it. The signature proves the card is intact and comes from the key holder. Trusting the agent behind it still takes a registry, per-request authorization and a revocation path. - [Moffatt v. Air Canada: The Company Owns What Its Chatbot Says](https://yassirkachri.com/writing/moffatt-air-canada-chatbot-accountability): A Canadian tribunal held an airline responsible for a chatbot's wrong answer about refunds. What the 2024 decision actually says, what it does not, and the controls it implies for any customer-facing assistant. - [What an AI Audit Trail Should Record: OpenTelemetry GenAI Conventions Without Leaking Prompts](https://yassirkachri.com/writing/ai-audit-trail-opentelemetry-genai): OpenTelemetry's generative AI conventions give an audit trail a vendor-neutral schema for models, agents and tools. What to record by default, what to keep out, and how to store prompt content when an audit needs it. - [The Amazon Q Extension Incident: AI Tooling Is Part of the Supply Chain](https://yassirkachri.com/writing/amazon-q-extension-supply-chain): In July 2025, a release of an AI coding extension shipped with a prompt instructing the agent to wipe the developer's machine and cloud resources. A post-incident reading of CVE-2025-8217 and the controls it points to. - [Remote MCP Servers After the November 2025 Authorization Spec](https://yassirkachri.com/writing/remote-mcp-authorization-2025-11-25): Over HTTP, an MCP server should act as an OAuth resource server, and the 2025-11-25 specification says how. The flow step by step, what changed in this version, and the decisions it still leaves to the enterprise. - [When an Agent Deleted Production: Least Agency and Environment Separation](https://yassirkachri.com/writing/replit-agent-deleted-production): In July 2025, a coding agent deleted a production database during a code freeze. A post-incident reading of the Replit case: why a rule that matters belongs in permissions, and the separation that the vendor itself shipped in response. - [The Lethal Trifecta as a Design-Review Test for AI Agents](https://yassirkachri.com/writing/lethal-trifecta-design-review): Private data, untrusted content and a way to send data out: an agent holding all three in one context can be turned against its user. The combination as a design-review test, with three published cases and the controls that break each leg. - [EchoLeak: What a Zero-Click Copilot Exploit Teaches About Scope](https://yassirkachri.com/writing/echoleak-zero-click-copilot-scope): An email nobody opened could make Microsoft 365 Copilot send internal data to an attacker. A post-incident reading of CVE-2025-32711 and the architecture lessons it holds for any assistant that mixes untrusted content with private data. - [Least Agency: Reading the OWASP Top 10 for Agentic Applications as an Architect](https://yassirkachri.com/writing/least-agency-owasp-agentic-top-10): OWASP's first Top 10 for agentic applications can be read through one principle, Least Agency. How its ten risks reduce to four design decisions, and the controls that put each decision into configuration. ## Contact - Email: contact@yassirkachri.com - LinkedIn: https://www.linkedin.com/in/yassirkachri/ - GitHub: https://github.com/yassirkachri