MLSecOpsHub

Agentic Access Control — AI skill for Claude Code

AI community

Read-only, local-first dashboard showing what your AI agents (Claude Code, Gemini CLI, MCP servers) are actually allowed to do: permission rules with file provenance, MCP server inventory, sandbox & h.

How to install Agentic Access Control

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

What Agentic Access Control does

Read-only, local-first dashboard showing what your AI agents (Claude Code, Gemini CLI, MCP servers) are actually allowed to do: permission rules with file provenance, MCP server inventory, sandbox & hook posture, risk findings, OWASP Agentic Top 10 threat scenarios, and config drift. No enforcement, no telemetry (for now).

Alternatives in AI

  • Hol Guard — Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, M 485 ★
  • Prismor — Self-hosted runtime control plane for AI agents 334 ★
  • Gensee Crate — Run AI harnesses like Claude Code, Codex, Copilot, Antigravity, and Omnigent in disposable workspace forks 123 ★

README

AgentLens — what are the AI agents on this machine allowed to do?

AgentLens finds the AI coding agents installed on a machine — **Claude Code, Gemini CLI, Codex CLI**, plus generic `mcp.json` manifests — reads their permission-relevant configuration **read-only**, and shows in a local dashboard what they are *configured* to be allowed to do: every allow/ask/deny declaration with the file it came from, every MCP server, sandbox and hook posture, risk findings, composed **threat scenarios**, and drift between snapshots.

It never enforces, never edits a config, never sits in the request path, and never sends data anywhere. Every screen says so.

60 seconds to your own posture

git clone https://github.com/MLSecOpsHub/agentic-access-control.git && cd agentic-access-control
npm install
npm run collect      # read-only scan: user configs + cwd + every project Claude Code has been opened in
npm run dev          # dashboard on http://127.0.0.1:3000 (loopback only)

Or, once the npm package is published: `npx @mlsecopshub/agentlens scan` does both (snapshots land in `~/.local/share/agentlens`; `--open` launches a browser). For CI: `agentlens check --format sarif --fail-on high` prints a SARIF report and exits 1 at or above the threshold.

What to look at first:

  1. Overview — instances per platform, declaration counts, MCP servers, findings by severity, drift since the last snapshot.
  2. /agents/ — one instance's merged declarations in the platform's documented evaluation order (Claude Code: deny → ask → allow across all tiers), each row traceable to its source file; sandbox fields and hooks with per-field provenance; per-platform mapping notes for what does not map onto rules.
  3. /threat-model — findings composed into cited attack paths (S1 unpinned MCP server → shell → credential env; S2 bypassed gating; S3 remote-content hook chain; S4 unreviewed project takeover). Every precondition names its file; every scenario carries the same c