
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
dil-costlens
Advanced tools
Estimate & Optimize AWS CDK Costs before you deploy.
CostLens-CDK is a developer-first tool to estimate monthly AWS costs for your CDK stacks before deployment. It synthesizes your CDK app, parses the resulting CloudFormation, estimates monthly costs for all major AWS resources, and provides LLM-powered insights. Supports CLI, CI, and PR comments.
npm install
npx tsc --build
cdk synth > cdk.out/template.json
node dist/cli/src/index.js analyze --region us-west-2 --format table
npx costlens analyze [options]
Options:
--region <region>: AWS region (default: us-east-1)--assumptions <file>: Path to assumptions file (YAML/JSON)--format <fmt>: Output format (table, json, or both)--out <file>: Write JSON output to file--no-free-tier: Ignore AWS free tier--ci: CI mode (for GitHub Actions, etc)Override usage patterns for more accurate estimates. Example:
Lambda:
MyFunction:
monthlyInvocations: 10000000
avgMsPerInvoke: 250
S3:
MyBucket:
storageGb: 500
monthlyPutRequests: 100000
BEDROCK_LLM=1 when running the CLI:env BEDROCK_LLM=1 aws-vault exec dil-team-hackfest -- node dist/cli/src/index.js analyze --region us-west-2 --format table
If BEDROCK_LLM is not set, only local heuristics will be used for insights.
.github/workflows/costlens-pr.ymlpackages/pricing/src/catalog.json for fallback pricespackages/core: IR types, parser, estimatorpackages/pricing: Pricing engine (AWS API + catalog)packages/reporter: CLI table and JSON outputpackages/cli: CLI entrypointpackages/llm: LLM/risk analysisPull requests welcome! Please add tests and update documentation as needed.
Diligent
FAQs
Estimate & Optimize AWS CDK Costs before you deploy.
We found that dil-costlens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.