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 分