Templates / Send critical NPM CVE alerts from GitHub to Slack via Apify

Send critical NPM CVE alerts from GitHub to Slack via Apify

Ready for 3.0

by Joseph Fadero ✓ · 1 views · created 2026-08-31 · SecOps, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs on a schedule (cron 0 9 * * 1). Along the way it connects Slack. It also calls api.github.com and api.apify.com over HTTP.

How it runs

Trigger: On a schedule (cron 0 9 * * 1).

  1. Retrieve GitHub Package JSON (HTTP Request): calls api.github.com (GET)
  2. Parse GitHub Package JSON (Code): runs custom JavaScript code
  3. Execute CVE Monitor Script (HTTP Request): calls api.apify.com (POST)
  4. Retrieve CVE Audit Results (HTTP Request): calls an HTTP API (GET)
  5. Classify CVE Vulnerabilities (Code): runs custom JavaScript code
  6. Check Critical or High CVE (If): checks a condition and branches into true / false
  7. Create Emergency Slack Alert (Code): runs custom JavaScript code
  8. Send Slack CVE Alert (Slack): uses Slack

Services it uses

Slack

HTTP calls to: api.github.com, api.apify.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (5)

From the author

Quick overview This workflow runs every Monday at 9am to fetch your repository’s package.json from GitHub, scan it for vulnerabilities using the Apify NPM CVE Monitor actor, and send an emergency alert to a Slack channel only when high or critical issues (or…

Excerpt from Joseph Fadero's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.