🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@shieldly/cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shieldly/cli

AI-Powered Security Analysis for AWS — official CLI

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
49
-39.51%
Maintainers
1
Weekly downloads
 
Created
Source

@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

Quick start

# Authenticate (get a key 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

Without an API key, analyze-iam runs in demo mode (5 lifetime analyses, IAM only). analyze-cf and api-keys require a key.

Commands

CommandDescription
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|revokeManage API keys
shieldly completion bash|zsh|installShell completion

Global options

OptionDescription
--api-key <key>API key (or set SHIELDLY_API_KEY)
--versionShow version
-h, --helpShow 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.

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.

Keywords

aws

FAQs

Package last updated on 13 Jun 2026

Did you know?

Socket

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.

Install

Related posts