
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
css-unused-cleaner
Advanced tools
Detect and remove unused CSS selectors with intuitive browser UI. Analyze HTML/CSS files and safely clean up unused styles with real-time preview.
🧹 Detect and remove unused CSS selectors with intuitive browser UI
A powerful CLI tool that analyzes your HTML/CSS files, identifies unused selectors, and provides a browser-based interface for safe cleanup with real-time preview.
# Run on current directory
npx css-unused-cleaner
# Run on specific directory
npx css-unused-cleaner ./my-website
# Specify custom port
npx css-unused-cleaner --port 3000
The tool will:
http://localhost:3456
npx css-unused-cleaner [directory] [options]
Options:
-p, --port <port> Server port (default: 3456)
--no-open Don't open browser automatically
-h, --help Display help information
-V, --version Display version number
🧹 CSS Cleaner
Analyzing project: /path/to/your/website
📊 Analyzing HTML and CSS files...
✅ Analysis complete!
Total selectors: 247
Unused candidates: 89
HTML files: 5
CSS files: 3
🚀 Starting server on port 3456...
✅ Server started at http://localhost:3456
🌐 Opening browser...
Found a bug or have a suggestion? Please open an issue.
MIT License - see LICENSE file for details.
Made with ❤️ for cleaner, faster websites
FAQs
Detect and remove unused CSS selectors with intuitive browser UI. Analyze HTML/CSS files and safely clean up unused styles with real-time preview.
We found that css-unused-cleaner demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.