#82 build: bound and validate timestamps (hostile dates panic or normalize)

closedkind:securityopened
details
updated
id
86638bd1-4ac6-4330-9f96-e48b1a46492f

What

parse_ts_secs (src/build.rs:525) accepts arbitrary years and only checks 1..=31 for the day.

Reproduced

An issue file with the hostile created values; hu13 build exits 101 in debug.

Impact

A repo-controlled .forge timestamp crashes the build (DoS) or renders a date that was never written. Users reviewing pages see contradictory dates.

Fix

Comments (0)

No comments yet.

all issues