Новая CVE в зависимостях
AI-проекты обычно тащат за собой огромный pip-граф (langchain, openai, torch, transformers, sentencepiece). CVE появляются в них регулярно — но письма от Dependabot тонут в почте.
Проще всего — Dependabot alerts через GitHub webhook → вебхук Notifly:
# GitHub repo → Settings → Webhooks# URL: https://your-notifly/webhook/W<token>?severity=critical,high# Events: Dependabot alertsИли — раз в день локально:
on: schedule: [{cron: '0 6 * * *'}]jobs: audit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: pip install pip-audit && pip-audit -r requirements.txt -f json > out.json || true - run: | n=$(jq '[.vulnerabilities[]] | length' out.json) if [[ $n -gt 0 ]]; then curl -fsS "$NOTIFLY_URL/message?token=$NOTIFLY_TOKEN" \ -H "Content-Type: application/json" \ -d "{\"title\":\"🛡️ pip-audit: $n CVE\",\"message\":\"$(jq -r '.vulnerabilities[] | "\(.id) — \(.fix_versions)"' out.json | head -10)\",\"priority\":8}" fi env: {NOTIFLY_URL: ${{ secrets.NOTIFLY_URL }}, NOTIFLY_TOKEN: ${{ secrets.NOTIFLY_TOKEN }}}