{"_id":"aws-bleed","_rev":"2-a2b1bb5a486b5cbd93b63babc5fc4cd4","name":"aws-bleed","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0-stage":{"name":"aws-bleed","version":"0.0.0-stage","_id":"aws-bleed@0.0.0-stage","stub":true,"maintainers":[{"name":"kanchingyg","email":"augustocerruttisatto@gmail.com"}],"dist":{"shasum":"76c0e015905b9f2704eb6a1d1b34dd7a5d0c1902","tarball":"https://registry.npmjs.org/aws-bleed/-/aws-bleed-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-eknPp7y4cS5vLcerysc/dUhS4KOHKVSo7JHb5UPdX5iMoj49SQlu8iB898DOKAznshOvzJPW1Y9FF7Avody8lQ==","signatures":[{"sig":"MEYCIQCNjx04jvuuJqArXLJXaPqecLWaNKRtvRqQILWpPrBWQAIhAI95NewGYYpcqYSiL12C/po5ZyBEkgBlqX2ZgZOPPX8E","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":331},"_npmUser":{"name":"kanchingyg","email":"augustocerruttisatto@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.0":{"_id":"aws-bleed@0.1.0","bin":{"aws-bleed":"bin/aws-bleed.js"},"bugs":{"url":"https://github.com/kanchingyg/aws-bleed/issues"},"dist":{"shasum":"87da550f8fc4caac0578e7aeefb8596bdc3867c6","tarball":"https://registry.npmjs.org/aws-bleed/-/aws-bleed-0.1.0.tgz","fileCount":16,"integrity":"sha512-lRvly6UeOn9BNh3McHXm92OYWHqrzjdw6V3E+d/eNXJoEj/YWQYkG+lak8In9JgJ8D+9J4S+Gm8HiGGEuoY4HA==","signatures":[{"sig":"MEQCICBbZrBJVYr3XA6xtS4Uc+IusVCgfoZuPWalBu+3eFCLAiBmXG8fk1hueKV4GSSxtfuhTupfPAuzx6isYlIjLFzrUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFLjWwatVdWKbathqqLhoFvbrWvQLzKClfa6VDFJOEvXAiEAlZaKZI5WQI/xhfG0xpckKGfCwF6MXPwMzkUT3pcdnXc="}],"unpackedSize":54177},"main":"./dist/cli.js","name":"aws-bleed","type":"module","types":"./dist/cli.d.ts","author":{"name":"Augusto Cerrutti","email":"augustocerruttisatto@gmail.com"},"engines":{"node":">=18"},"exports":{".":"./dist/cli.js","./bridge":"./dist/bridge.js"},"gitHead":"cf28bd8f1c5432ae604ef0971f188b7642a90701","license":"MIT","mcpName":"io.github.kanchingyg/aws-bleed","scripts":{"test":"npm run build && vitest run","build":"tsc","prepack":"npm run build","prepublishOnly":"npm run build"},"version":"0.1.0","_npmUser":{"name":"kanchingyg","email":"augustocerruttisatto@gmail.com"},"homepage":"https://github.com/kanchingyg/aws-bleed#readme","keywords":["mcp","mcp-server","model-context-protocol","cli","typescript","go","aws","finops","cloud-cost","terraform","nat-gateway","devops"],"repository":{"url":"git+https://github.com/kanchingyg/aws-bleed.git","type":"git"},"_npmVersion":"10.9.8","description":"Read-only AWS waste scanner: NAT endpoint tax, infinite logs, zombie EBS/EIPs: USD/mo + Terraform fix","directories":{},"maintainers":[{"name":"kanchingyg","email":"augustocerruttisatto@gmail.com"}],"_nodeVersion":"22.23.1","dependencies":{"@aws-sdk/client-ec2":"^3.750.0","@aws-sdk/client-cloudwatch-logs":"^3.750.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.0.5","publint":"^0.3.12","typescript":"^5.7.2","@types/node":"^22.10.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aws-bleed_0.1.0_1792968332769_0.5928395793091836"}}},"time":{"created":"2026-10-25T22:44:36.852Z","modified":"2026-10-25T22:45:33.025Z","0.0.0-stage":"2026-10-25T22:44:36.852Z","0.1.0":"2026-10-25T22:45:32.855Z"},"description":"Read-only AWS waste scanner: NAT endpoint tax, infinite logs, zombie EBS/EIPs: USD/mo + Terraform fix","maintainers":[{"name":"kanchingyg","email":"augustocerruttisatto@gmail.com"}],"readme":"# aws-bleed\n\n[![ci](https://github.com/kanchingyg/aws-bleed/actions/workflows/ci.yml/badge.svg)](https://github.com/kanchingyg/aws-bleed/actions/workflows/ci.yml)\n[![npm](https://img.shields.io/npm/v/aws-bleed)](https://www.npmjs.com/package/aws-bleed)\n[![JSR](https://jsr.io/badges/@kanchingyg/aws-bleed)](https://jsr.io/@kanchingyg/aws-bleed)\n[![Go](https://img.shields.io/badge/engine-Go-00ADD8)](https://github.com/kanchingyg/aws-bleed)\n[![license](https://img.shields.io/github/license/kanchingyg/aws-bleed)](https://github.com/kanchingyg/aws-bleed/blob/HEAD/LICENSE)\n\n**5-second read-only scan** for expensive AWS hidden taxes: NAT Gateway traffic to S3/DynamoDB without free gateway endpoints, CloudWatch Logs with infinite retention, `gp2` and orphaned EBS volumes, idle Elastic IPs, and stale snapshots, complete with **USD/month estimates** and a **`fix-bleed.tf`** Terraform patch.\n\n## Install\n\n[Bun](https://bun.sh) / [npm](https://www.npmjs.com/package/aws-bleed):\n\n```bash\nbunx aws-bleed\nnpx aws-bleed\n\n# or install in your project / globally\nbun add -d aws-bleed\nnpm i -D aws-bleed\n```\n\n[JSR](https://jsr.io/@kanchingyg/aws-bleed):\n\n```bash\nbunx jsr add @kanchingyg/aws-bleed\nnpx jsr add @kanchingyg/aws-bleed\n```\n\n[Go (native binary)](https://github.com/kanchingyg/aws-bleed):\n\n```bash\ngo install github.com/kanchingyg/aws-bleed@latest\n```\n\nThe core engine is **Go** (`main.go`, `internal/`). TypeScript under `src/*.ts` is included for `npx` / `bunx` / JSR usage and MCP bridge helpers when no native binary is present.\n\n## Quick start\n\n```bash\nnpx aws-bleed\nbunx aws-bleed\nnpx aws-bleed --patch fix-bleed.tf --allow-write\nnpx aws-bleed --mcp\n```\n\n## What you get\n\n| Finding | Fix in patch |\n| --- | --- |\n| NAT in VPC without S3/DynamoDB gateway endpoints | `aws_vpc_endpoint` (Gateway) |\n| Log groups with `retentionInDays = null` | `retention_in_days` |\n| `gp2` volumes | `gp3` migration block |\n| `available` volumes / idle EIPs / old snapshots | Comments + CLI cleanup hints |\n\n## MCP + local models\n\n```bash\nnpx aws-bleed --mcp\nbunx aws-bleed --mcp\n```\n\nUse `summarize_exec_report` with `--model ollama/llama3.2` (or any OpenAI-compatible local server) so cost data stays on your machine.\n\n## Requirements\n\n- Node 18+ or Bun for `npx` / `bunx`, or Go 1.22+ for native CLI\n- AWS credentials with read-only `Describe*` / `List*` (no writes unless you pass `--allow-write` for patch files)\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md","homepage":"https://github.com/kanchingyg/aws-bleed#readme","keywords":["mcp","mcp-server","model-context-protocol","cli","typescript","go","aws","finops","cloud-cost","terraform","nat-gateway","devops"],"repository":{"url":"git+https://github.com/kanchingyg/aws-bleed.git","type":"git"},"author":{"name":"Augusto Cerrutti","email":"augustocerruttisatto@gmail.com"},"bugs":{"url":"https://github.com/kanchingyg/aws-bleed/issues"},"license":"MIT"}