Install
tmp
Temporary file and directory creator
0.2.7Latest, 27 May 2026
489MDownloads, last month
0Advisories on the latest
3Advisories, all versions
MITLicence
776Stars
3.4/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | tmp: Type-confusion bypass of _assertPath allows path traversal via non-string prefix/postfix/template CVE-2026-49982 | Fixed in 0.2.7 | 15 Jun 2026 |
| High | tmp has Path Traversal via unsanitized prefix/postfix that enables directory escape CVE-2026-44705 | Fixed in 0.2.6 | 27 May 2026 |
| Low | tmp allows arbitrary temporary file / directory write via symbolic link `dir` parameter CVE-2025-54798 | Fixed in 0.2.4 | 6 Aug 2025 |
In the news
- GBase Database Installation Stuck at Extraction? Check `/tmp` Space dev.to, 22 Oct 2026
- An unexpected Turbopack error occurred. A panic log has been written to /tmp/next-panic-d4531743b5c529bb25e5050ddb11433.log. dev.to, 7 Feb 2026
- TMP: GClient Learner Platform – Phase 1: Building a Dynamic Navbar with Next.js, TypeScript, and Tailwind CSS (Update 3) dev.to, 15 Feb 2025
- TMP: GClient Learner Platform – Phase 1: Building a Learner Portal with Next.js, TypeScript, and Tailwind CSS (Update 2) dev.to, 11 Feb 2025
- Journal 1: The Azubi Talent Mobility Program(TMP) Experience dev.to, 10 Feb 2025
On Hacker News
- Against /tmp 257 points, 159 comments, 22 Oct 2024
- Tmp.0ut Volume 5 219 points, 42 comments, 31 Aug 2026
- Why are there both TMP and TEMP environment variables? (2015) 216 points, 97 comments, 2 May 2026
- Pg_tmp – Run tests on an isolated, temporary PostgreSQL database 181 points, 84 comments, 26 Apr 2021
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.