Перейти к содержимому
TakoAPI
Назад к навыкам

go-security-vulnerability

от irook661

Security & Passwords
1.5kЧисло загрузок по данным clawskills.sh
1Звёзды
1Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Identify, assess, and fix security.

Описание

Что делает этот навык

Scans Go modules for known security vulnerabilities using govulncheck, identifies affected dependencies, and guides remediation through updates, replacements, or removals. Covers both direct and transitive dependencies, with verification steps to confirm fixes without breaking builds.

govulncheck uses the Go vulnerability database and call graph analysis to report only vulnerabilities reachable in your code, reducing noise compared to generic dependency scanners.

Когда его использовать

  • Auditing a Go project before a production release
  • Fixing a flagged CVE in a transitive dependency
  • Checking whether a vulnerable function is actually called in your code
  • Updating JWT libraries after a security advisory
  • Setting up a routine vulnerability scan in a Go monorepo

Пример сценария

ВВОД

User asks: scan my Go project for vulnerabilities and fix any found

АГЕНТ
  1. 1

    Run govulncheck ./... to detect vulnerabilities in the module

  2. 2

    Review CVE details and confirm which vulnerable functions are called

  3. 3

    Update affected packages with go get -u and run go mod tidy

  4. 4

    Re-run govulncheck ./... to confirm no vulnerabilities remain

  5. 5

    Run go build ./... and go test ./... to verify nothing is broken

ВЫВОД

Clean govulncheck output with zero findings, successful build, and passing tests

Установка

clawhub install irook661/go-security-vulnerability

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки