Security context

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

textualize/textual
main @ 8ce58dc
6
Fixes
4
CVEs
HIGH
Peak severity
Highlights
Denial of Service: 5 prior fixes. Scrutinize any change in this area.
src/textual/command_palette.py: most-fixed (2 issues). 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.

Denial of Service: Command execution logic could inadvertently terminate all running application workers when attempting to cancel command-palette tasks, resulting in abrupt application-wide service disruption. Future work must strictly restrict worker cancellation to targeted groups.
Denial of Service: Unhandled exceptions propagating from third-party or custom command source search routines can crash the entire application process. Search handlers must proactively capture and log exceptions rather than allowing them to bubble up.
Denial of Service: Race conditions in LRU cache operations during concurrent access can corrupt linked-list structures. All cache lookups and item manipulations must be synchronized under thread locks.