Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Serverless Framework Config Security Audit

    by CashonlyTian

    1

    This skill scans your Serverless Framework configuration files for security misconfigurations, credential leaks, and excessive permissions before you run a deployment.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Serverless Framework Config Security Audit

    Serverless Framework Config Security Audit

    Example session with this skill installed

    Audit the Serverless project in ./backend-api for project "PaymentGateway". Use hex color #2ECC71 and set the brand to "SecurityOps".

    • Read your context and instructions
    • Compiled the serverless framework config
    • Generated the document

    I have completed the security audit for the

    PaymentGateway project located in ./backend-api. The scan analyzed your serverless.yml across 10 critical security categories.

    Audit Results:

    • Score: 65/100
    • Grade: D
    • Risk Level: HIGH
    • Findings: 4 issues detected (2 Critical, 2 Moderate)

    Security Audit Report

    CheckScoreStatusFinding
    IAM Wildcards0/10FAILprovider.iam.role.statements contains Resource: "*"
    Env Secrets0/10FAILLiteral STRIPE_KEY found in provider.environment (masked)
    HTTP Authorizer10/10PASSAll endpoints use Cognito/Custom authorizers
    Plugins Trust10/10PASSAll plugins verified from registry
    S3 Public Access0/10FAILUploadBucket missing PublicAccessBlockConfiguration
    Layers Trust10/10PASSNo untrusted layer ARNs detected
    Package Leak0/10FAIL.env and *.pem not excluded in package.patterns
    Logs & Tracing10/10PASSRetention set to 14 days; Tracing enabled
    API Keys10/10PASSNo literal API keys in config
    Runtime Hygiene5/10WARNService name set, but using EOL nodejs12.x

    Top Prioritized Fixes

    1. Critical: Remove Resource: "*" from your IAM statements. Grant access only to specific ARNs.
    2. Critical: Move the literal value for STRIPE_KEY to AWS SSM or Secrets Manager and use ${ssm:...} references.

    High: Update package.patterns to explicitly exclude .env, .git, and any .pem files to prevent credential shipping.

    Files Generated:

    • Score Card: scan-2023-10-27.png
    • Detailed Report: scan-report.md

    Next steps

    • Review the scan-report.md file for the exact line numbers of the findings.
    • Apply the Top 3 fixes listed above to your serverless.yml.
    • Run the audit again to verify the new security score.

    scan-2023-10-27.png

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Deploying a serverless.yml without an audit is a liability. This skill scans your Serverless Framework configuration files for security misconfigurations, credential leaks, and excessive permissions before you run a deployment. It prevents common infrastructure-as-code errors that lead to public data exposure or compromised AWS accounts.

    What it does

    • IAM Wildcard Detection flags overly permissive Action: "*" or Resource: "*" statements in provider and function roles.
    • Credential Leak Prevention identifies literal secrets in environment variables or custom variables and masks them in reports.
    • Endpoint Security Audit finds public http or httpApi events lacking mandatory authorizers.
    • Resource Lockdown checks S3 buckets for missing PublicAccessBlock configurations or open bucket policies.
    • Artifact Inspection scans package.patterns to ensure .env, .pem, and credential files are not shipped in the deploy zip.
    • Runtime Hygiene alerts you to end-of-life runtimes and missing log retention or tracing settings.

    How it works

    1. Provide the local path to your Serverless project directory.
    2. The skill runs a local Python-based scan of your serverless.yml and related configuration files.
    3. It generates a score (0-100), a risk grade, and a prioritized fix report.
    4. Review the generated PNG score-card and the detailed Markdown findings.

    Frameworks & tools

    Specifically designed for Serverless Framework projects using the AWS provider. It analyzes serverless.yml structure, including provider settings, function definitions, and custom resources.

    Why this beats prompting it yourself

    Manual prompts often miss nested IAM statements or fail to cross-reference package.patterns with sensitive local files. This skill uses a structured 10-point scoring system that ensures no category, from runtime EOL to S3 public access, is overlooked.

    Use cases

    • Auditing a serverless.yml inherited from a previous developer or tutorial.
    • Pre-deployment check to ensure no plain-text API keys are baked into the config.
    • Verifying least-privilege IAM roles before a production release.
    • Generating a security compliance score-card for client handovers.

    Known limitations

    Scans local configuration files only and does not connect to live AWS accounts or audit existing infrastructure. Does not perform CVE dependency scanning for npm or pip packages.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Scans local serverless.yml files only. Does not check live AWS resources or perform package vulnerability (CVE) scanning. Skips files over 2MB, node_modules, and .git directories.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    Software
    Python 3Pillow

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    This skill scans your `serverless.yml` and project files for common security risks like 'Resource: *' IAM permissions, exposed API keys, and unauthenticated endpoints before you deploy to AWS.

    No, the skill performs a local analysis of your configuration files and does not require or request access to your live AWS account or cloud environment.

    The skill is optimized for the Serverless Framework using the AWS provider and is compatible with most AI agents that have access to a local file system and a Python runtime.

    You will receive the complete audit skill, a structured 10-point scoring system, and templates for the security scorecards and Markdown reports.

    While this skill is highly effective at identifying infrastructure-as-code misconfigurations, it does not scan your application code for vulnerabilities or perform CVE dependency checks for your npm/pip packages.

    Simply provide the local path of your Serverless project to your AI agent; the skill will then automatically parse your configuration and generate a prioritized fix report.

    New in LLM Ops