Skip to content

chore(brakeman): new fingerprint for the open original link - #7

Merged
jaspermayone merged 1 commit into
mainfrom
fix-brakeman-ignore
Nov 9, 2026
Merged

jaspermayone merged 1 commit into
mainfrom
fix-brakeman-ignore

Conversation

@jaspermayone

Copy link
Copy Markdown
Member

What

One fingerprint in config/brakeman.ignore. The restyle (#6) changed the "Open original" link in app/views/archives/show.html.erb to the block form of link_to, so Brakeman's LinkToHref warning got a new fingerprint and the old ignore entry became obsolete. The Security workflow on main exits 3 since then.

The justification stands: Archive#url_is_http validates every saved URL as http or https with a host, so the link can never be a javascript: or data: URL.

Checks

  • bin/brakeman --no-pager -q: 0 warnings, 2 ignored, no obsolete entries, exit 0.
  • bin/bundler-audit: no vulnerabilities.
  • Adversarial review (Claude): no findings. It confirmed the fingerprint against a fresh Brakeman run, and that nothing in the repo writes url without validation.

@jaspermayone
jaspermayone merged commit 70ca18e into main Nov 9, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant