deps-check
Skill0 starsChanged 24 days agoMITView on GitHub
Dependency-Vulnerability-Audit — orchestriert dependency-auditor-Subagent für pip-audit (CVE-Scan), Slopsquatting-Detection, Lockfile-Pinning, Outdated-Pakete. Lokal + Server (via SSH). Nutze wöchentlich oder bei CVE-Alerts.
- Installs packages
In this repository46 other files it gives its agents.
- a11y-checkSkill
- agent-createSkill
- branch-finishSkill
- changelog-updaterSkill
- code-doc-syncSkill
- codex-msgSkill
- codex-reviewSkill
- csoSkill
- db-exploreSkill
- deploy-preflightSkill
- design-htmlSkill
- design-shotgunSkill
- design-taste-frontendSkill
- finanzberaterSkill
- footstep-eq-tunerSkill
- full-auditSkill
- gateSkill
- gemini-digestSkill
- graphifySkill
- handygame-botSkill
- hook-createSkill
- instructions-drift-checkSkill
- investigateSkill
- leanreaSkill
- legal-deSkill
- loopmodeSkill
- loopstopSkill
- lyraSkill
- office-hoursSkill
- plan-ceo-reviewSkill
- profileSkill
- python-env-auditSkill
- quick-reviewSkill
- reviewSkill
- security-auditSkill
- seoSkill
- site-anatomySkill
- skill-createSkill
- spatial-pipeline-helperSkill
- state-json-validatorSkill
- test-runSkill
- tool-scoutSkill
- transient-profile-validatorSkill
- ui-critiqueSkill
- wakeup-setupSkill
- websucheSkill
The file
Files
Deps-Check — dependency-auditor-Orchestrator
Zweck: Dependency-Audit für lokale und Server-Repos. Master orchestriert dependency-auditor-Subagent, kein eigener Audit.
Vor dem Start (Pre-Flight)
- Requirements-Datei finden:
- Argument-Pfad → direkt
- Default:
git ls-files | grep -E 'requirements.*\.txt$|pyproject\.toml$|package\.json$'
- Tool-Check:
pip-audit --version 2>&1 | head -1 pip show requirements-detector 2>&1 | head -1 - Output-Folder:
~/.claude/reports/deps-check/<YYYY-MM-DD-HHMM>/
Phase 1 — Subagent-Dispatch
Agent({
subagent_type: "dependency-auditor",
description: "Dependency-Audit für <files>",
prompt: "Audit:
1. pip-audit auf <requirements-file(s)>, JSON-Output sammeln
2. Slopsquatting-Detection: Tippfehler-ähnliche Namen, typische Squatting-Patterns
(z.B. 'requets' statt 'requests', 'crypotgraphy' statt 'cryptography')
3. Lockfile-Pinning-Check: alle Pakete mit `==` gepinnt? (oder `~=` für Range)
4. Outdated-Check: `pip list --outdated` oder Vergleich gegen PyPI
5. License-Compatibility-Check (Quick): GPL-Verträglichkeit mit des Nutzers MIT-Code
Output: REVIEW_REPORT_DEPENDENCIES.md mit:
- Findings-Tabelle (Severity, Paket, Version, CVE-ID, Fix-Version, Aufwand)
- Severity-Skala: CRITICAL (RCE/Auth-Bypass) / HIGH (Data-Leak/DoS) / MEDIUM (informational CVE) / LOW (outdated ohne CVE) / INFO
- Update-Priorität: SOFORT (CRITICAL+HIGH) / DEMNAECHST (MEDIUM) / BACKLOG (LOW+outdated)
- Slopsquatting-Verdachts-Liste mit Confidence
- Raw-Outputs in RAW_TOOL_OUTPUT/
Anti-Patterns vermeiden: Findings ohne CVE-ID, Auto-Update-Empfehlungen ohne Breaking-Change-Hinweis,
generic 'update everything' statt priorisiert."
})Phase 2 — Server-Audit (optional, bei Argument server oder all)
ssh -p <ssh-port> <user>@<server-ip> \
"sudo /bin/su - botuser -c 'cd /home/botuser/Discord_Bots && \
.venv/bin/pip-audit --format json --output /tmp/pip-audit.json'"
scp -P <ssh-port> <user>@<server-ip>:/tmp/pip-audit.json \
~/.claude/reports/deps-check/<datum>/RAW_TOOL_OUTPUT/server_pip-audit.jsonHinweis: Server hat eigene venvs pro Bot. Pro Bot einzeln:
- monitor-bot, gameserver-bot, admin-bot, web-dashboard
Phase 3 — Konsolidierung
- Subagent-Output einlesen
- Server- vs Lokal-Diff erstellen (Pakete die nur auf Server outdated sind)
- Update-Roadmap erstellen:
- SOFORT: alle CRITICAL/HIGH mit konkretem Update-Pfad
- DEMNAECHST: MEDIUM mit Aufwand-Schätzung
- BACKLOG: LOW + outdated-ohne-CVE
- Discord-Notify bei CRITICAL/HIGH
Phase 4 — der Nutzer-Bericht (Chat, max 25 Zeilen)
📦 Deps-Check — <scope>
Severity-Counts: 🔴 X | 🟠 Y | 🟡 Z | 🟢 W
SOFORT (CRITICAL/HIGH):
- <paket> <aktuelle-ver> → <fix-ver> (CVE-X — <Risiko in 1 Satz>) — `pip install <paket>>=<ver>`
- ...
Slopsquatting-Verdacht: <X Pakete> (siehe Report)
Server vs Lokal:
- <paket> nur auf Server outdated (Bot: <name>) → Update via SSH
Pfad: ~/.claude/reports/deps-check/<datum>/REVIEW_REPORT_DEPENDENCIES.md
Update-Reihenfolge:
1. SOFORT-Items hintereinander, je Update Tests laufen lassen
2. Bei Bot-Restart: monitor-bot zuerst, dann andereAnti-Patterns (Output-Qualität)
| Anti-Pattern | Korrektur |
| Findings ohne CVE-ID | Pflicht: CVE-X-Y oder GHSA-X bei GitHub-Advisory |
| „Update everything" pauschal | Priorisieren nach Severity; Breaking-Changes flaggen |
| Auto-Update ohne Test-Hinweis | „Update X → vor Deploy: alle 4 test_*.py laufen lassen" |
| Slopsquatting nicht als separates Finding | Eigene Severity-Spalte (HIGH wenn pip install lokal lief) |
| Server-Update ohne Restart-Reihenfolge | siehe .claude/rules/server-edits.md Service-Restart-Reihenfolge |
Constraints
- Keine Auto-Installs — der Nutzer entscheidet pro Update
- Server-Updates via SSH — sudo/-su pattern, kein direkter pip-Call
- Severity-Skala kompatibel zu
/review,/security-audit,/full-audit - Skill-Version-Header in jedem Report
- CVE-Datenbank via pip-audit (NVD + PyPI Advisory DB), nicht halluzinieren
Beispiel-Triggers
/deps-check— lokal, Default-requirements/deps-check server— auf netcup-server für alle Bot-venvs/deps-check all— lokal + Server kombiniert/deps-check requirements-dev.txt— spezifisches File
Changelog
- v2.0.0 (2026-05-17): Standardisierung — Pre-Flight (Tool-Check), expliziter Subagent-Prompt mit 5 Audit-Phasen, Server-Audit-Section, Update-Roadmap-Format, Anti-Patterns-Tabelle, Discord-Notify, version-Frontmatter, argument-hint statt argumentHint.
- v1.0.0 (2026-05-16): Erste Version — minimaler Subagent-Wrapper.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

