
CyberLens
io.github.shadoprizm由 GitHub 帳號 shadoprizm 發布v1.0.0更新於 Oct 24, 2026
Security scanning for websites, public repositories, and Open CLAW skills.
概覽
CyberLens 讓 AI 助理掃描網站、公開程式碼儲存庫與 CLAW 技能套件的安全問題,並提供評分與修復建議。
- 可以做什麼
- 掃描 CLAW 技能套件並驗證其清單,可在安裝前先檢查
- 執行本機快速網站掃描並取得安全評分,連結帳號後可做完整雲端掃描
- 掃描公開程式碼儲存庫(GitHub、GitLab、Bitbucket、ZIP),找出外洩金鑰與有漏洞的相依套件
- 取得已完成雲端掃描的詳細結果,並查詢剩餘掃描額度
- 提供常見 CWE 的修復指引,以及本機檢查與雲端檢查的透明度報告
- 適用情境
- 適合在對話中請助理檢查技能套件、網站或公開程式碼儲存庫的安全問題,尤其是在安裝第三方代理技能之前。本機技能掃描與快速網站檢查不需要帳號。
- 執行需求
- 透過 npx 或原始碼方式以 stdio 在本機執行,需要 Node.js。本機技能掃描、清單驗證、快速網站掃描與修復指引不需帳號。完整雲端網站掃描與儲存庫掃描需要 CyberLens 帳號,可透過瀏覽器流程連結或使用 CYBERLENS_API_KEY 環境變數;CYBERLENS_API_BASE_URL 可覆寫 API 位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 CyberLens,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Cyber Lens AI MCP Server
Security scanning for AI assistants and agentic coding workflows.
[MCP] [Open CLAW] [License: MIT] [Node.js]
A Model Context Protocol (MCP) server that gives AI assistants the ability to scan websites, public repositories, and Open CLAW skills for security vulnerabilities. It's purpose-built for the agentic coding era, with native support for scanning skill packages before you install them.
What It Does
When connected to an AI assistant (Claude Desktop, VS Code, etc.), this MCP server adds security scanning tools that the assistant can use during your conversation:
- Scan a CLAW skill before installing it -- the server downloads the skill package, extracts it, and analyses the actual source code for dangerous patterns, hardcoded secrets, and permission issues
- Scan a website in a local quick mode without an account, or use the full cloud scan when connected
- Scan a public repository for exposed secrets, dependency vulnerabilities, suspicious code patterns, and trust posture issues
- Check your remaining cloud scan quota before kicking off a batch of scans
- Get remediation guidance with step-by-step fix instructions and code examples
Example Conversation
Getting Started
1. Install
After the first npm release, the recommended install path is:
Before that, or for local development and manual builds:
2. Add to Your AI Assistant
Claude Desktop -- add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
If you are running from a source checkout instead of npm:
Claude Code -- add to your MCP settings or project configuration.
VS Code (Copilot/Continue) -- configure per your extension's MCP server settings.
3. Connect Your Account
Website tools work immediately without an account in local quick mode. That local mode covers roughly 15 core checks and returns results right away.
Connecting an account upgrades website scans to the full CyberLens cloud path with 70+ checks, scan history, and AI analysis. Repository and account-only tools still connect through the browser flow when needed.
When a repository or account-only tool needs an account, the MCP server:
- opens the CyberLens browser flow automatically
- sends the user to
cyberlensai.comto sign up or log in - receives the secure callback locally
- saves the API key to
~/.cyberlens/mcp/config.json - continues the original tool call automatically
You can also trigger the same flow explicitly:
This opens your browser to cyberlensai.com where you can sign up (free) or log in. Your API key is saved locally at ~/.cyberlens/mcp/config.json and used for all future scans.
Free accounts include 5 scans/month. No credit card required.
You can also set the
CYBERLENS_API_KEYenvironment variable in the MCP config instead of using the browser flow.
If a cloud website scan hits its monthly quota, the MCP server opens the CyberLens pricing page automatically and falls back to the local quick scan instead of hard-failing. Repository scans still require cloud quota.
Available Tools
Account
CLAW Skill Scanning
Website & Repository Scanning
Intelligence & Guidance
How Skill Scanning Works
When you provide a CLAW skill URL, the MCP server:
- Resolves the URL -- accepts Claw Hub pages (
https://clawhub.ai/skills/skill-name), direct download links (https://*.convex.site/api/v1/download?slug=name), or any URL pointing to a skill zip - Downloads the skill package to a temporary directory
- Extracts and analyses every file in the package:
- Checks
_meta.jsonandSKILL.mdfor completeness - Scans all source code (Python, JavaScript, TypeScript, shell scripts, config files) for dangerous patterns
- Detects hardcoded secrets,
eval()usage, shell command execution, insecure HTTP requests, file deletion operations, pickle deserialisation, and more - Identifies unpinned dependencies
- Catalogues all external URLs the skill communicates with
- Checks
- Returns a security score (0-100) with detailed findings, file locations, and fix recommendations
- Cleans up all temporary files
This entire process runs locally -- no API key is required and your code is never sent to an external server.
Website Scan Modes
scan_website and get_security_score now have two honest modes:
- Local Quick Scan -- works without an account, returns immediately, and covers roughly 15 core website checks such as HTTPS, security headers, server disclosure, insecure forms, and inline-script indicators
- Full Cloud Scan -- requires a connected CyberLens account, runs 70+ checks, keeps cloud scan history, and includes richer analysis
If a user asks for a full or database website scan without an account, the MCP server still returns the local quick scan and says that the requested cloud-only mode was not available.
If a connected user runs out of website cloud quota, CyberLens falls back to the local quick scan automatically and opens the pricing page with an upgrade link.
Accepted URL Formats
Architecture
Key design decisions:
- No Supabase SDK -- pure REST calls with
fetchandX-API-Keyheader - Truthful cloud surface -- the MCP server only exposes cloud-backed tools that are supported by the live public API (
/scan,/scan/{id},/quota) - Stdio transport -- runs as a subprocess of the AI assistant, communicates via stdin/stdout
- Useful without API key -- skill scanning, website quick scans, manifest validation, remediation guidance, and transparency reporting work locally; connecting an account upgrades website scans to the full cloud path and unlocks repository scanning
- Browser-based auth -- same secure connect flow as the CyberLens OpenClaw skill (CSRF-protected, short-lived exchange codes, HTTPS-only)
Development
Environment Variables
Publishing
This repository is prepared for npm + MCP Registry publication as:
- npm package:
@shadoprizm/cyberlens-mcp-server - MCP server name:
io.github.shadoprizm/cyberlens-mcp-server
Typical release flow:
The registry metadata lives in the root server.json file and the npm ownership check uses the mcpName field in package.json.
Related Projects
- CyberLens OpenClaw Skill -- the OpenClaw skill version with the same scanning capabilities
- CyberLens -- the full platform with browser-based scanning, dashboards, and reporting
- OpenClaw -- the open skill ecosystem for AI agents
License
來源:README.md,提交 1fe0cdd
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分