Using the secret key, you can sign your own session cookies. The app has an at /dashboard (hidden from normal users). By forging an admin cookie, you gain access to a new feature: package builder that executes system commands via subprocess.run() .
Unlike "Tier 1" repackers like FitGirl or DODI, HackFailHTB has a less established history. hackfailhtb repack
Read a step-by-step analysis of similar Linux privilege escalation techniques on hackfailhtb repack