uncss
Remove unused CSS styles
20
Versions
MIT
License
No
Install Scripts
Missing
Provenance
Supply chain provenance
Status for the latest visible version.
No SLSA provenance
npm registry signatures
gitHead linked
Without SLSA provenance there is no cryptographic link between this tarball and the public source, so a manually published version cannot be tied back to a reviewed commit.
Maintainers
giakkimikelambert
Keywords
optimizeoptimiseunusedrulesselectorCSSHTML
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| semgrep | semgrep:child-process-import | AI (semgrep): uncss uses child_process.execFile to spawn phantomjs for CSS analysis — this is the core documented mechanism of the tool, not malicious. | ai | |
| dependencies | unvetted-dep:phantomjs | AI (dependencies): phantomjs is a core dependency of uncss; it uses PhantomJS to render HTML and analyze CSS usage. Expected and documented. | ai | |
| dependencies | unvetted-dep:request | AI (dependencies): request is used by uncss to fetch remote HTML pages for CSS analysis. Expected dependency for this tool's functionality. | ai | |
| semgrep | semgrep:dynamic-require | AI (semgrep): The dynamic require is an intentional user-facing inject hook (options.inject) documented in uncss's API. It loads user-supplied scripts into jsdom; not an arbitrary code execution risk from the package itself. | ai | |
| phantom-deps | phantom-dep:commander | AI (phantom-deps): commander is a legitimate CLI dependency used in bin/uncss; the phantom-dep flag is a false positive for CLI-only usage patterns. | ai |