
AgentSecurityLens MCP Security Trust Check
io.github.professor2k8由 GitHub 帳號 professor2k8 發布v0.1.12更新於 Oct 24, 2026
MCP security trust-check for agents before installing MCPs, Skills or tools.
概覽
一個本機 MCP 伺服器,讓助理在啟用其他 MCP、技能、工具或工作流程之前,取得安裝前信任檢查與安全安裝決策。
- 可以做什麼
- 取得代理安裝策略,並檢查線上或本機情報是否可用,線上時會記錄一次最小啟用事件。評估擬安裝的元件與安裝情境,回傳決策、信任分數、風險訊號與安全安裝計畫。查詢已知元件情報,並取得有證據支持的替代方案或緩解措施。提交未知元件的公開中繼資料以供研究,並查詢其審查狀態。回報安裝結果與決策回饋。探索並掃描本機的代理、MCP 與技能環境,作為備援評估。
- 適用情境
- 當助理要安裝或啟用第三方 MCP 伺服器、技能、工具、提示詞包、工作流程或記憶元件,而你希望在繼續之前取得可機器讀取的允許、限制、詢問使用者或避免決策時使用。也適合稽核工作區中已安裝的內容。
- 執行需求
- 透過 npm 套件 agent-security-lens 以 stdio 在本機執行,需要 Node.js 20 或更新版本。預設透過 ASL_API_URL(或多個端點時用 ASL_API_URLS)使用線上情報;ASL_API_KEY 對 Team、Pro 或 Enterprise 使用者為選用。將 ASL_MODE 設為 local 可離線備援到有限基準。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AgentSecurityLens MCP Security Trust Check,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
AgentSecurityLens
AgentSecurityLens (ASL) is an MCP security trust-check server for autonomous agents.
Before an agent installs or enables an MCP, Skill, tool, prompt bundle, workflow, or memory component, it can ask ASL for a machine-readable safe-install decision.
ASL is not a malware verdict tool. It returns observable risk signals, required controls, safer alternatives or mitigation paths, and a decision contract an agent can execute.
For Autonomous Agents
When you plan to install or enable an MCP, Skill, tool, prompt bundle, workflow or memory component:
- Run
mcp-security-lens ...,agent-security-lens-review ..., or call the MCP toolreview_before_install. - Read
agent_decision_contract. - Do not install automatically when
automatic_install_allowedisfalse. - Apply every
safe_install_planitem before restricted installs. - Prefer
recommended_alternativeswhen ASL returnsavoid,ask_user, or missing controls. - Report the final outcome with
report_install_outcome.
Machine-readable agent instructions are also available in AGENTS.md.
Agent Quick Install
Check whether ASL can reach online intelligence and what local fallback is available:
Try one pre-install decision first:
The command returns an agent-readable decision, trust score, risk signals, safe install plan, and whether automatic installation is allowed.
If your shell does not expose npm temporary binaries correctly, use npm install -g agent-security-lens once, then run the same command without npx -y.
More copy-ready calls:
Add ASL as a pre-install trust check MCP:
Then give the agent this policy:
See Agent install guide for Claude Desktop, Cursor, Codex-style and generic MCP configurations.
Copy-ready files:
Public Intelligence
The public package includes a reviewed baseline so agents can still make conservative decisions when the cloud API is unavailable.
- Public Security Index v0.1
- Top MCP Security Signals v0.1
- Top Skill Security Signals v0.1
- Agent Framework Install Decisions v0.1
- MCP First-Call Examples v0.1
The online ASL intelligence API serves the current expanded catalog. The npm package intentionally does not ship the complete private intelligence database.
Basic MCP Config
Node.js 20 or newer is required.
Online Configuration
The public MCP uses online intelligence by default:
ASL_API_URLS may contain multiple comma-separated endpoints. The MCP tries them in order and falls back automatically.
Agent Policy
Agents should call get_install_policy after connecting, then call review_before_install before every component installation.
The policy call records a minimal activation event for product health and abuse monitoring when online mode is enabled. It does not send private files, local paths, secrets, tokens or code. Set ASL_DISABLE_USAGE_TELEMETRY=1 to disable this usage event.
Unknown or incompletely reviewed components never receive automatic-install authorization.
Recommended instruction:
MCP Tools
get_install_policy: returns the current Agent execution policy and records a minimal first-call activation event.get_intelligence_status: reports online or local intelligence status for MCP clients.review_before_install: evaluates a proposed component and installation context.check_component: retrieves known component intelligence.recommend_alternatives: returns evidence-backed alternatives and mitigations.submit_unknown_component: submits public metadata for research.get_research_status: checks whether an unknown component has been reviewed.report_install_outcome: reports the result of an Agent action.submit_decision_feedback: reports useful, incorrect, or incomplete decisions.discover_workspace: discovers Agent, MCP, and Skill environments.scan_workspace: performs a local fallback assessment.
Decision Contract
Example request:
Example response shape:
Agents must execute the structured fields rather than infer policy from prose.
Intelligence States
strict_reviewed: versioned evidence, technical scan, community-source check, and independent recalculation completed.curated_baseline: manually curated fallback information with limited evidence.automatic_assessment: automated coverage that cannot authorize automatic installation.unknown: no matching intelligence record.
ASL evaluates observable behavior and installation context. It does not label a component malicious without evidence.
The public fallback contains strict reviewed records and curated fallback baselines. Automatic assessments are available through the online service but cannot authorize automatic installation.
Privacy
Online lookup uses public component metadata only. Do not submit:
- private source code or file contents
- API keys, passwords, tokens, or SSH keys
- browser cookies or personal browser history
- private prompts, memories, or customer records
- secrets from environment variables
See PRIVACY.md and SECURITY.md.
Local Fallback
Local fallback provides basic rules and a limited public intelligence baseline. The current online intelligence service should be preferred when available.
Verification
The scoring method is documented in ASL Agent Component Safety Standard v0.2.
License
Apache-2.0
來源:README.md,提交 cc1f130
工具
0版本歷史
1- v0.1.12最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。
其他 Check 整合
check.tattoo: tattoo size and placement guide
tattoo.check官方發布者
check.tattoo: tattoo size and placement guide 的託管 MCP 服務,由 check.tattoo 發布;無需登入;Streamable HTTP;5 個工具。
iva.pt — EU VAT check (VIES) and Portuguese VAT law
pt.iva官方發布者
在 VIES 中驗證歐盟增值稅號,並回傳葡萄牙增值稅法典(CIVA)與 RITI 條文,支援葡語與英語。

U.S. Public Company Check
由 GitHub 帳號 JusticeUA 發布
託管於 Apify 的遠端 MCP 伺服器,讓助理依 SEC CIK 查詢美國上市公司資訊:申報狀態、破產 8-K 標記、LEI 與制裁篩查。

Taiwan Company Check
由 GitHub 帳號 JusticeUA 發布
遠端 MCP 伺服器,讓助理依統一編號查詢台灣公司,取得稅籍登記狀態、LEI 與制裁名單查核結果。

Romania Company Check
由 GitHub 帳號 JusticeUA 發布
依 CUI 查詢羅馬尼亞公司,回傳官方登記處的狀態、破產、LEI 與制裁資訊。