snyk
2
总安装量
2
周安装量
#65221
全站排名
安装命令
npx skills add https://github.com/g1joshi/agent-skills --skill snyk
Agent 安装分布
mcpjam
2
claude-code
2
replit
2
junie
2
zencoder
2
Skill 文档
Snyk
Security platform for finding and fixing vulnerabilities.
When to Use
- Dependency vulnerability scanning
- Container image scanning
- Infrastructure as code security
- CI/CD security gates
Quick Start
# Install
npm install -g snyk
# Authenticate
snyk auth
# Test for vulnerabilities
snyk test
# Monitor project
snyk monitor
Core Concepts
CLI Commands
# Test dependencies
snyk test --all-projects
# Fix vulnerabilities
snyk fix
# Test container
snyk container test <image>
# Test IaC
snyk iac test terraform/
CI/CD Integration
# GitHub Actions
- name: Snyk Security Scan
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high
Best Practices
Do: Run in CI/CD, set severity thresholds, monitor continuously Don’t: Ignore critical vulnerabilities, skip container scans