Security context

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

kaggle/kaggle-cli
main @ 659469c
3
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
src/kaggle/api/kaggle_api_extended.py: most-fixed (3 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.

Path Traversal: Arbitrary file write via malicious tar archive member paths; fixed by adding path containment checks and filter='data' in a safe extract wrapper.
Local Privilege Escalation / Information Disclosure: Resumable upload state stored in shared predictable /tmp directory with upload URL and blob token; fixed by per-user directory, 0700 permissions, and symlink/owner checks.
Auth Bypass: Anonymous fallback before OAuth credential check allows unauthenticated access; fixed by reordering to check OAuth credentials first.