absolute-audit — скилл для Claude Code: аудит безопасности
Скилл absolute-audit для Claude Code ищет уязвимости в зависимостях и рискованные участки кода. Запускается по запросам на аудит безопасности, поиск CVE или секретов и усиление защиты.
MIT 592 установок ★ 224 обновлён 2026-10-26
npx skills add dhruvjainin/absolute --skill absolute-audit -a claude-codeЧто делает absolute-audit
absolute-audit сканирует весь репозиторий: проверяет зависимости на CVE и ищет в коде секреты, небезопасную обработку ввода, слабые проверки доступа и другие рискованные шаблоны. Затем ранжирует находки по серьёзности, возможности эксплуатации и достижимости из кода приложения, предлагает исправления и повторно запускает проверку.
Секреты в отчёте не раскрываются: скилл указывает путь и строку. Исправления проверяются без подавления предупреждений; для утёкших действующих секретов он отмечает необходимость ротации. Встроенная команда /security-review проверяет ожидающие изменения в ветке, а этот скилл охватывает весь закоммиченный репозиторий и зависимости.
Для установки в Claude Code выполните npx skills add dhruvjainin/absolute --skill absolute-audit -a claude-code; файл скилла находится по пути ~/.claude/skills/absolute-audit/SKILL.md.
Какие задачи решает
- найти CVE в зависимостях проекта
- обнаружить секреты и небезопасные шаблоны кода
- расставить приоритеты уязвимостей по достижимости
- исправить подтверждённые проблемы и повторить сканирование
Примеры запросов агенту
- Проведи аудит безопасности всего репозитория.
- Проверь зависимости на CVE и найди секреты в коде.
- Усиль защиту маршрутов и исправь уязвимости, которые найдёшь.
Как установить absolute-audit
1Через Skills CLI (Vercel)
npx skills add dhruvjainin/absolute --skill absolute-audit -a claude-code2Вручную: положить файлы
~/.claude/skills/absolute-audit/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/absolute-audit/
1Через Skills CLI (Vercel)
npx skills add dhruvjainin/absolute --skill absolute-audit -a codex2Вручную: положить файлы
.agents/skills/absolute-audit/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add dhruvjainin/absolute --skill absolute-audit -a cursor2Вручную: положить файлы
.cursor/skills/absolute-audit/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install dhruvjainin/absolute skills/absolute-audit2Вручную: положить файлы
.github/skills/absolute-audit/SKILL.md1Через Skills CLI (Vercel)
npx skills add dhruvjainin/absolute --skill absolute-audit -a gemini-cli2Командой платформы
gemini skills install https://github.com/dhruvjainin/absolute --path skills/absolute-auditВручную: положить файлы
.devin/skills/absolute-audit/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add dhruvjainin/absolute --skill absolute-audit -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об absolute-audit
Как установить absolute-audit в Claude Code?
Выполните npx skills add dhruvjainin/absolute --skill absolute-audit -a claude-code. Файл скилла находится в ~/.claude/skills/absolute-audit/SKILL.md.
Что делает absolute-audit?
Скилл проверяет зависимости на CVE и анализирует код на рискованные шаблоны, затем ранжирует находки и помогает исправить их. После исправлений он повторяет сканирование, не подавляя предупреждения.
Чем absolute-audit отличается от /security-review?
/security-review анализирует ожидающие изменения в текущей ветке. absolute-audit проверяет весь закоммиченный репозиторий, включая зависимости.
Исходный текст
SKILL.md · MIT
--- name: absolute-audit version: 0.5.0 description: > Vulnerability and security scan (defensive, your own repo): dependency CVEs plus risky code patterns (secrets, injection, weak authz), severity x reachability triaged and remediated without suppressing. Complements the built-in /security-review. Triggers on "absolute audit", "security audit", "are we vulnerable", "scan for CVEs", "check for secrets/injection", "harden this". category: workflow tags: - workflow - security - audit - vulnerabilities - cve platforms: - claude-code - gemini-cli - openai-codex - mcp user-invocable: true argument-hint: "[target]" license: MIT maintainers: - github: maddhruv --- > Start your first response with the 🔒 emoji. ## Absolute Audit Find and triage security problems across the repo — vulnerable dependencies (CVEs) and risky code patterns — then fix the ones worth fixing, safely. Output is a severity-ranked findings table with a remediation per item, not a raw scanner dump. Runs the shared engine in **`references/health-engine.md`** — read it for the DETECT → SCAN → TRIAGE → FIX → VERIFY → REPORT loop and the safety contract. This file covers only what's specific to security auditing. > **Authorized defensive use.** This command audits the user's *own* repository to find > and fix weaknesses. It is for hardening, not for attacking systems or evading detection. --- ## When to use - "Run a security audit", "are we vulnerable?", "check our deps for CVEs". - After a CVE disclosure affecting something you use. - Periodic hygiene on `main`. Distinct from the built-in **`/security-review`** (reviews the *pending diff* on your branch) — `audit` scans the **whole committed repo**, deps included. They complement. --- ## What it scans **1. Dependency vulnerabilities (CVEs)** — primary: | Ecosystem | Scanner | |---|---| | npm / pnpm / yarn | `npm audit --json` / `pnpm audit --json` / `yarn npm audit --json` | | Python | `pip-audit` (preferred) or `safety check` | | Go | `govulncheck ./...` | | Cross-language | `osv-scanner` against the lockfile if available | **2. Code-level patterns** — read-only grep/static pass for high-signal issues only: hardcoded secrets/keys/tokens, `eval`/dynamic exec on input, SQL built by string concatenation, missing authz checks on sensitive routes, disabled TLS verification, unsafe deserialization, overly-broad CORS. Prefer the project's existing SAST/linter security rules (`eslint-plugin-security`, `bandit`, `gosec`) if configured. Report suspected leaked secrets but **never print the secret value** — reference `path:line` and the kind. --- ## Risk ranking (TRIAGE) Rank by **severity × exploitability × reachability**, not raw CVSS: | Severity | Default | |---|---| | Critical / High, reachable, fix available | fix now (wave 1) | | Moderate, reachable | fix this pass | | Low / not reachable from app code | report, usually defer | | Transitive-only, no direct upgrade path | flag, note the blocking parent | Mark each: is it reachable from the app's actual code paths? A CVE in an unused transitive branch is lower priority than a Moderate one on a hot path. State the fixed version or the mitigation for each. --- ## Fix & verify - **Dep CVEs** → resolve via the smallest version move that clears it (delegate the actual bump mechanics to the `upgrade` flow's per-ecosystem steps). Prefer patched minors; escalate to a major only when that's the only fix, and gate it. - **Code issues** → apply the concrete fix (parameterize the query, move the secret to env + flag the leaked one for rotation, add the authz check). Each fix is its own small wave. - After each wave, re-run the scanner: the finding must actually disappear, and tests/build stay green. Never resolve by suppressing/allowlisting the alert. - Leaked live secrets: flag for **rotation** — removing from code doesn't undo exposure. --- ## Gotchas 1. **Audit fatigue → blanket ignore.** Triage by reachability instead of muting the scanner. 2. **Fixing a CVE by suppressing it.** An allowlisted advisory is still a vulnerability. 3. **Printing the secret.** Reference location + type only; never echo the value. 4. **Deleting a secret from code ≠ safe.** It's in git history and was exposed — rotate it. 5. **Stopping at deps.** Many real issues are in code, not the dependency tree — run both passes. --- ## Companion commands - **`/absolute upgrade`** — does the actual version moves for vulnerable deps. - **`/security-review`** (built-in) — pair with this to also cover your pending diff. - **`/absolute work`** — if remediation is a real refactor (e.g. replacing an auth flow), hand off.
© dhruvjainin · MIT · dhruvjainin/absolute