
Mythos Agent
io.github.mythos-agent由 GitHub 帳號 mythos-agent 發布v4.0.1更新於 Oct 27, 2026
Open-source AI security agent: SAST, DAST, and policy-as-code over MCP.
概覽
開源 AI 安全程式碼審查代理,可掃描本機程式碼庫中的漏洞、金鑰、相依套件與 IaC 問題,並提出修正建議。
- 可以做什麼
- 掃描程式碼中的漏洞模式、外洩金鑰、相依套件 CVE、IaC 設定錯誤,以及 API、JWT、加密與隱私問題
- 執行多階段自主 hunt:產生假設、驗證發現並產生概念驗證攻擊
- 依根因模式尋找已知 CVE 的變體,並進行資料流污點分析
- 產生 AI 修補、回答自然語言安全問題,並將發現對應到 SOC2/HIPAA/PCI/OWASP 政策
- 匯出終端機、JSON、HTML 或 SARIF 報告,並提供本機儀表板
- 監看檔案變更持續掃描,並檢查已安裝的外部安全工具
- 適用情境
- 適合讓助理審查本機程式碼儲存庫的安全問題、依信心程度篩選發現,或檢查某個已知 CVE 的根因模式是否出現在程式碼其他位置。適用於發行前或拉取請求流程中的安全導向程式碼審查。
- 執行需求
- 以本機 npm 套件形式執行(npx mythos-agent),需要桌面環境。模式、金鑰、相依套件與 IaC 掃描不需 API 金鑰;完整的自主 hunt 與 AI 功能需設定模型供應商(Anthropic,或透過設定或 ANTHROPIC_BASE_URL 環境變數接入 OpenAI 相容或本機端點)。可選裝 Semgrep、Gitleaks、Trivy、Checkov、Nuclei 等外部工具以擴大涵蓋範圍。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mythos Agent,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
English · 简体中文
[mythos-agent — Cerby the guard puppy]
[mythos-agent — 10-second security check demo]
mythos-agent
AI code-review assistant for application security.
Open-source. Reads your code, flags likely security issues, explains its reasoning, suggests fixes.
[CI] [npm] [License] [Discord] [Node] [Wired scanners] [Experimental scanners] [Rules]
Quick Start • How It Works • Commands • Hunt Mode • Variant Analysis • Integrations • Contributing • Vision • Roadmap
mythos-agent reviews your code the way a reviewer on a security-focused team would. It walks through likely issue patterns, checks for variants of known CVEs, ranks findings by confidence, and suggests fixes you can accept or reject. See VISION.md for the full framing.
For new contributors: the active 6-month working plan is in the pinned issue
[Roadmap] mythos-agent H1 2026 Goals. Look for 🙋 markers to spot items where help is wanted. New here? See CONTRIBUTING.md forgood-first-issueguidance.For security teams and EU CRA-compliant downstream manufacturers: see SECURITY.md for our vulnerability disclosure SLAs, docs/security/cra-stance.md for our EU CRA role declaration, docs/security/threat-model.md for our public threat model, and RELEASES.md for our versioning, LTS, and EOL policy. OpenSSF Best Practices Badge (Passing) submission targeted June 2026; releases are signed via Sigstore and ship with CycloneDX SBOMs for downstream Manufacturer compliance.
Quick Start
How It Works
mythos-agent combines three things no other open-source tool does together:
1. Hypothesis-Driven Scanning
Instead of matching known patterns, the AI reasons about what COULD go wrong, generating hypotheses like "this transaction doesn't lock the row, potential race condition" or "this auth check uses string comparison, potential timing attack."
2. Variant Analysis (Big Sleep technique)
Given a known CVE, mythos-agent finds structurally similar but syntactically different code in your codebase. Same root cause, different location. This is how Google's Big Sleep found 20 real zero-days.
3. Multi-Stage Verification
Every finding goes through a confidence pipeline:
- Pattern scan → candidate
- AI hypothesis → theoretical risk confirmed
- Smart fuzzer → dynamically tested
- PoC generator → concrete exploit proves it's real
Only findings that survive multiple stages are reported as "confirmed."
Commands
Hunt Mode
mythos-agent hunt runs the full multi-agent pipeline:
Variant Analysis
Find code in your project that has the same root cause as known CVEs:
The variant analyzer extracts the root cause pattern from the CVE (not the surface syntax) and searches your codebase for structurally similar code.
Scanners (15 wired + 28 experimental, 329+ rules)
The Default scanners run on every mythos-agent scan. Experimental scanners are implemented + unit-tested classes that ship in the tarball but are not yet reachable from any CLI, HTTP, MCP, or agent entry point. They are tracked by KNOWN_EXPERIMENTAL in the wiring-invariant test.
Additional experimental scanners (21 more, not yet wired into default scan)
SQL injection deep, XSS deep, NoSQL, command injection, deserialization, path traversal, open redirect, XXE, input validation, clickjacking, DNS rebinding, subdomain enumeration, dep confusion, environment variables, logging, error handling, cache, email, upload, memory safety, permissions.
Each exists as a class under src/scanner/ and has unit tests in src/scanner/__tests__/coverage-scanners.test.ts / new-scanners.test.ts, but is not invoked by any CLI command, HTTP API route, MCP handler, or agent pipeline. See KNOWN_EXPERIMENTAL in the wiring-invariant test for each scanner's deferral reason. Wiring one up follows the pattern of the HeadersScanner / JwtScanner / SessionScanner / BusinessLogicScanner commits on main.
Beyond the scanners above, mythos-agent ships complementary analyses (not counted in the scanner totals): call-graph + taint engine, DAST smart fuzzer, AI hypothesis agent, variant analysis, and git-history mining.
External tool integrations: Semgrep (30+ languages), Gitleaks (100+ patterns), Trivy (SCA + containers), Checkov (1000+ IaC policies), Nuclei (9000+ DAST templates)
Integrations
AI Providers
Pattern scanning, secrets, deps, and IaC work without any API key.
See docs/multi-model.md for the full tier-system policy + the staged rollout (this README is the summary; that doc is the canonical reference).
Comparison
This feature table is a capability comparison, not an accuracy claim. For reproducible, third-party-runnable accuracy numbers vs Semgrep CE / Snyk Code / CodeQL on OWASP Benchmark, CyberSecEval 3, Vul4J, and our CVE replay harness, see docs/benchmarks/external-scores.md.
Contributing
See CONTRIBUTING.md for details.
Architecture
License
MIT
來源:README.md,提交 a14abd1
工具
0版本歷史
1- v4.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分