Unused code can harbor forgotten debug functions, administrative backdoors, or deprecated API endpoints that are no longer secured, providing hidden entry points for attackers; removal closes these potential vulnerabilities.
Open the full topic