
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 分