Ou tapez /dependency-audit dans une session Claude Code, ou décrivez simplement votre besoin — le skill se déclenche automatiquement via le skill-router.
🔑 Déclencheurs automatiques
Le skill s'active automatiquement quand votre demande contient :
# Lister les packages vulnérables
dotnet list package --vulnerable --include-transitive
# Format JSON pour CI
dotnet list package --vulnerable --format json
# Mettre à jour un package spécifique
dotnet add package PackageName --version X.Y.Z
npm
# Audit complet
npm audit
# Audit avec fix automatique (non-breaking)
npm audit fix
# Rapport JSON pour CI
npm audit --json
# Fix incluant les major versions (attention !)
npm audit fix --force
Python
# Avec pip-audit
pip-audit
pip-audit --fix
pip-audit -r requirements.txt
# Avec safety
safety check -r requirements.txt
Intégration CI/CD
GitHub Actions
name: Security Audit
on:
schedule:
- cron: '0 8 * * 1' # Chaque lundi à 8h
pull_request:
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: .NET Audit
run: |
dotnet restore
dotnet list package --vulnerable --include-transitive 2>&1 | tee audit.txt
if grep -q "has the following vulnerable packages" audit.txt; then
echo "::error::Vulnérabilités détectées"
exit 1
fi
- name: npm Audit
working-directory: ./frontend
run: npm audit --audit-level=high