Individual skill
audit-auth
Find pracht routes and API mutations that look protected but are not: missing or non-gating auth middleware and client-only checks. Use for "audit auth", "check route protection", "find unauthenticated routes", "review middleware coverage".
skills/audit-auth/SKILL.md
Source commit e7c088a615e0bc16659d7a307fe92910ae6bd546
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 11, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 108
- Repository last updated
- Nov 10, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- cloudflare-workers Repository topic
- framework Repository topic
- full-stack Repository topic
- llms-txt Repository topic
- mcp Repository topic
- preact Repository topic
- ssg Repository topic
- ssr Repository topic
- security Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
Read excerpt
# Pracht Audit Auth
What the framework guarantees: middleware runs wrap-around style — every
middleware must return a `Response` (the runtime throws if it doesn't), either
`return next()` to continue the chain or a short-circuit `Response` to stop it.
The `redirect()` helper from `@pracht/core` returns a scheme/CRLF-validated
redirect `Response`. What the framework does NOT decide is *which* routes get
an auth gate — that is app wiring, and this skill audits it.
The pracht auth pattern (see <https://pracht.resynapse.dev/docs/recipes/auth>):
middleware loads the session onto `context.session` and short-circuits with a
redirect when there is no user; loaders downstream read `context.session`.
`@pracht/session` is the first-party implementation. Two of its exports map