Please do not open public GitHub issues for suspected security vulnerabilities.
Instead, use GitHub Private Security Advisories (Security -> Advisories -> Report a vulnerability on this repository) so we can triage, validate, and ship a fix before public disclosure.
Include in your report:
- Affected version or commit SHA
- Reproduction steps or proof-of-concept request/code
- Impacted component (PostgreSQL RLS, auth/MFA, ingest parser, Edge WAF, browser SDK, UI)
| Version | Supported |
|---|---|
2.1.x / 2.x |
Active security patches |
- Browser Edge Zero-PII & Safe Instrumentation:
bugfinder-mini.jsstrips URL#fragments(such as OAuth#access_token=...) and redacts sensitive query parameter values in the browser prior to transmission, clonesfetch(new Request(...))headers without mutation, exposeswindow.__bfOrigFetch, guardssecuritypolicyviolationagainst feedback loops, and restrictstraceparentpropagation strictly to same-origin requests when opted in. Embedded SDK tags verify via SRIsha384hashes. - RFC 9113 Multi-Header HTTP Parsing: Session cookies (
headers.get_all(header::COOKIE)) and reverse-proxy client IP resolution (headers.get_all("x-forwarded-for")scanned right-to-left up to 16 hops behind explicitBUGFINDER_TRUSTED_PROXIES) handle multi-header frames safely without header-splitting spoofing. - Sub-Microsecond Rust SIMD Edge WAF: Single-pass
AhoCorasickmatching with 2-pass stack-buffered URI percent decoding blocks SQLi, path traversal, cloud metadata SSRF (IPv4169.254.169.254, IPv6-mapped[::ffff:169.254.169.254], AWS IPv6 IMDSv2fd00:ec2::254, GCP/Alibaba/Oracle metadata), XSS, command injection, JNDI/SSTI, prototype pollution, WebDAV verbs, and root dotfiles (exempting RFC 8615/.well-known/*), while rejecting.js.mapprobes with404without triggering CGNAT bans. State counters live in16-shardShardedBoundedMap<[u8; 32], V, 16>keyed by master HMAC digests. - Decompression & Parser Hardening: Zstd payloads pass an RFC 8878 frame header pre-check (
window_size <= 8 MiB) beforeruzstd 0.9.1allocation;ingest_shieldapplies bounded decompression; JSON ingestion strips\u0000NUL bytes across keys/values, rejects nesting deeper than32levels, clamps forged timestamps tonow ± 24h, and validates SourceMaps via streaming zero-DOMIgnoredAnyparsing with per-org quotas. - 100% OS CSPRNG,
enc:v2:AEAD & Step-Up Auth: Password salts, AES-256-GCM nonces, session tokens, API tokens, DSN keys, TOTP secrets, and recovery codes exclusively use OS entropy (OsRng, enforced bybugfinder lint). Stored secrets useHKDF-SHA256+AES-256-GCM(enc:v2:withBUGFINDER_PREVIOUS_APP_KEYSrotation fallback and backward-compatibleenc:v1:reads). Sensitive mutations enforce Passkey (/api/auth/reauth/passkey/begin|finish) or TOTP/password step-up re-authentication, and OIDC SSO binds identities to(oidc_issuer, oidc_sub)while enforcing local MFA andtoken_endpointorigin validation. - PostgreSQL 17 Row-Level Security & Immutable Audit Ledger:
ENABLE+FORCE ROW LEVEL SECURITYcovers all15tables (includingusersandlogin_attempts) under aNOBYPASSRLSapplication role (bugfinder_app) withREVOKE DELETE, TRUNCATE ON users, fail-closed transaction-scoped GUCs, SHA-256 hash-chainedaudit_logs,REVOKE UPDATE, DELETE, TRUNCATEonaudit_logs, and database-levelBEFORE UPDATE OR DELETEappend-only triggers on both SQLite and PostgreSQL. - Zero-CVE Supply Chain & Strict CI Gates: Direct
sqlx-core+sqlx-postgres(no umbrellasqlx-mysql/rsa),rusqlite 0.43, andruzstd 0.9.1keepCargo.lockat239crates with0active CVEs checked on every PR via OSV.dev. Per-request cryptographic CSP nonces enforcestyle-src-attr 'none', outbound webhooks use DNS-pinned SSRF guards withv2delivery-UUID anti-replay HMAC signatures,bugfinder lintblocksgitleaks:allowbypasses, and CI workflows pin all GitHub Actions to 40-char commit SHAs.