agent-sec
UnexploredZero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.
Install
mcp_config.json
{
"mcpServers": {
"ai-kernora-agent-sec": {
"url": "https://agentsec.kernora.ai/mcp",
"type": "streamable-http"
}
}
}Documentation
Kernora Agent Security
A zero-install security baseline for AI coding agents. Point Claude Code, Cursor, or any
MCP-capable agent at one URL and it reads a curated, cited security baseline every session (via a minimal JSON-RPC-over-HTTP MCP subset — works with Claude Code today) — so it
stops shipping the mistakes that cause incidents (a hardcoded secret, a curl | bash, a
prompt-injected "send this to that URL"). When it catches one, it cites the exact rule.
Advisory grounding, free and open. Real-time blocking against your organization's own decisions — plus a tamper-evident audit ledger for EU AI Act / SOC-2 — is the paid Kernora Axiora Integrity Plane.
Live: https://agentsec.kernora.ai
Connect in one line
Add it as an MCP server in your agent's config:
{
"mcpServers": {
"agentsec": { "url": "https://agentsec.kernora.ai/mcp" }
}
}
That's it — no install, no signup. It's read-only: get_security_baseline sends nothing, and check_action sends only the short action text you choose to pass it (never your files, repo, or environment).
Tools exposed:
get_security_baseline— the full known-good rule set.check_action— pass an action/command; get back the baseline rules that apply, so the agent can self-correct. Advisory only — it does not block.
Or read the rules directly: /baseline.json ·
/baseline.yaml
What's inside
15 rules across categories including secrets, injection, supply-chain, destructive ops, permissions, transport, data protection, exfiltration, authz, and VCS safety. Every rule cites a real source — OWASP (incl. the LLM Top 10), CWE identifiers, and regulations (EU AI Act, PCI-DSS, HIPAA).
Self-host
It's a single Cloudflare Worker with no dependencies, no storage, and no secrets.
npm install -g wrangler # if needed
npm test # runs the local test suite (node test.mjs)
wrangler deploy # deploy to your own Cloudflare account
Air-gapped or privacy-strict? Run it on your own infrastructure and point your agents at it.
Free grounds. Paid blocks.
| Kernora Agent Security (this, free) | Kernora Axiora — Integrity Plane (paid) | |
|---|---|---|
| What | Grounds the agent: it knows the baseline and cites it | Blocks in real time against your org's decisions |
| How | Advisory MCP grounding | Tiered verifier, real-time block + attested audit ledger |
| For | Any developer, any agent | Enterprises with agent fleets and compliance obligations |
Talk to us about blocking + attestation: hello@kernora.ai
How it relates to endpoint monitors
Endpoint agent monitors (e.g. Perplexity's Numbat) watch for generically suspicious behavior. Kernora Agent Security supplies what they lack: what's known-good for your codebase. The two are complementary — this project can even export its rules for a monitor to enforce.
Honesty note
This endpoint provides advisory grounding only. A matched rule is guidance; an unmatched action is not an assurance of safety. Real-time enforcement and audit are the paid Integrity Plane.
Claude Code plugin (optional, one command)
Instead of the manual MCP config, install the plugin — it bundles the MCP server, a skill that tells your agent to consult the baseline, an advisory PreToolUse hook (warns before risky commands), and helper commands:
/plugin marketplace add kernora-ai/agent-sec
/plugin install kernora-agent-security
Commands: /agentsec-rules (show every rule), /agentsec-check <action>, /agentsec-report (a LOCAL
view of how many risky actions it caught — nothing is sent to us). Disable the hook anytime with
AGENTSEC_HOOK=0.
See every rule / how effective / how to remove
- See the rules: readable at https://agentsec.kernora.ai/rules · raw at
/baseline.json(or.yaml) · or theget_security_baselineMCP tool. Nothing is hidden. - Effectiveness / reporting: the free tier is stateless and private — we store nothing. The plugin
logs flags LOCALLY (
~/.agentsec/flags.log);/agentsec-reportsummarizes them. Full per-action reporting with a tamper-evident audit ledger is the paid Kernora Axiora plane. - Remove it: Claude Code —
claude mcp remove agentsec(+/plugin uninstall kernora-agent-securityif installed). Cursor — delete theagentsecentry from~/.cursor/mcp.jsonand restart. It's read-only and stores nothing, so nothing is left behind.
About
Kernora Agent Security is built by Kernora on the open Factlet Protocol. Licensed Apache-2.0 (see LICENSE).
Sourced from the repository README.
More in AI & Agents
- PonytailMakes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.109,599
- AgentsMulti-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Google Antigravity39,079
- Frontend SlidesCreate beautiful slides on the web using a coding agent's frontend skills28,060
- Agent Skills Search ServerSearch and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.24,658
- Agency Agents Zh🎭 267 个即插即用的 AI 专家角色 — 支持 Hermes Agent/Claude Code/Cursor/Copilot 等 18 种工具,覆盖工程/设计/营销/金融等 20 个部门。含 52 个中国市场原创智能体(小红书/抖音/微信/飞书/钉钉等)。搭配编排器 agency-orchestrator,一句话即可让多位专家按 DAG 自动协作。19,868
- Watermarks RemoverStrip multi-vendor AI provenance marks: Unicode text hygiene, statistical rewrite hooks, and C2PA/metadata from PNG/JPEG/SVG/PDF/DOCX/HTML/MD17,822