Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

serengil/deepface
master @ 9a9a3ca
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
deepface/modules/recognition.py: most-fixed (2 issues). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Deserialization of Untrusted Data: The project uses the highly insecure pickle format to cache representation data. Without robust verification, loading manipulated pickle files leads to arbitrary code execution within the application context.
Auth Bypass: The signature verification implementation possessed a logical flaw where omitting credentials entirely caused the verification routine to bypass checks, allowing unsigned or tampered cache files to be loaded anyway.