Agent Sec

ai.kernora由 kernora.ai 发布官方发布者v0.1.0更新于 Oct 24, 2026

Zero-install security baseline for AI coding agents — OWASP/CWE-cited rules over MCP.

已验证Streamable HTTP可网页运行开发者工具安全与监控

概览

AI 生成的概览

一个免安装的远程 MCP 服务器,为 AI 编程代理提供带引用的安全基线,并对代理即将执行的操作给出建议性检查。

可以做什么
获取完整的精选安全基线规则集,涵盖密钥、注入、供应链、破坏性操作、权限、传输、数据保护、数据外泄、授权和版本控制安全,每条规则均引用 OWASP、CWE 或法规来源。提交一段描述的操作或命令,返回可能适用的基线规则,让代理在继续前自行纠正。
适用场景
适合希望编程代理在会话中参考已知良好安全清单的场景,例如发现硬编码密钥、管道执行安装脚本或提示注入式外泄尝试。它只是建议性依据而非强制执行,适合想要指导而非阻断控制的开发者。
运行要求
远程 MCP 端点;无需安装、注册、API 密钥或环境变量。README 说明目前可与 Claude Code 配合使用,也可作为 Cloudflare Worker 自行托管。
安装前请注意
仅为建议:不会阻止操作,未匹配到规则也不代表安全。check_action 会将你传入的简短操作文本发送到远程服务,请避免包含密钥或敏感代码。实时阻断与审计账本属于另一款付费产品。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Agent Sec,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.kernora%2Fagent-sec/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "agent-sec": {
      "type": "http",
      "url": "https://agentsec.kernora.ai/mcp"
    }
  }
}

README

Kernora Agent Security

[Add to Cursor] [MCP] [License]

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:

json
{  "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.

bash
npm install -g wrangler   # if needednpm 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)
WhatGrounds the agent: it knows the baseline and cites itBlocks in real time against your org's decisions
HowAdvisory MCP groundingTiered verifier, real-time block + attested audit ledger
ForAny developer, any agentEnterprises with agent fleets and compliance obligations

Talk to us about blocking + attestation: [email protected]

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 the get_security_baseline MCP 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-report summarizes 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-security if installed). Cursor — delete the agentsec entry from ~/.cursor/mcp.json and 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).

来源:README.md,提交 32b1d09

工具

2

get_security_baseline

Return Kernora Agent Security's curated security baseline — the known-good rules an AI coding agent should follow (secrets, injection, supply-chain, destructive ops, data protection). Advisory grounding.

无需输入参数。

check_action

Advisory check: given a described action or command the agent is about to take, return the baseline security factlets that plausibly apply, so the agent can self-correct. Advisory only — does NOT block. Real-time blocking is Kernora Agent Security's paid Integrity Plane.

输入参数action必填

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分