Is platformdirs safe?
Version 3.10.1 of platformdirs was compromised. Other versions are not flagged as malicious.
Do not install platformdirs 3.10.1
CRITICALCompromised releases. Added to CyberXYZ 2024-06-25, OSV malicious-package feed (Google / OpenSSF).
The publishing source recorded this as malicious without a public write-up.
- Malicious
- 3.10.1
- Move to
- 4.3.8-rc3 current release, no known advisory
If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.
npm install platformdirs@4.3.8-rc3
0 direct dependencies
none carry a known advisory
0 packages depend on it
an advisory here reaches each of them
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
Checked 2026-10-31 at 00:01 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.