Security context

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

slog-rs/term
master @ a6b6e7b
2
Fixes
1
CVEs
HIGH
Peak severity
Highlights
Memory Safety: 2 prior fixes. Scrutinize any change in this area.
Cargo.toml: 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: The use of `chrono::Local::now` introduced a memory safety risk in multi-threaded environments retrieving local time, which was mitigated by migrating to the `time` crate. Developers must ensure that no legacy time-retrieval APIs are reintroduced in logging formatters.
Memory Safety: A dependency on `atty` introduced a memory misalignment vulnerability (RUSTSEC-2021-0145) during terminal detection checks, which was resolved by substituting it with `is-terminal`. Future dependency additions must be vetted for similar memory-safety advisories.