Missing User Warnings
Medium
- Confidence
- 89% confidence
- Finding
- The test teardown builds a shell command and executes `rm -rf` via `system()`, which is dangerous even in test code because shell invocation expands the attack surface and recursive deletion can remove unintended paths if the directory value is malformed or influenced unexpectedly. In this specific file the path is locally constructed from `/tmp/test_` plus `getpid()`, so the immediate exploitability is limited, but the pattern is still unsafe and can cause destructive filesystem impact if reused or modified.
