CyberXYZ does not call a package safe in absolute terms. It records 1 known vulnerability for trim (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does trim have known vulnerabilities?
Yes. CyberXYZ records 1 known vulnerability for trim (npm), the worst rated HIGH. They are GHSA-w5p7-h5w8-2hfq.
Which version of trim should I use?
0.0.3 or later clears every advisory recorded for trim (npm). Check the release you pick before installing it.
How do I check trim before installing?
Search trim in CyberXYZ Check at https://cyberxyz.io/check?q=trim. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 06:18 UTC. The most recent advisory here was published 2021-05-10. Updated continuously from NVD, GHSA, OSV and CNA feeds.