MarcelRoozekrans

AI.Sentinel — Security skill for Claude Code

Security community

Security monitoring middleware for IChatClient (Microsoft.Extensions.AI).

How to install AI.Sentinel

This entry records only its repository, not the path inside it, so there is no exact command to give. Open MarcelRoozekrans/AI.Sentinel and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI.Sentinel does

Security monitoring middleware for IChatClient (Microsoft.Extensions.AI). 55 detectors for prompt injection, hallucination, PII leakage, and operational anomalies. Intervention engine, embedded dashboard, audit forwarders to Azure Sentinel + OpenTelemetry. Drop-in middleware for any LLM client.

Alternatives in Security

  • ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
  • Spec Check — Audit GWT acceptance test specs for implementation leakage 149 ★
  • Sovereign Skills — 20 production-grade skills for AI coding agents — setup, scope, discipline, code review, security, session man 125 ★

README

AI.Sentinel logo

AI.Sentinel

[![CI](https://github.com/MarcelRoozekrans/AI.Sentinel/actions/workflows/ci.yml/badge.svg)](https://github.com/MarcelRoozekrans/AI.Sentinel/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/MarcelRoozekrans/AI.Sentinel/graph/badge.svg)](https://codecov.io/gh/MarcelRoozekrans/AI.Sentinel) [![NuGet](https://img.shields.io/nuget/v/AI.Sentinel.svg?label=AI.Sentinel)](https://www.nuget.org/packages/AI.Sentinel) [![Downloads](https://img.shields.io/nuget/dt/AI.Sentinel.svg)](https://www.nuget.org/packages/AI.Sentinel) [![License: MIT](https://img.shields.io/github/license/MarcelRoozekrans/AI.Sentinel.svg?color=blue)](LICENSE) [![Docs](https://img.shields.io/badge/docs-marcelroozekrans.github.io-blue)](https://marcelroozekrans.github.io/AI.Sentinel/) [![Sponsor](https://img.shields.io/badge/sponsor-%E2%9D%A4-ec4899?logo=githubsponsors)](https://github.com/sponsors/MarcelRoozekrans)

Security monitoring middleware for `IChatClient` ([Microsoft.Extensions.AI](https://learn.microsoft.com/en-us/dotnet/ai/microsoft-extensions-ai)). Wraps any LLM client transparently, scans every prompt and response through 56 detectors, plus 4 opt-in EU AI Act Art. 5 compliance detectors, and blocks, alerts, or logs threats — with an embedded real-time dashboard.

**Not building on `IChatClient`?** AI.Sentinel also ships as a drop-in hook for [Claude Code](#claude-code) (`sentinel-hook`), [GitHub Copilot](#github-copilot) (`sentinel-copilot-hook`), and any [MCP](#mcp-proxy) host — Cursor, Continue, Cline, Windsurf — via the `sentinel-mcp` stdio proxy. Same detectors, same audit trail, zero code changes in the host.

**Approval workflows for high-stakes tool calls** (`delete_database`, `send_payment`, `rotate_secrets`) — pluggable backends include in-memory, SQLite (persists across CLI invocations), and **native Microsoft Entra PIM** (approvers act in the portal they already use). Ope