본문으로 건너뛰기
cccskills
무료GitHub에 공개

dependency-audit

Periodically scan project dependencies for security vulnerabilities, outdated packages, and unused dependencies. Produces a prioritized action report. Run before every major release and at least once per month.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

<!-- TÜRKÇE AÇIKLAMA ─────────────── Bu skill, projenin bağımlılıklarını (npm, pip, vb.) güvenlik açıkları, eski sürümler ve kullanılmayan paketler açısından tarar. Bulunan sorunları öncelik sırasına göre listeler ve güvenli güncellemeleri otomatik uygular. Her major release öncesi ve ayda bir çalıştırılmalıdır. NE ZAMAN: Her production release öncesi. Aylık rutin. Yeni CVE duyurulduğunda. ÇIKTI: .agent/audits/dependency-audit-YYYY-MM-DD.md — öncelikli aksiyon raporu. -->

Dependency Audit Skill

When to Trigger

  • Before any production release
  • Monthly cadence (add to sprint planning)
  • After a CVE is publicly announced that might affect your stack
  • When a team member says "we should update our packages"
  • Before onboarding a new contributor (known-safe baseline)

Step-by-Step Process

1. Detect Package Ecosystem

Identify which package managers are in use:

package.json        → npm / yarn / pnpm  (Node.js)
requirements.txt    → pip                (Python)
pyproject.toml      → pip / poetry       (Python)
Gemfile             → bundler            (Ruby)
go.mod              → go modules         (Go)
Cargo.toml          → cargo              (Rust)

Run the audit steps for each ecosystem found.


2. Security Vulnerability Scan

Node.js

npm audit
# or
yarn audit
# or
pnpm audit

Python

pip install pip-audit
pip-audit

General (all ecosystems)

# If using GitHub: check Security tab → Dependabot alerts
# If using Snyk:
snyk test

Triage each finding:

SeverityAction
CriticalFix immediately before any other work
HighFix before next release
MediumSchedule for current sprint
LowTrack, fix when touching related code

3. Outdated Package Scan

Node.js

npm outdated

Python

pip list --outdated

For each outdated package, check:

  1. How many major versions behind? (1 minor = low urgency, 2+ major = high urgency)
  2. Is it a direct or transitive dependency?
  3. Does the changelog mention breaking changes?

4. Unused Dependency Detection

Node.js

npx depcheck

Python

pip install deptry
deptry .

For each unused dependency flagged:

  • Verify it's truly unused (some are peer deps or used at runtime via config)
  • If confirmed unused, remove from package.json / requirements.txt
  • Re-run the app and tests to confirm nothing breaks

5. License Compliance Check

Flag any dependencies with licenses that may be incompatible with your project:

# Node.js
npx license-checker --summary

# Python  
pip install pip-licenses
pip-licenses

License risk tiers:

LicenseRisk
MIT, Apache 2.0, BSDSafe for most uses
LGPLGenerally OK, check linking requirements
GPLRisk if distributing proprietary software
AGPLHigh risk — requires open-sourcing if used via network
UnknownMust investigate before use

6. Produce the Audit Report

Write findings to .agent/audits/dependency-audit-<YYYY-MM-DD>.md:

# Dependency Audit — <YYYY-MM-DD>

## Summary
- **Critical vulnerabilities:** <N>
- **High vulnerabilities:** <N>
- **Outdated packages:** <N>
- **Unused packages:** <N>
- **License issues:** <N>

## Critical / High — Action Required

### <package-name> @ <version>
- **CVE:** CVE-XXXX-XXXXX
- **Severity:** Critical
- **Description:** <what the vulnerability is>
- **Fix:** Upgrade to <version>
- **Breaking changes:** Yes/No — <details>

## Outdated Packages

| Package | Current | Latest | Urgency | Notes |
|---------|---------|--------|---------|-------|
| express | 4.17.1 | 5.0.0 | High | Major version — review changelog |
| lodash | 4.17.20 | 4.17.21 | Low | Patch only |

## Unused Dependencies (safe to remove)
- `left-pad` — not imported anywhere
- `moment` — replaced by `date-fns` but not removed

## License Issues
- `<package>` uses GPL-3.0 — review with team before next release

## Recommendations
1. <prioritized action>
2. <prioritized action>

7. Execute Safe Fixes

For packages with patch or minor updates and no breaking changes:

# Node.js — safe updates only
npm update

# Python
pip install --upgrade <package>

After upgrading:

  1. Run the full test suite
  2. Do a smoke test of the running app
  3. Commit with message: chore: dependency security updates <YYYY-MM-DD>

For major version upgrades, create a separate branch and task.

Rules

  • Never auto-upgrade major versions in bulk — do them one at a time.
  • Always run tests after any upgrade — even patch versions can break things.
  • Keep the audit report even after fixes — it's a compliance record.
  • Critical vulnerabilities block releases — no exceptions without explicit sign-off.
  • Unused packages must be removed, not just ignored — they are attack surface.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Before committing to an implementation plan, run this skill to stress-test the proposed architecture. Catches over-engineering, circular dependencies, missing failure modes, security gaps, and scalability cliffs — before any code is written. Acts as a "second eye" on the plan.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit952026년 6월 4일 업데이트

Systematic code review skill covering both requesting a review (pre-commit checklist) and receiving and responding to review feedback. Checks code quality, security, test coverage, architectural alignment, and documentation before any code is committed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit952026년 6월 4일 업데이트

After any significant code change — new feature, API modification, config change, or architectural refactor — run this skill to identify which documentation files are now stale and update them. Keeps docs and code from drifting apart.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit952026년 6월 4일 업데이트

github

무료

Manages all git operations (commit, push, branch management, PR creation) in a standardized, safe, and consistent way. Automatically runs the code-review skill before any commit. Enforces Conventional Commits standard. Handles the full lifecycle: branch → review → commit → push → PR.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit952026년 6월 4일 업데이트

When something breaks in production: triage the severity, gather evidence, identify root cause, deploy a fix or mitigation, and write a post-mortem. Provides a calm, structured process for high-stress moments.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit952026년 6월 4일 업데이트

Use this skill whenever you learn something important during a conversation: a key architectural decision, a project-specific convention, a bug root-cause, a 3rd-party API quirk, or any fact that would help a future agent avoid re-doing the same research. Writes structured entries to the project's knowledge base so that context persists across conversations and agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit952026년 6월 4일 업데이트

omergocmen의 스킬 모두 보기

이 스킬의 문제 신고