npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@shieldly/cli

v1.3.1

Published

AI-Powered Security Analysis for AWS — official CLI

Readme

@shieldly/cli

AI-Powered Security Analysis for AWS — official CLI.

Analyze AWS IAM policies and CloudFormation templates for security risks from any terminal, shell script, or CI/CD pipeline. Powered by Shieldly.

npm install -g @shieldly/cli

Try it free — no account needed

Both analyze-iam and analyze-cf run in demo mode without an API key (5 free analyses, no signup required):

shieldly analyze-iam policy.json
shieldly analyze-cf template.yaml

For higher limits and analysis history, create an account (API keys require a Builder plan or above) and set your key:

export SHIELDLY_API_KEY=sk_live_...
shieldly analyze-cf template.yaml

Upgrade to a paid plan for higher daily limits, team access, and priority AI.

Quick start

# Set your API key (get one free at https://www.shieldly.io/app/api)
export SHIELDLY_API_KEY=sk_live_...

# Analyze an IAM policy
shieldly analyze-iam policy.json

# Analyze a CloudFormation template
shieldly analyze-cf template.yaml

# Manage API keys
shieldly api-keys list

Free tier

| Mode | Limit | Requires | | --- | --- | --- | | Demo (no key) | 5 analyses total | No account | | Free account | 20 units/day | Free sign-up | | Builder | 150 units/day | Paid plan | | Pro | 300 units/day | Paid plan | | Team | 600 units/day | Paid plan |

Analysis units depend on input size — a small IAM policy costs 1 unit; large CloudFormation templates cost more. Compare plans →

Commands

| Command | Description | | --- | --- | | shieldly agent-scan [options] | Blast radius of an AI agent's AWS credentials (offline) | | shieldly analyze-iam <policy-file> | Analyze an IAM policy for security issues | | shieldly analyze-cf <template-file> | Analyze a CloudFormation template | | shieldly api-keys list\|create\|revoke | Manage API keys | | shieldly completion bash\|zsh\|install | Shell completion |

Agent blast-radius scan

See what your AI agents' AWS credentials could destroy, exfiltrate, or escalate to. Runs fully offline — your config never leaves your machine, no API key required.

# Scan an IAM policy file
shieldly agent-scan --policy-file agent-policy.json

# Fetch and scan a live role (uses your local AWS credentials, read-only)
shieldly agent-scan --role-arn arn:aws:iam::123456789012:role/my-agent

# Resolve an AWS profile's identity and scan it (users: includes group policies)
shieldly agent-scan --profile agent-profile

# Zero flags: auto-discover agent configs in the current directory
# (.mcp.json, mcp.json, .claude/settings.json, .cursor/.vscode mcp.json,
#  Claude Desktop config) and scan any AWS profiles / role ARNs / hardcoded
#  keys they reference
shieldly agent-scan

Findings are graded overall (CRITICAL / HIGH / MODERATE / LOW) and grouped into six categories: privilege escalation, destructive actions, wildcard grants, data access, cost risk, and missing guardrails. Hardcoded AKIA… keys in agent configs are flagged CRITICAL.

Output & remediation:

shieldly agent-scan --policy-file p.json --json           # machine-readable
shieldly agent-scan --policy-file p.json --sarif > out.sarif  # GitHub Security tab
shieldly agent-scan --policy-file p.json --fix > tightened.json  # least-privilege draft
shieldly agent-scan --policy-file p.json --ignore BR-DATA-S3     # suppress a rule

CI enforcement — declare a permission budget and fail the build when an agent's blast radius exceeds it:

shieldly agent-scan --policy-file agent-policy.json --budget shieldly.policy.yml
# shieldly.policy.yml
version: 1
max-severity: MEDIUM       # CRITICAL | HIGH | MEDIUM | LOW | none
deny-categories:
  - ESCALATION             # always fail on privilege-escalation findings
ignore-rules: []           # accepted false positives, by rule ID
# max-findings: 50

Exit code is 1 on any CRITICAL/HIGH finding (or any budget violation), 0 otherwise — drop it straight into CI. See shieldly.policy.example.yml.

Global options

| Option | Description | | --- | --- | | --api-key <key> | API key (or set SHIELDLY_API_KEY) | | --version | Show version | | -h, --help | Show help |

Use in CI

- name: AI-Powered IAM Analysis
  run: |
    npm install -g @shieldly/cli
    shieldly analyze-iam ./iam-policy.json
  env:
    SHIELDLY_API_KEY: ${{ secrets.SHIELDLY_API_KEY }}

For pull-request gating with PR comments, use the Shieldly GitHub Action instead.

Privacy

Shieldly does not log your policy input. Cache keys are one-way SHA-256 hashes of the input.

Links

  • Web app & demo: https://www.shieldly.io
  • API reference: https://www.shieldly.io/docs/api
  • Issues: https://github.com/shieldly-io/cli/issues

Free tools & references (no signup)

No account required — these run in your browser or document the risks:

License

MIT © Shieldly


Amazon Web Services (AWS) is a trademark of Amazon.com, Inc. Shieldly is not affiliated with, endorsed by, or sponsored by Amazon Web Services.