Please do not open a public GitHub issue for security vulnerabilities. Public disclosure before a fix is available exposes any deployment that hasn't pulled the patch.
Use one of these private channels:
- Preferred: GitHub Security Advisory — a private collaboration space between you and the maintainer, supporting private patch development and coordinated disclosure.
- Fallback: email
security@vigario.techwith subject prefix[vigario-website security]. If you need PGP, ask in your first message and a key will be exchanged.
If you can, include:
- A description of the issue and the impact (what an attacker can do).
- Steps to reproduce — HTTP requests, sample form payloads, or screenshots.
- The version (commit SHA or release tag) and how the site is fronted — whether the static files are served directly and only
/api/*,/contactand/pots-migrationreach the Node process, or everything is proxied to it. - Your assessment of severity, if you have one.
This is a public marketing site with two unauthenticated forms, each taking a POST at two addresses (/api/quote and /contact, /api/pots-audit and /pots-migration), that validate input with zod, persist to SQLite via parameterized better-sqlite3 statements, and optionally send the operator a notification email. There is no user authentication, no sessions, and no API consumers other than the site's own forms. In rough priority order, security issues are:
- Injection — SQL injection (the write paths use parameterized statements; novel patterns or any string-built / raw SQL helper warrant scrutiny), or HTML injection through a form field that reaches the notification email.
src/emails/templates.tsbuilds the message as HTML strings, so every interpolation of submitter-supplied text goes through theesc()helper in that file. A new interpolation that skips it is an injection into an inbox. - Stored or reflected XSS — script execution via any user-entered field that is later rendered, in the browser or in the notification email an operator opens.
- Sensitive data leakage — SMTP credentials or submitted PII (names, contacts, free-text details from the
quotestable) exposed in logs, error responses, or git history. API errors follow RFC 9457 Problem Details and must not leak internals. - Request-handling bypass — a malformed request that skips zod validation, or reaches a code path that writes unvalidated data.
- Dependency vulnerabilities that are reachable through the running app.
- Submission volume — the forms are unauthenticated by design, so what bounds them is a limit. The proxy limits submissions per client address, on the four paths the serving contract in
CLAUDE.mdnames ("What the proxy limits"). And the app sends at most 50 notification emails in any 24 hours (src/lib/email/cap.ts), which a flood from many addresses would otherwise reach; past that, submissions are saved and not emailed, and one notice a day says so. A gap in the proxy's configuration is the operator's (see the last item below). A path through this repository is in scope: a route that takes a submission without being one of those four, a client choosing the address it is counted under, or a submission saved without its form having been served at least three seconds before (src/lib/api/fill-time.ts).
The following are not security issues for the purposes of this policy:
- Form spam within the limits: a submission a person could have sent. The fill-time check (
src/lib/api/fill-time.ts) filters the crudest of it, and is not claimed to stop the rest. - UX confusion or copy/spec drift.
- Self-XSS or attacks requiring control the attacker already has.
- Findings in a deployment's reverse proxy / TLS config — those are the operator's, not this repository's.
This site is maintained by one person. Best-effort response:
| Severity | Acknowledgment | Fix target |
|---|---|---|
| Critical (data leakage, injection) | Within 72 hours | Within 7 days |
| High (stored XSS, secret exposure) | Within 7 days | Within 30 days |
| Medium / Low | Within 14 days | Best-effort, no commitment |
These are targets, not guarantees. Coordinated disclosure is the default — once a fix ships, a public advisory is posted to the repository's Security tab with credit to the reporter unless you ask to remain anonymous.
Only the latest released version on main is supported; older tags do not receive backported fixes. The codebase is small enough that "latest only" is the honest and sustainable policy. The AGPL gives you the right to fork and maintain your own backports.
In scope: the TylerVigario/website repository at the latest commit on main.
Out of scope: third-party dependencies (report upstream; a coordination report here is welcome if a dependency materially affects this site), the private prod-side admin tooling, and any deployment you don't operate.
Good-faith reports under this policy will not result in legal action. The time researchers put into making open-source software safer is appreciated.