
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 分