com um clique
snyk
// Run Snyk security scans to find dependency vulnerabilities and source code issues. Use for monthly security reviews or when checking for new vulnerabilities.
// Run Snyk security scans to find dependency vulnerabilities and source code issues. Use for monthly security reviews or when checking for new vulnerabilities.
| name | snyk |
| description | Run Snyk security scans to find dependency vulnerabilities and source code issues. Use for monthly security reviews or when checking for new vulnerabilities. |
Run a Snyk security scan on this project.
Run which snyk to verify Snyk is installed. If not found, tell the user to install it with brew install snyk or npm install -g snyk.
Run snyk auth check or snyk whoami to verify authentication. If not authenticated, tell the user to run ! snyk auth to log in interactively.
snyk test (dependency vulnerabilities — primary scan)Run snyk test to scan Go module dependencies for known vulnerabilities.
This is the most important scan. Summarize the results:
go get upgrade commandssnyk code test (source code analysis — secondary scan)Run snyk code test to scan the project's own Go source code for security issues.
This scan is optional and secondary. Summarize the results:
Combine both scan results into a single prioritized plan:
snyk code testAsk the user which items they'd like to tackle, then help resolve them.