Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Przegląd i audyt

dependency-audit

/dependency-audit

Audytuje zależności pod kątem podatności, przestarzałych wersji, ryzyka licencyjnego i rozrostu, przed wydaniem albo przy pytaniach o CVE i ryzyko łańcucha dostaw.

Licencja
MIT
Ostatnia zmiana repozytorium
21.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 21.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Audytuje zależności pod kątem podatności, przestarzałych wersji, ryzyka licencyjnego i rozrostu, przed wydaniem albo przy pytaniach o CVE i ryzyko łańcucha dostaw.

Oryginalny opis (EN)

Audit dependencies for security vulnerabilities, outdated versions, license risks, and bloat. Use when reviewing third-party packages, before a release, or when the user asks about CVEs, updates, or supply-chain risk.

Jak działa

  1. Core Rule
  2. When to Use
  3. Default Behavior
  4. Process
  5. Output Format
  6. Notes
Sekcje z nagłówków SKILL.md, w oryginale · 151 linii, 753 słów
Podgląd SKILL.md
---
name: dependency-audit
description: Audit dependencies for security vulnerabilities, outdated versions, license risks, and bloat. Use when reviewing third-party packages, before a release, or when the user asks about CVEs, updates, or supply-chain risk.
user-invocable: true
---

# Dependency Audit

## Core Rule

Flag known CVEs, license drift, and bloat with concrete upgrade paths. Never install or upgrade without explicit user approval.

## When to Use

Invoke with `/dependency-audit` when:

- Reviewing a project's dependency health before a release
- Investigating supply chain security concerns
- Planning a dependency update or migration
- Assessing technical debt from outdated packages
- Onboarding to a project and evaluating its dependency choices

## Default Behavior

When the user asks to audit, scan, review, or "give me a report" for dependencies / vulnerabilities, produce the full dependency-audit report automatically using the Process and Output Format sections below. Do not require the user to specify fields.

Only modify files when the user explicitly requests implement / fix / apply / refactor. By default, this skill is **report-only**.

## Process

### Phase 1: Inventory (first-pass leads)

This pass produces **candidates**, not findings. Treat counts as leads for deeper inspection in later phases. Do not report Phase 1 raw output as the final result.

Catalog all dependencies:

1. **Read dependency manifests** — `package.json`, `pyproject.toml`, `go.mod`, `Cargo.toml`, `Gemfile`, `pom.xml`, `build.gradle`
2. **Separate categories** — production vs development dependencies
3. **Count totals** — direct dependencies, estimate transitive depth
4. **Identify lock file presence** — `package-lock.json`, `poetry.lock`, `go.sum`, `Cargo.lock`

### Phase 2: Version Health

Check currency of dependencies:

**Version Analysis**
- How many major versions behind are critical dependencies?
- Are there dependencies pinned to exact versions vs ranges?
- Are there conflicting version requirements?
- Are lock files committed and up to date?

**Deprecation Check**
- Are any dependencies officially deprecated?
- Are any dependencies archived/unmaintained (no commits in 12+ months)?
- Are there dependencies with known successors? (e.g., `request` → `got`/`node-fetch`)

### Phase 3: Security Assessment

Check for known vulnerabilities:

- **CVE database check**: known vulnerabilities in current versions
- **Dependency confusion risk**: private package names that could be squatted
- **Supply chain risks**: dependencies with very few maintainers, recent ownership changes
- **Post-install scripts**: dependencies that run arbitrary code on install
- **Excessive permissions**: dependencies that request unnecessary system access

Recommend running:
- `npm audit` / `yarn audit` (Node.js)
- `pip audit` / `safety check` (Python)
- `go vuln check` (Go)
- `cargo audit` (Rust)
- `bundle audit` (Ruby)

### Phase 4: License Compliance

Check license compatibility:

- List all dependency licenses
- Flag incompatible licenses for the project type:
  - **GPL** in a proprietary/MIT project (copyleft contamination)
  - **AGPL** in any non-AGPL project
  - **No license** (legally unusable)
  - **Custom/unknown licenses** (need legal review)
- Check for license changes between versions

### Phase 5: Bloat & Redundancy

Identify unnecessary weight:

- **Duplicate functionality**: multiple packages doing the same thing (e.g., `lodash` + `underscore`, `moment` + `date-fns`)
- **Oversized dependencies**: large packages used for one small feature
- **Dev dependencies in production**: test/build tools in production deps
- **Unused dependencies**: packages in manifest but not imported anywhere
- **Bundle impact** (web): packages that significantly increase bundle size

### Phase 6: Quality Signals

Evaluate dependency quality:

- **Popularity**: download counts, GitHub stars (not definitive but signals)
- **Maintenance**: recent releases, responsive issue handling
- **Test coverage**: does the dependency have its own tests?
- **TypeScript support**: type definitions available? (for TS projects)
- **Breaking change frequency**: how often do major versions land?

## Output Format

```markdown
# Dependency Audit Report

## Summary
- Total dependencies: N direct, ~N transitive
- Outdated: N (N major, N minor, N patch behind)
- Vulnerabilities: N (N critical, N high, N medium)
- License issues: N

## Security Vulnerabilities
| Package | Current | Fixed In | Severity | CVE |
|---------|---------|----------|----------|-----|
| lodash  | 4.17.15 | 4.17.21  | High     | CVE-2021-23337 |

## Outdated Dependencies
### Critical (2+ major versions behind)
| Package | Current | Latest | Risk |
|---------|---------|--------|------|

### Notable (1 major version behind)
| Package | Current | Latest | Breaking Changes |
|---------|---------|--------|-----------------|

## License Issues
| Package | License | Issue |
|---------|---------|-------|

## Redundancy & Bloat
| Issue | Packages | Recommendation |
|-------|----------|---------------|
| Duplicate utility | lodash + ramda | Consolidate to one |

## Recommendations
### Immediate (security)
1. ...

### Short-term (updates)
1. ...

### Long-term (replacements)
1. ...
```

## Notes

- This audit uses static analysis of manifest/lock files — run the recommended CLI audit tools for CVE verification
- License analysis is informational, not legal advice — consult legal for compliance decisions
- Don't recommend updating everything at once — prioritize security fixes, then major updates incrementally

Wersje

RepozytoriumWynikLicencja
Ta strona · tansuasici/claude-code-kit100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/alfio-claude-plugins100MIT
OKHP3/skillz100MIT
mathews-tom/armory100MIT
meyshad/skillforge100MIT

Migawka bazy z 13.11.2026 · wersja paczki 9af7924a6b25 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100analyze-dependencies
    Audytuje zależności projektu pod kątem ryzyka: podatności, zdrowie pakietów i ryzyko łańcucha dostaw.
  • 100code-dep-audit
    Audytuje zależności pod kątem podatności bezpieczeństwa, przestarzałych pakietów i zgodności licencji, przy kontroli łańcucha dostaw, przygotowaniu wydań i reakcji na CVE.
  • 100iblai-vibe-security-dependency-audit
    Audytuje zależności, frameworki i narzędzia projektu pod kątem znanych podatności, CVE i antywzorców bezpieczeństwa, w tym ryzyk łańcucha dostaw i przestarzałych pakietów.
  • 90dependency-management-deps-audit
    Sprawdza zależności projektu pod kątem znanych podatności, licencji, przestarzałych pakietów i ryzyka łańcucha dostaw, z planem napraw.
  • 84audit-dependencies
    Sprawdza zależności projektu pod kątem podatności i przestarzałych pakietów, a następnie stosuje bezpieczne aktualizacje.
  • 100dependency-vulnerability-audit
    Wykonuje audyt bezpieczeństwa łańcucha dostaw skanerami CLI, kontrolą zgodności licencji i oceną ryzyka dostawców zależności pod kątem znanych CVE.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.