You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs-fetcher gate: keep the once-per-run markers in a per-user directory #6526
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.needs-triageNot yet classified. Floor until a type and one priority tier are set.
claimOnce in lib/docs-fetcher-gate.mjs writes its once-per-run markers to os.tmpdir()/claude-docs-fetcher-gate. On Linux, /tmp is shared, so another local user could create that directory first. They could then delete markers, which lets a second docs-raw call through, or plant markers, which denies the first call. Exclusive create (wx) already refuses a planted symlink, and the threat the gate targets is a fetched page, not a local user. That makes this low severity.
Fix: create the directory with mode 0700, and deny the call when stat shows another owner. Alternatively, key the directory by uid. Add a test that fails before the fix.
Basis: review of #6520 at head 4ff9410; the claude-security-review lane named this as a candidate but posted no finding.
needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.needs-triageNot yet classified. Floor until a type and one priority tier are set.
Activity
github-actions commentedon Oct 7, 2026
Thanks for the report. Automated triage handed this issue to a maintainer.
Automated triage. A maintainer reviews it.