Security context

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

atlassian-api/atlassian-python-api
master @ ff73c6e
2
Fixes
0
CVEs
MEDIUM
Peak severity
50.0%
Coverage
Highlights
Denial of Service: 1 prior fix. Scrutinize any change in this area.
atlassian/confluence/__init__.py: most-fixed (1 issue). Treat as high-risk during review.
0 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: Unsanitized attachment filenames containing path traversal sequences (such as backslashes or forward slashes) allowed remote attackers to write files to arbitrary locations on the local filesystem during downloads. Future attachment-handling features must aggressively sanitize file paths prior to invoking local file operations.
Denial of Service: The REST client was susceptible to denial of service because it trusted remote 'Retry-After' headers without validation, leading to potential hangs or crashes via excessive sleep durations. Strict clamping of delay values and upper bounds on retry attempts are critical to maintaining application availability.