Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

security-scan

Skill by bagofwords1

Runs a Snyk security scan across npm and pip dependencies, the Dockerfile base image and Snyk Code, then triages and fixes the real findings. Built for dependency CVE cleanup and pre-release security passes.

  • Score 70
  • 464 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install security-scan

Built from the published package, never by AI.

git clone --depth 1 https://github.com/bagofwords1/bagofwords /tmp/bagofwords && mkdir -p ~/.claude/skills && cp -r /tmp/bagofwords/.agents/skills/security-scan ~/.claude/skills/security-scan

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install security-scan in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill runs a Snyk security scan on a repository across four surfaces: frontend npm dependencies, backend pip dependencies, the Dockerfile and base image, and Snyk Code static analysis. It then triages the findings, since many are dev-only or false positives, and fixes the real ones with verified remediations. The Snyk token is read from the SNYK_PAT environment variable.

The workflow covers yarn resolutions for transitive npm packages, pyproject and uv.lock updates for Python, and exclusions in the .snyk policy file. It requires a re-scan to confirm each fix, plus a local build and lock consistency check before committing. It is aimed at developers doing dependency CVE cleanup or a pre-release security pass.

Written from the project's SKILL.md and checked against it.

What it can do

  • Frontend dependency scanRuns snyk test on the frontend yarn.lock and maps fixes into yarn resolutions.
  • Backend dependency scanExports pinned uv requirements and scans them as pip to find vulnerable packages.
  • Container scanRuns snyk container test on the Dockerfile base image and checks remediation advice.
  • Snyk Code triageRuns SAST and sorts findings into dev-only exclusions and real application issues.
  • Verified re-scanRe-runs the scans to confirm finding counts dropped before committing changes.

What you need

  • Snyk API token stored in the SNYK_PAT environment variable
  • Snyk CLI, installed with npm
  • Yarn 1 (classic) for the frontend
  • uv 0.9.29 or later and Python 3.12 for the backend

Try asking

  • Scan this repo with Snyk and resolve the security issues
  • Run a pre-release security pass with Snyk on this project
  • Clean up the dependency CVEs in the frontend and backend

Good to know

  • Major-version app dependency bumps are left out and flagged for a separate change.
  • Base OS findings are often distro won't-fix and are not churned in the Dockerfile.
  • Issue-level ignores are managed in the Snyk web UI, not the .snyk file.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/security-scan/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to security-scan

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

security-scan: common questions

Does it need a Snyk account?

It needs a Snyk API token in the SNYK_PAT environment variable. The org id is looked up through the Snyk REST API.

Does it fix every Snyk finding?

No. It triages findings and fixes only the real ones. Major-version bumps are deferred and many base image issues are won't-fix.

Does the container scan need Docker running?

No. The source says Snyk fetches image metadata directly, so no Docker daemon is needed.

How do I install security-scan?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is security-scan free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is security-scan safe to use?

It scores 70 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to security-scan?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

security-scan Install

Add to stack

Loading.