| Version | Status | Support Until |
|---|---|---|
| 1.x | Active | Current |
If you discover a security vulnerability in AnonVote, please do not open a public GitHub issue.
Instead:
- Email: security@anonvote.dev (or file a private security advisory)
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
We will acknowledge your report within 48 hours and provide updates as we investigate.
- Locked dependencies (
Cargo.lock,pnpm-lock.yaml) enforced in all builds - Automated audits via
cargo auditandpnpm auditon every PR - Dependency review blocks PRs introducing vulnerable dependencies
- Supply chain validation via
cargo-deny(license checks, advisory checks)
- Mandatory linting (ESLint, Clippy)
- Type checking (TypeScript strict mode)
- Format enforcement (Prettier,
cargo fmt) - Static analysis (CodeQL for TypeScript/C++)
- WASM size validation (≤ 256KB recommended)
- Contract spec verification (interface validation)
- Reproducible builds (verified deterministic output)
- Soroban SDK updates (always latest stable)
- TruffleHog scanning detects committed credentials
- GitHub secret scanning enabled
- Pre-commit hooks prevent accidental secret commits (optional)
- Signed releases (GPG or Code Signing Certificate)
- Reproducible builds verified on each release
- SBOM generation for supply chain transparency
- Build attestation for release verification
permissions:
contents: read
security-events: write
pull-requests: read
statuses: write- Workflows only request required permissions
- Release workflow uses OIDC token authentication
- No broad
writepermissions granted by default
All GitHub Actions should pin to commit SHAs for auditability:
- uses: actions/checkout@<SHA> # Not: @v4 (unpinned)- Immediate: Evaluate severity (CVSS score)
- Patching: Prepare fix and test thoroughly
- Release: Issue hotfix release if critical
- Disclosure: Publish security advisory on GitHub
- Follow-up: Update dependencies to prevent recurrence
- Reproducible builds ensure build integrity
- Dependency diffs tracked in PR reviews
- SBOM generation provides supply chain transparency
- Audit logs available for GitHub Actions runs
Last Updated: 2026-09-08
Next Review: 2026-12-08