Skip to content

lowrisk75/NPM-Vulnerability-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

NPM Vulnerability Scanner for Proxmox Containers

A Python script that scans Proxmox LXC containers for NPM vulnerabilities and reports findings to Discord.

Features

  • Automatically detects and scans running LXC containers
  • Checks for NPM installation in each container
  • Finds and scans all Node.js projects in containers
  • Creates/updates package-lock.json files when needed
  • Reports findings via Discord webhook
  • Groups results by vulnerability status
  • Logs all operations for troubleshooting

Requirements

  • Python 3.6+
  • Proxmox VE
  • Root access to Proxmox host
  • Discord webhook URL

Installation

  1. Clone this repository:
git clone https://github.com/yourusername/proxmox-npm-scanner.git
cd proxmox-npm-scanner

Make the script executable:
chmod +x npm_scan.py

Configure your Discord webhook URL in the script.
Usage
Run the script as root:
python3 npm_scan.py

Output
The script will send results to Discord with the following categories:
✅ Containers with no vulnerabilities
⚠️ Containers with vulnerabilities found
ℹ️ Containers without NPM installed
❌ Containers where scan failed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages