
Emfirge
io.github.theanshsonkar由 GitHub 帳號 theanshsonkar 發布v0.2.1更新於 Nov 3, 2026
Git branch for your cloud. Understand AWS risk, prove fixes, and ship safer changes.
概覽
Emfirge 讓 AI 助理在即時 AWS 的唯讀分支上先試跑基礎設施變更,並在實際套用前給出通過、警告或阻擋的判定。
- 可以做什麼
- 對即時 AWS 的建模副本建立分支,並進行回滾、比較與捨棄
- 以型別化變更、Terraform 計畫、CloudFormation 變更集、AWS API 呼叫或 CLI 指令輸入變更
- 透過安全、相依性、合規、成本與配額等鏡頭評估分支,得出單一的通過、警告或阻擋判定
- 檢視雙向差異:新增與移除、是否變成可從網際網路存取、變更前後的成本
- 透過唯讀角色掃描帳戶,並回傳已核准變更對應的確切 API 呼叫
- 適用情境
- 當助理提出刪除資料庫、修改安全群組或 IAM 角色等高風險 AWS 變更,而你希望在有人執行前看到影響證據時適用。也適合以安全、合規與成本檢查來審查 Terraform 或 CloudFormation 變更。
- 執行需求
- 以本機 stdio 程序執行,從 npm 套件安裝,安裝器可為 Claude Desktop、Claude Code、Cursor、Kiro、Cline、Continue 與 Codex 等用戶端完成設定。需要一個 AWS 帳戶,並依提供的 CloudFormation 範本建立唯讀角色,同時需要連線至 Emfirge 後端的網路。EMFIRGE_BASE_URL 可指向自架後端;EMFIRGE_PRIVACY 設定權杖化模式(strict、balanced 或 off)。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Emfirge,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
🛡️ Emfirge
Give your agent a branch of your cloud.
AI agents are starting to change real infrastructure.
Emfirge is the harness that lets them try first, on a branch of your live AWS,
judged by lenses that show what the change would actually do.
Get started · Docs · npm
Built by Ansh Sonkar
Your agent wants to "clean up unused databases"
Without Emfirge, it calls DeleteDBInstance and you learn from your on-call channel what that database was for.
With Emfirge, the agent does it on a branch first:
Nothing touched production. The agent changed its plan, and the hand-back it gives you is bound by hash to the verdict it passed.
Simplified output. The reason codes and messages are the engine's real ones.
Three layers
🧰 The harness: the product
Where the agent works, what it may see, what it gets back, and what it can't skip.
- Read-only, always. Emfirge never writes to your cloud. You or your pipeline apply the approved change.
- Private by default. AWS identifiers are tokenized on your machine before the LLM sees them.
- No silent passes. A change Emfirge can't model can't
pass. A missing check is reported, not hidden.
🌿 The branch: the engine
A Git-style copy of a model of your live AWS: a base snapshot plus an ordered list of changes.
- Git-style operations. Fork, roll back, compare and discard, like you would with code.
- Many ways in. Feed it typed changes, a Terraform plan, a CloudFormation change set, AWS API calls or AWS CLI commands. The same change gives the same answer whichever way it comes in.
- A two-sided diff. See what was added and removed, what became reachable from the internet, and the cost before and after.
🔍 Lenses: what gets measured
Each lens judges the branch from one angle, and together they produce a single pass / warn / block.
Try it
Then tell your assistant:
The account ID is a placeholder. Setup gives you a one-click CloudFormation link for a read-only role, and you can delete the stack any time to revoke access.
The installer sets up Claude Desktop, Claude Code, Cursor, Kiro, Cline, Continue and Codex, and you can configure any other MCP client by hand. You can also use the API or the branch CLI. See all the tools in the MCP README.
Built to be trusted
Every behaviour of the engine is pinned by a numbered law, a property test that must always hold. There are 48 so far, for example:
L1: an empty branch scores exactly like the live scan.
L7: the same snapshot and changes always give the same verdict.
L9: your identifiers never appear in free-text output.
L12: evidence can make a verdict stricter, never looser.
L21: a Terraform security-group rule and the equivalent AWS API call get the same verdict.
The checks come from public sources rather than hand-written lists: pathfinding.cloud escalation paths, policy_sentry IAM data, AWS schemas, Prowler's compliance data, and the AWS Price List. Checkov runs on each branch verdict as an advisory scanner (it warns, it does not block on its own); Trivy is off. Every CI run publishes a scorecard.
What Emfirge does not claim: a branch is a model of your cloud, so a pass is evidence, not a guarantee. If any part of the check was skipped, the verdict says so. Today Emfirge is a safe workspace, not a gate that blocks a live apply.
What changes can a branch model today?
The live GET /branches/capabilities endpoint is the authoritative list, and GET /branches/field-catalog lists every settable field with the AWS API member it stands for. Most resource types also carry tags; a tag change replaces the complete user tag set. Anything not modeled degrades the verdict rather than passing.
Repository layout and licenses
Built by
Emfirge is designed and built by Ansh Sonkar (@theanshsonkar): the engine, the branch model, the lenses and the MCP.
Building with AI agents on AWS, or want to talk about Emfirge? Email [email protected].
來源:README.md,提交 80878ea
工具
0版本歷史
1- v0.2.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。