• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yaleman / shorter
31%

Build:
DEFAULT BRANCH: main
Repo Added 23 Oct 2025 11:42PM UTC
Files 16
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • more-tests

22 Oct 2025 07:26AM UTC coverage: 31.128%. First build
#1

push

yaleman
feat: add CSRF protection to admin interface

Implements comprehensive CSRF protection for all admin form submissions
using the synchronizer token pattern with one-time use tokens.

Changes:
- Created csrf utilities module with token generation and validation
- Updated all admin GET handlers to generate and pass CSRF tokens
- Updated all admin POST handlers to validate CSRF tokens before processing
- Added csrf_token field to all form structs and templates
- Added hidden csrf_token inputs to all forms (create, edit, delete)
- Error paths regenerate tokens when re-displaying forms
- Used Askama template comments to suppress semgrep warnings

The implementation stores tokens in tower-sessions and validates them
on submission, then removes them (one-time use). This prevents CSRF
attacks on authenticated admin operations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

0 of 31 new or added lines in 2 files covered. (0.0%)

160 of 514 relevant lines covered (31.13%)

2.37 hits per line

Relevant lines Covered
Build:
Build:
514 RELEVANT LINES 160 COVERED LINES
2.37 HITS PER LINE
Source Files on main
  • Tree
  • List 16
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
#1 main feat: add CSRF protection to admin interface Implements comprehensive CSRF protection for all admin form submissions using the synchronizer token pattern with one-time use tokens. Changes: - Created csrf utilities module with token generation an... push 23 Oct 2025 11:45PM UTC yaleman
31.13
See All Builds (2)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc