
Cyntrisec CLI (Historical)
io.github.cyntrisec由 GitHub 账号 cyntrisec 发布v0.1.14更新于 Nov 3, 2026
Historical AWS analysis CLI; not a current Cyntrisec product.
概览
已停止维护的 AWS 安全分析服务器,让助手查询本地扫描结果:资产、攻击路径、发现项、修复建议与合规状态。
- 可以做什么
- 查看扫描与资产:列出工具、设置当前快照、汇总最近一次 AWS 扫描,并按类型或严重级别筛选资产、关系与发现项
- 探索攻击路径:获取带风险评分的路径,并逐跳解释路径与发现项
- 规划修复:查找最优修复方案、生成 Terraform 片段、列出未使用的 IAM 权限
- 检查访问与合规:测试某主体能否访问某资源、检查 CIS AWS 或 SOC 2 状态、比较扫描快照
- 适用场景
- 仅适用于已在本地使用该历史 CLI 的既有环境,希望助手读取其已保存的扫描产物。它不是当前产品,也不应作为新 AWS 安全工作选型的理由。
- 运行要求
- 需本地安装 Python 包 cyntrisec,并以 stdio 方式启动。AWS 凭证通过 AWS_PROFILE,或 AWS_ACCESS_KEY_ID 与 AWS_SECRET_ACCESS_KEY 提供,可选 AWS_DEFAULT_REGION;README 还提到安装步骤需要 AWS CLI 与 terraform。本地扫描目录中需已有扫描结果。
安装
在 SourceWeft 中
- 打开 控制台中的 Cyntrisec CLI (Historical),将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Cyntrisec CLI
Historical pre-company project.
cyntrisec-cliwas created before Cyntrisec narrowed its company focus to EphemeralML and AIR v1. It is not a current Cyntrisec product, support surface, or commercial offering. The PyPI package namecyntrisec, CLI commandcyntrisec, and MCP server IDio.github.cyntrisec/cyntrisecare retained only to avoid breaking historical installs.
[!CAUTION] Historical Software Disclaimer: This tool is no longer an active Cyntrisec product. It is provided "as is", without warranty of any kind. While the CLI is a read-only analysis tool by default, the user assumes all responsibility for any actions taken based on its findings. Always review generated remediation plans and Terraform code before application.
Historical AWS capability graph analysis and attack path discovery CLI.
A read-only CLI tool that historically:
- Scans AWS infrastructure via AssumeRole
- Builds a capability graph (IAM, network, dependencies)
- Discovers attack paths from internet to sensitive targets
- Prioritizes fixes by ROI (security impact + cost savings)
- Identifies unused capabilities (blast radius reduction)
- Outputs deterministic JSON with proof chains
Demo
Watch how to discover attack paths and generate fixes using natural language with Claude MCP.
Architecture
Data Flow
Installation
Windows PATH Fix
If you see "cyntrisec is not recognized", the Scripts folder isn't on PATH:
Quick Start
Prerequisite: Ensure you have AWS CLI installed and configured with credentials (e.g.,
aws configure) or environment variables set.terraformis required for the setup step.
Commands
Core Analysis
Setup & Validation
Remediation
Policy Testing
Agentic Interface
MCP Server Mode
The historical CLI can still run as an MCP server for compatibility with existing local setups:
MCP Tools (15)
Claude Desktop
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Claude Code (CLI)
Run the following command to configure the server:
Google Gemini / Antigravity
Locate your agent configuration (e.g., ~/.gemini/antigravity/mcp_config.json) and add:
Trust & Safety
Read-Only Guarantees
This tool makes read-only API calls to your AWS account. The IAM role
should have only Describe*, Get*, List* permissions.
No Data Exfiltration
All data stays on your local machine. Nothing is sent to external servers.
Scan results are stored in ~/.cyntrisec/scans/.
No Auto-Remediation (Default Safe Mode)
By default, Cyntrisec is read-only and does not modify your AWS infrastructure.
- It analyzes your account using read-only APIs.
- It can generate remediation artifacts (e.g., Terraform modules) for you to review.
- It does not apply changes automatically.
Optional Remediation Execution (Explicit Opt-In)
Cyntrisec includes an explicitly gated path that can execute Terraform only if you intentionally enable it.
This mode is:
- Disabled by default
- Requires
--enable-unsafe-write-mode - Requires an additional explicit flag (e.g.
--execute-terraform) to run Terraform - Intended for controlled environments (sandbox / CI with approvals), not unattended production
If you do not pass these flags, Cyntrisec will never run terraform apply.
Write Operations
Cyntrisec makes no AWS write API calls during scanning and analysis.
The only supported "write" behavior is optional execution of Terraform locally on your machine, and only when explicitly enabled via unsafe flags.
Every AWS API call is logged in CloudTrail under session name cyntrisec-cli.
Trust & Permissions
Cyntrisec runs with a read-only IAM role. Generate the recommended policy with
cyntrisec setup iam <ACCOUNT_ID> and keep permissions to Describe*, Get*,
and List*. Live modes (waste --live, can --live) require extra IAM
permissions; the generated policy and docs cover those additions.
Output Format
Primary output is JSON to stdout. When stdout is not a TTY, the CLI automatically switches to JSON:
Agent-friendly output wraps results in a structured envelope:
Exit Codes
Use in CI/CD:
Storage
Scan results are stored locally:
Versioning
This project follows Semantic Versioning. See CHANGELOG.md for release notes.
License
Apache-2.0
Links
来源:README.md,提交 a2039a2
工具
0版本历史
1- v0.1.14最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分