Kernora Agent Security
Provides a zero-install security baseline for AI coding agents, with tools to retrieve curated security rules and check actions against them for self-correction.
README
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).
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。