Skip to main content

security-scan

Resolve npm dependency vulnerabilities detected by security scans.

Source facts

Repository
redpanda-data/console
Last source activity
January 20, 2026 at 21:27
Detected SKILL.md language
English
Stars
4,336
Forks
431

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
5 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
security-scan
description
Resolve npm dependency vulnerabilities detected by security scans.
# 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 | Action | Rule | |--------|------| | Fix direct deps | `vuln-direct-deps.md` | | Fix transitive deps | `vuln-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 ```bash 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.
View on GitHub