Skip to content
MCP Servers
Skill

/snyk-security-scan

Scan code, dependencies, containers, IaC and SBOMs with Snyk via its first-party MCP server: authenticate, trust a folder, run the right scanner, read the findings, fix and re-scan. Includes package-health checks before adding a dependency.

From plugin
hermes-official-plugins
73916 skills

Claude Code

$ npx -y skills add NousResearch/hermes-official-plugins --skill snyk-security-scan --agent claude-code

SKILL.md

snyk-security-scan.SKILL.md
name: snyk-security-scan
description: "Scan code, dependencies, containers, IaC and SBOMs with Snyk via its first-party MCP server: authenticate, trust a folder, run the right scanner, read the findings, fix and re-scan. Includes package-health checks before adding a dependency."
version: 1.0.0
author: Nous Research
license: MIT
metadata:
  tags: "snyk, security, sast, sca, dependencies, vulnerabilities, container, iac, sbom, mcp"
  hermes_related_skills: "requesting-code-review, security-guidance"

Snyk Security Scan Skill

Runs Snyk scanners against code you just wrote, dependencies you are about to add, container images, IaC files and SBOMs, through the `snyk` MCP server bundled in this plugin. It does not replace a code review; it finds known vulnerabilities, misconfigurations and risky packages and tells you how to remediate them.

When to Use

  • After generating or editing source: `snyk_code_scan` (SAST) on the touched directory.
  • Before adding or upgrading a dependency: `snyk_package_health_check`, then

`snyk_breakability_check` for the upgrade path.

  • On a project with a manifest/lockfile: `snyk_sca_scan` for known-vulnerable dependencies.
  • Before pushing a Dockerfile/image or Terraform/Kubernetes/CloudFormation: `snyk_container_scan`,

`snyk_iac_scan`.

  • When handed an SBOM (CycloneDX/SPDX): `snyk_sbom_scan`.
  • NOT for: secrets detection, dynamic testing, or scanning code you must not upload (scans send

code metadata to Snyk's cloud, see Pitfalls).

Prerequisites

  • The `snyk` plugin installed and enabled (`hermes plugins install snyk`, `hermes plugins enable snyk`,

then a NEW Hermes session so the MCP tools load). The server is launched with `npx -y snyk@<pinned> mcp -t stdio --profile full --DISABLE_ANALYTICS`, so Node.js/npm must be on `PATH`. Usage analytics are disabled in the manifest; the scans themselves are network calls.

  • A Snyk account (free tier covers code + open-source scanning). Nothing is prompted at install:

the `snyk_auth` tool runs Snyk's browser login on demand and stores the token in the Snyk CLI's own config, never in Hermes.

  • For SCA, the project's package manager (npm, pip/uv, maven, gradle, ...) must be installed so

Snyk can resolve the dependency tree.

How to Run

Tool names are prefixed by Hermes: `mcp__agent_plugin_snyk_8cb0f11d__sn__<tool>` when installed from the catalog (the hash derives from the install directory name; `tool_search` for "snyk" finds them either way). The suffix after `__sn__` is the Snyk tool name used below.

1. `snyk_auth` once per machine (or when any scan reports "not authenticated"). Tell the user a browser window opens; wait for it to complete. 2. Resolve the ABSOLUTE path of the target (`terminal`: `pwd`). Every `path` argument must be absolute; relative paths fail. 3. If a scan returns a trust error, run `snyk_trust` with that absolute path, then retry. Only trust a folder the user asked you to scan. 4. Run the scanner. Start with `severity_threshold: "high"` on large trees to keep output readable; drop to `medium`/`low` when the user wants everything. 5. Read the findings, fix what you can (upgrade pins, patch the code), re-run the same scan and report the before/after issue counts.

Quick Reference

| Goal | Tool | Key args | |---|---|---| | SAST on source | `snyk_code_scan` | `path` (abs), `severity_threshold`, `org` | | Vulnerable deps | `snyk_sca_scan` | `path` (abs), `all_projects`, `dev`, `command` (Python: `python3` REQUIRED), `file` | | Vet a package | `snyk_package_health_check` | `ecosystem` (npm/pypi/maven/golang/nuget), `package_name`, `package_version` | | Upgrade risk | `snyk_breakability_check` | `package_name`, `package_version_from`, `package_version_to` | | Container image | `snyk_container_scan` | `image` (`node:20-alpine`, image id, `oci-archive:x.tar`), `file` (Dockerfile), `exclude_base_image_vulns` | | IaC | `snyk_iac_scan` | `path` (abs), `severity_threshold`, `scan` (TF plan: `resource-changes`) | | SBOM | `snyk_sbom_scan` | `file` (abs, CycloneDX 1.4–1.6 / SPDX 2.3 JSON) | | AI BOM (preview) | `snyk_aibom` | `path` (abs, Python project); gated feature, may be unavailable | | Login / logout / version | `snyk_auth`, `snyk_logout`, `snyk_version` | none | | Telemetry back to Snyk | `snyk_send_feedback` | opt-in only; never call unprompted |

`references/tools.md` has the full argument list for every tool.

Procedure

**"Scan what I just wrote"** 1. `pwd` → absolute project root. 2. `snyk_code_scan` on the directory (not the single file: SAST needs data-flow context). 3. For each finding: cite file:line, the rule, and the fix; apply fixes the user agreed to. 4. Re-scan, report delta.

**"Is this package safe to add?"** 1. `snyk_package_health_check` with ecosystem + name (+ version if pinned). 2. Report vulnerabilities, maintenance status, popularity. 3. If replacing a version: `snyk_breakability_check` from→to. 4. Only then edit the manifest, then `snyk_sca_scan` the project.

**"Audit dependencies"** 1. `snyk_sca_scan` with `path`; monorepo → `all_projects: true`; Python → `command: "python3"` (mandatory for Python). 2. Group by severity, list the upgrade path Snyk proposes. 3. Apply upgrades, re-run tests, re-scan.

**"Check my Dockerfile / infra"**

  • Image: build or pull it first, then `snyk_container_scan` with `image` and `file` pointing at

the Dockerfile so remediation names the offending layer.

  • IaC: `snyk_iac_scan` on the directory; for Terraform plans generate the JSON plan first.

Pitfalls

  • Relative paths fail every scanner; always resolve with `pwd` first.
  • `snyk_trust` is a one-way grant on the user's machine. Run it only for the folder being

scanned, after the user asked for the scan.

  • Python SCA without `command: "python3"` returns nothing useful.
  • Scanning uploads code metadata (and for SAST, code) to Snyk's cloud. Ask before scanning

private or client repositories; do not scan directorie

Read more
@nousresearch
Ships withhermes-official-plugins

☤ The official plugins for Hermes Agent, built and maintained by Nous Research: Home Assistant, Spotify, Claude Subscription DirectSDK and more, one install away from the Hermes plugin catalog.

Stars on GitHub

Momentum

stars in total
739
Star history of NousResearch/hermes-official-plugins on GitHub, a chart by star-history.com

Other skills on hermes-official-plugins.

More skills from other plugins.

gitnexus-cli

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki,…

@abhigyanpatwari@abhigyanpatwariInstall Skill
fastmcp-client-cli

fastmcp-client-cli

Query and invoke tools on MCP servers using fastmcp list and fastmcp call. Use when you need to discover what tools a server…

fastmcp3d29k
@prefecthq@prefecthqInstall Skill
n8n-agents

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain,…

n8n-mcp3d23k
@czlonkowski@czlonkowskiInstall Skill
post-to-xhs

post-to-xhs

小红书内容发布技能。支持两种发布模式:(1) 上传图文模式 - 图片+短文;(2) 写长文模式 - 长篇文章+排版模板。 支持两种输入方式:用户提供完整内容和图片/图片URL,直接发布;或提供网页URL,自动提取内容和图片。…

@xpzouying@xpzouyingInstall Skill

Questions about snyk-security-scan.

Which coding agents can use snyk-security-scan?
snyk-security-scan installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.