Server data from the Official MCP Registry
IaC attack-path auditor: finds internet-to-crown-jewel chains in Terraform/CFN/K8s.
IaC attack-path auditor: finds internet-to-crown-jewel chains in Terraform/CFN/K8s.
Remote endpoints: streamable-http: https://cloud-pathfinder.vercel.app/mcp
This MCP server implements a thin client for cloud security IaC analysis. The architecture is secure by design: all analysis logic runs server-side, and the npm package contains only HTTP client code that calls a hosted backend. No sensitive credentials are hardcoded, input validation is present, and network calls use proper timeouts and error handling. Permissions are appropriate for the stated purpose (network_http to reach the analysis backend, env_vars for optional API keys). Minor code quality observations noted but do not materially affect security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity).
5 files analyzed Β· 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
From the project's GitHub README.
Attack-path auditor for Infrastructure-as-Code β Terraform, CloudFormation, Kubernetes, CDK, Pulumi, Bicep/ARM.
Not a linter. It parses your IaC into a resource graph, resolves cross-resource (and cross-file) relationships, and searches for the multi-hop chains from the public internet to your crown jewels (data stores, secrets, admin). It returns a BREACHABLE / EXPOSED / HARDENED verdict and the concrete route an attacker would walk.
Example chain it finds:
open security group (SSH 0.0.0.0/0) β EC2 instance-profile role β iam:PassRole privilege escalation to admin β S3 exfiltration
Available as an MCP server (Claude, Cursor, any MCP agent) and a pay-per-call x402 API (autonomous AI agents with a wallet).
Sending your IaC to a third party is sensitive β so here is exactly what happens:
files map or source blob).
Nothing is read from your machine, your cloud account, or your credentials β
cloud-pathfinder never touches a live cloud (see "honest limits" below). There
are no cloud keys to provide because it analyzes the declared templates only.deep: true, behind payment). Only then
are the full chains, file:line evidence and remediation returned. You send the
same IaC either way β nothing extra leaves your machine for the deep tier.Hosted service: https://cloud-pathfinder.vercel.app β all analysis runs server-side. This npm package is a thin MCP client: it sends the IaC text to the hosted endpoint and renders the verdict. No analysis logic ships to your machine.
audit_iac_attack_paths { files: { "main.tf": "..." } }.https://cloud-pathfinder.vercel.app.INTERNET node to every data store / secret / admin sink, and resolves IAM
privilege-escalation reachability along each hop β in memory.file:line evidence; the
free tier returns the verdict, score and counts.The npm tarball contains only the HTTP caller β so nothing, free or deep, runs offline. Without the server it degrades to a clear network error.
A linter flags resources one at a time: "this SG is open", "this role is broad". cloud-pathfinder reasons about how those facts connect β work a per-file local tool structurally cannot do:
| Capability | Local linter | cloud-pathfinder |
|---|---|---|
| Flag one open SG / one broad role | β | β |
| Graph β which SG attaches to which instance, which role it assumes, what it reads | β | β |
| Reachability BFS internet β crown jewel, full multi-hop chain + file:line | β | β |
| IAM privilege-escalation KB (20+ primitives: PassRole, CreatePolicyVersionβ¦) | β | β |
| Multi-cloud β AWS / GCP / Azure in one graph | β | β |
| Choke-point analysis (the one hop that, fixed, cuts the most paths) | β | β |
| Diff mode β what a PR INTRODUCES / ELIMINATES / AGGRAVATES | β | β |
| Kubernetes LB/NodePort β privileged pod β cluster-admin SA β Secret | β | β |
| SARIF 2.1.0 for GitHub code scanning (inline chains on the Security tab) | β | β |
INTERNET to every data store / secret /
admin sink, returning the full multi-hop chain with per-hop file:line evidence.Formats are auto-detected per file and analyzed together β mix .tf,
CloudFormation .yaml/.json and Kubernetes manifests in one call.
{
"mcpServers": {
"cloud-pathfinder": { "command": "npx", "args": ["-y", "cloud-pathfinder-mcp"] }
}
}
No key needed for the free tier. Restart your client and the
audit_iac_attack_paths + diff_attack_paths tools appear. (Remote server:
https://cloud-pathfinder.vercel.app/mcp.)
audit_iac_attack_paths{
"files": {
"main.tf": "resource \"aws_security_group\" \"web\" { ingress { ... cidr_blocks = [\"0.0.0.0/0\"] } } ...",
"k8s.yaml": "apiVersion: v1\nkind: Service\n..."
}
// or: "source": "<a single IaC blob>", "filename": "main.tf"
}
audit_iac_attack_paths { "files": { "main.tf": "<SG open to 0.0.0.0/0 on 22 +
EC2 with instance-profile role that can s3:* + iam:PassRole>" } }
β FREE: verdict: BREACHABLE Β· risk 86/100 Β· 1 attack path Β· 1 crown jewel Β· 3 misconfigs
β DEEP (deep:true): verdict: BREACHABLE
PATH #1 (internet β admin):
[1] INTERNET β aws_security_group.web (main.tf:4 β ingress 22 from 0.0.0.0/0)
[2] β aws_instance.app (main.tf:19 β attaches sg web)
[3] β aws_iam_role.app_role (main.tf:31 β instance profile)
[4] β iam:PassRole + ec2:RunInstances (privesc β launch instance as admin role)
[5] β s3:* on aws_s3_bucket.data (main.tf:52 β exfiltration sink)
CHOKE POINT: tighten main.tf:4 ingress β cuts this entire path.
FIX: restrict ingress CIDR; split the role; add a permissions boundary.
The free tier returns the verdict, risk score, and the counts (how many attack paths, crown jewels and misconfigurations). The deep tier returns every full chain with hops, file:line evidence, privilege-escalation reachability and remediation.
diff_attack_paths β the CI/CD gateGive it the IaC before and after a change (a PR's base and head trees) and it
reports exactly what the change did to your attack surface: which internetβcrown-jewel
chains it INTRODUCES, which it ELIMINATES, and which it AGGRAVATES β with
an INTRODUCES_BREACH / REDUCES_RISK / NEUTRAL / MIXED verdict.
{
"before": { "files": { "main.tf": "...security group admits 10.0.0.0/16..." } },
"after": { "files": { "main.tf": "...security group admits 0.0.0.0/0..." } }
// deep: true β full introduced/eliminated chains + beforeβafter exploitability + which choke points now matter
}
A per-file linter or a single-state scan cannot answer this: it needs the full graph
POST /diff (free, counts only) / POST /pro/diff (deep).POST /audit
Content-Type: application/json
{ "files": { "main.tf": "resource \"aws_security_group\" ..." } }
Rate-limited to 30 requests/hour/IP. For unlimited/commercial/deep use, call /pro/audit.
Input formats: Terraform / OpenTofu, CloudFormation, Kubernetes, Helm, Kustomize,
Pulumi (TS/JS/Python), Bicep/ARM, and AWS CDK β both the synthesized
cdk.out/*.template.json and the un-synthed CDK program (TypeScript + Python),
so a CI gate runs on the PR diff before cdk synth.
Add ?format=sarif (or { "format": "sarif" }) to /audit, /pro/audit, /diff
or /pro/diff to get SARIF 2.1.0 you can upload to GitHub code scanning β
every attack chain shows up inline on the PR's Security tab.
result with a codeFlow (a step-through walk:
internet β SG β instance role β privesc β S3), anchored to the IaC file:line,
plus security-severity/CVSS so the badge colors correctly.note.# .github/workflows/cloud-pathfinder.yml (sketch)
- run: curl -s -X POST "$CPF/pro/diff?format=sarif" -H "Authorization: Bearer $KEY" \
--data @payload.json -o cloud-pathfinder.sarif
- uses: github/codeql-action/upload-sarif@v3
with: { sarif_file: cloud-pathfinder.sarif }
/pro β two ways to pay (dual-pay)The deep /pro/audit returns the full attack chains, per-hop evidence,
privilege-escalation analysis and remediation. Two payment lanes coexist:
| Lane | For | How |
|---|---|---|
| π³ Card (Stripe) | Humans / teams | Buy a prepaid key at /pro/checkout, then send Authorization: Bearer <key> (or set CLOUD_PATHFINDER_KEY). |
| πͺ x402 (USDC) | AI agents with a wallet | Pay $0.30 per call automatically. Settles on Base. No signup, no key. |
POST /pro/audit # 402 (shows BOTH lanes) β pay β result
| Class | Detail |
|---|---|
| Public β role β data | Open SG on a sensitive port (SSH/RDP/DB) β instance role that can read S3/Dynamo/RDS/Secrets β exfiltration |
| IAM privilege escalation | iam:PassRole+ec2:RunInstances, iam:CreatePolicyVersion, iam:AttachRolePolicy, ssm:SendCommand, wildcard * on *, and ~15 more |
| Public data stores | publicly_accessible = true RDS, world-open buckets |
| Kubernetes | LoadBalancer/NodePort β privileged pod β cluster-admin ServiceAccount β Secret |
| CloudFormation | !Ref/!GetAtt intrinsics resolved; ManagedPolicyArns/inline policies analyzed |
The premium engine and knowledge base never ship in the npm package β the published client is a thin renderer that calls the hosted analysis service. The free tier is genuinely useful (verdict + counts); the deep chains, evidence and privesc analysis are server-side behind payment.
Heuristic static analysis of declared IaC, not a live cloud assessment. It reasons over what the templates declare (no runtime SCP/permissions-boundary/condition evaluation). Treat findings as prioritized leads, not a guarantee.
Be the first to review this server!
by Modelcontextprotocol Β· Developer Tools
Read, search, and manipulate Git repositories programmatically
by Modelcontextprotocol Β· Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno Β· Developer Tools
Toleno Network MCP Server β Manage your Toleno mining account with Claude AI using natural language.