Security context

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

strawlab/iana-time-zone
main @ c6fe5ec
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Memory Safety: 1 prior fix. Scrutinize any change in this area.
.github/workflows/rust.yml: 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.

Memory Safety: Unsafe FFI interactions with macOS/iOS CoreFoundation APIs previously led to a potential use-after-free vulnerability where underlying CFString references were dropped before the data was safely cloned into an owned Rust String. Developers must ensure strict lifecycle management and immediate ownership cloning when converting raw pointers using std::ffi::CStr::from_ptr.
Privilege Escalation: Overly permissive GitHub Actions configurations allowed local GITHUB_TOKEN credential persistence during repository checkout. Future workflow updates must maintain minimal permissions (permissions: read-all or {} paired with persist-credentials: false) to prevent token leakage in untrusted build steps.