Automated summary
This skill walks through using the Snyk CLI to find and fix vulnerabilities in open-source dependencies, container images, IaC configurations, and code.
Strengths
- Covers four separate scanning surfaces: dependencies, containers, IaC, and code
- Gives exact commands for install, auth, and repeat scans
- Shows how to fail CI only on critical issues using --severity-threshold
- Names alternatives (npm audit, Dependabot, Socket.dev) so you can judge fit
Limitations
- The 200 free dependency tests per month are noted but overage behavior is not explained
- Commands assume an authenticated Snyk account and network access, so offline use is unaddressed
- Doesn't cover result triage or prioritization beyond a severity threshold
When you need to audit a project's dependencies or Docker image, or add a security gate to a CI/CD pipeline.
When you need deep static analysis (SAST) of application code or an offline security audit without a Snyk account.
Security analysis
CautionThe skill uses legitimate security scanning commands but involves installing software globally, authenticating, and potentially uploading project data to a third-party service. These actions are normal for Snyk usage but require network and system-level access, so caution is warranted rather than classifying it as completely safe.
- •Instructs global installation of npm package (npm install -g snyk), which requires network and system-level changes.
- •Uses snyk auth, which may prompt for credentials or open a browser; user should be aware of token handling.
- •Commands like snyk container test and snyk iac test --report may upload data to Snyk's dashboard, which could expose project information.
Examples
Run Snyk on this Node project and show me which dependencies have vulnerabilities, then auto-fix what you safely can.Scan my-app:latest with Snyk container test and summarize the CVEs by severity.Add a Snyk step to our GitHub Actions workflow that only fails the build on high-severity vulnerabilities.name: snyk description: >- Find and fix vulnerabilities in code and dependencies with Snyk. Use when a user asks to scan for security vulnerabilities, audit npm packages, check Docker images for CVEs, or integrate security into CI/CD. license: Apache-2.0 compatibility: 'Node.js, Python, Go, Java, Docker, IaC' metadata: author: terminal-skills version: 1.0.0 category: devops tags: - snyk - vulnerability - dependencies - docker - ci-cd
Snyk
Overview
Snyk finds and fixes vulnerabilities in open-source dependencies, container images, IaC configs, and code. Integrates into CLI, CI/CD, Git repos, and IDEs.
Instructions
Step 1: Setup
npm install -g snyk
snyk auth
Step 2: Scan Dependencies
snyk test # test for vulnerabilities
snyk monitor # continuous monitoring
snyk fix # auto-fix vulnerabilities
Step 3: Container Scanning
snyk container test node:20-alpine
snyk container test my-app:latest --file=Dockerfile
Step 4: IaC Scanning
snyk iac test # scan Terraform, K8s manifests
snyk iac test --report # upload to dashboard
Guidelines
- Free tier: 200 dependency tests/month, unlimited container tests.
- Use
--severity-threshold=highin CI to fail only on critical issues. snyk fixauto-generates PRs with dependency upgrades.- Alternatives: npm audit (basic), GitHub Dependabot (free), Socket.dev (supply chain).
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/snyk-vulnerability-scanning-msl9cetl' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/snyk-vulnerability-scanning-msl9cetl/download' --output '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md.part' && mv '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md.part' '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Environment declared by the author: Node.js, Python, Go, Java, Docker, IaC
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md' && test -s '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/snyk' && cp -R '.skill-downloads/snyk-vulnerability-scanning-msl9cetl' '.claude/skills/snyk'Cursor
test -f '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md' && test -s '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/snyk' && cp -R '.skill-downloads/snyk-vulnerability-scanning-msl9cetl' '.cursor/skills/snyk'Codex
test -f '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md' && test -s '.skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/snyk' && cp -R '.skill-downloads/snyk-vulnerability-scanning-msl9cetl' '.agents/skills/snyk'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/snyk-vulnerability-scanning-msl9cetl'openskills read 'snyk-vulnerability-scanning-msl9cetl'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/snyk-vulnerability-scanning-msl9cetl/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
DeFi AMM Security
Security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, donation attacks, oracle manipulation, slippage, and integer math.
Semgrep Rule Creator
Security
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Includes test-first methodology, taint mode support, and validation steps. Helps when building targeted static analysis detections.
Dev Toolbar Review Guide
Security
Safety rules for the dev toolbar, PostHog client, and feature flags. Use when reviewing changes to dev-tools and related files, covering environment guards, override cookies, and SSE stream safety.