[KongchangAI]
Unverified50% confidenceFactExact time

The approach of concatenating a timestamp or random number and then calling mkdir to create a temporary directory carries a TOCTOU race condition, in which an attacker can pre-create a directory or symbolic link with the same name after the name is generated but before the directory is created.

1
Sources
50%
Confidence
Long-term
Relevance
11/24/2026
First Seen

Sources

Related Entities

Related Claims

Cite This Claim

Stable URI
https://kongchang.com/claim/1204033
API
curl https://kongchang.com/api/v1/knowledge/claims/1204033
MCP
get_claim(id=1204033)