Security context

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

mynodebtc/mynode
master @ 77d0f2e
3
Fixes
0
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Local Privilege Escalation: 1 prior fix. Scrutinize any change in this area.
rootfs/standard/usr/bin/mynode_post_upgrade.sh: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Local Privilege Escalation: The setuid bit on pkexec enabled unprivileged users to escalate to root via PwnKit; removing it was essential but the script may still run in privileged contexts without proper hardening.
Signature Verification Bypass: Using the wrong signature file extension (.sig vs .asc) meant verification could fail open or validate against an absent file, allowing tampered binaries to be installed during device setup.
Session Fixation / Authentication Bypass: A hardcoded Flask secret key allowed attackers to forge session cookies, bypassing authentication; the fix randomizes the key but must ensure the key file is protected and rotation is handled.