Fixes npm vulnerabilities found in Snyk reports by patching direct and transitive dependencies.

Install

mkdir -p .claude/skills/security-scan && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4566" && unzip -o skill.zip -d .claude/skills/security-scan && rm skill.zip

Installs to .claude/skills/security-scan

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Resolve npm dependency vulnerabilities detected by security scans.
66 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Parse Snyk vulnerability reports
  • Categorize dependencies as direct or transitive
  • Check npm registry for fixed versions
  • Verify security fixes with build and test commands

How it works

The skill assesses vulnerability reports, explores current dependency versions, applies fixes, and verifies integrity through build and test execution.

Inputs & outputs

You give it
Snyk vulnerability report
You get back
Updated package.json or lockfile with security fixes

When to use security-scan

  • Fixing direct dependency vulnerabilities
  • Resolving transitive dependency security alerts
  • Updating insecure npm packages
  • Verifying security fixes with automated tests

About this skill

Security Scan

Resolve npm dependency vulnerabilities detected by Snyk.io security scans.

Activation Conditions

  • User shares Snyk vulnerability reports
  • Mentions CVEs/CWEs
  • Asks to fix security issues in npm dependencies

Quick Reference

ActionRule
Fix direct depsvuln-direct-deps.md
Fix transitive depsvuln-transitive-deps.md

Workflow

1. Assess

  • Parse vulnerability report: package, version, CVE/CWE, severity, fixed version
  • Categorize as direct (in package.json) or transitive (pulled in by another package)

2. Explore

  • Check package.json for current versions and existing overrides
  • Check lockfile for actual resolved versions
  • Search source code for direct usage of vulnerable package
  • Check npm registry for available fixed versions: npm view <package> versions --json

3. Fix

See rules for specific fix patterns.

4. Verify

bun i --yarn
bun run type:check
bun run lint
bun run build
bun run test

All must pass.

Tips

  • Use exact versions for security fixes (no ^ prefix)
  • Fix Critical/High severity first
  • Replace unmaintained packages rather than patching
  • Document workarounds with comments explaining why

Rules

See rules/ directory for detailed guidance.

When not to use it

  • Non-npm dependency environments

Limitations

  • Requires all build, lint, and test steps to pass
  • Fixes Critical and High severity issues first

How it compares

It automates the identification and patching workflow compared to manually searching for and updating individual vulnerable packages.

Compared to similar skills

security-scan side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
security-scan (this skill)16moReviewIntermediate
fix-dependabot-alerts186moReviewIntermediate
azure-keyvault-keys-ts13moReviewAdvanced
azure-keyvault-secrets-ts13moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

More by redpanda-data

View all by redpanda-data

react-best-practices

redpanda-data

Client-side React performance optimization patterns.

2244

code-standards

redpanda-data

TypeScript, React, and JavaScript best practices enforced by Ultracite/Biome.

27

bloblang-authoring

redpanda-data

This skill should be used when users need to create or debug Bloblang transformation scripts. Trigger when users ask about transforming data, mapping fields, parsing JSON/CSV/XML, converting timestamps, filtering arrays, or mention "bloblang", "blobl", "mapping processor", or describe any data transformation need like "convert this to that" or "transform my JSON".

12

component-search

redpanda-data

This skill should be used when users need to discover Redpanda Connect components for their streaming pipelines. Trigger when users ask about finding inputs, outputs, processors, or other components, or when they mention specific technologies like "kafka consumer", "postgres output", "http server", or ask "which component should I use for X".

12

e2e-tester

redpanda-data

Write and run Playwright E2E tests for Redpanda Console using testcontainers. Analyzes test failures, adds missing testids, and improves test stability. Use when user requests E2E tests, Playwright tests, integration tests, test failures, missing testids, or mentions 'test workflow', 'browser testing', 'end-to-end', or 'testcontainers'.

13

form-refactorer

redpanda-data

Refactor legacy forms to use modern Redpanda UI Registry Field components with react-hook-form and Zod validation. Use when user requests: (1) Form refactoring or modernization, (2) Converting Chakra UI or @redpanda-data/ui forms, (3) Updating forms to use Field components, (4) Migrating from legacy form patterns, (5) Implementing forms with react-hook-form and Zod validation.

13

Search skills

Search the agent skills registry