Library / Security & Compliance
Security & Compliance
Send critical NPM CVE alerts from GitHub to Slack via Apify
On a schedule, it runs security checks using Slack, Apify, GitHub.
What it does
## Actor 19A — NPM CVE Monitor → Critical Vulnerability → Slack Emergency Alert ### How it works This workflow runs every Monday morning to retrieve a repository’s package.json from GitHub, submit it to an Apify NPM CVE monitor, and fetch the resulting audit data. It categorises vulnerabilities by severity, checks whether any critical or high findings exist, and only then formats and sends an emergency Slack alert. ### Setup steps - Configure the schedule trigger for the desired monitoring cadence and timezone. - Set up GitHub access for the package.json request, including the correct repository owner, repository name, branch, file path, and any required GitHub token headers. - Configure the Apify HTTP requests with a valid Apify API token, the correct CVE monitor actor endpoint, and dataset result URL handling. - Connect Slack credentials and choose the emergency alert channel or user for the CVE notification. ### Customization Adjust the severity threshold in the categorisation or IF logic, change the Slack message format, or point the GitHub request at a different repository or package manifest.
The steps
- Weekly Trigger at 9am Monday
- Retrieve GitHub Package JSON
- Parse GitHub Package JSON
- Execute CVE Monitor Script
- Retrieve CVE Audit Results
- Classify CVE Vulnerabilities
- Check Critical or High CVE
- Create Emergency Slack Alert
- Send Slack CVE Alert
Similar automations