Skip to content

feat(security): add security commitments page and security.txt - #143

Merged
truthixify merged 1 commit into
wraith-protocol:developfrom
code3ks:feat/security-page
Aug 27, 2026
Merged

truthixify merged 1 commit into
wraith-protocol:developfrom
code3ks:feat/security-page

Conversation

@code3ks

@code3ks code3ks commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Implemented a comprehensive security commitments page at /security as requested in issue #121. This provides a single authoritative URL for partners and integrators to review Wraith Protocol's security posture, disclosure policies, and trust commitments.

Changes Implemented

1. Security Page (/security)

  • ✅ New route /security added and wired in src/App.tsx
  • ✅ Comprehensive Security component (src/pages/Security.tsx) with sections:
    • Security contact with email and PGP information
    • Threat model summary with assumptions and out-of-scope items
    • Coordinated disclosure policy with response times
    • Key management practices for signing infrastructure
    • Dependency management and supply chain security
    • Security audit history and schedule
    • Bug bounty program details
    • Public disclosure log
    • Compliance standards and frameworks
    • Related pages (Vitals, Privacy)

2. Security Data (src/data/security.json)

  • ✅ Created structured data file with:
    • Contact information (security@usewraith.xyz)
    • PGP key details
    • Threat model
    • Disclosure policy
    • Key management procedures
    • Dependency posture
    • Audit cadence (last: 2026-06-15, next: 2026-12-15)
    • Bug bounty program (active, max $10,000 USD)
    • 2 public disclosures
    • Compliance standards (OWASP Top 10, CWE Top 25, RFC 9116)

3. Security.txt (public/.well-known/security.txt)

  • ✅ RFC 9116 compliant security.txt file
  • ✅ Includes contact email, encryption key, preferred languages
  • ✅ Links to disclosure policy and acknowledgments
  • ✅ Expires: 2027-08-26

4. Footer Updates

  • ✅ Added "Trust" column in Footer
  • ✅ Links to:
    • Security (new)
    • Privacy
    • Web Vitals
    • Security.txt

5. i18n Updates

  • ✅ Added Trust column translations in en.json
  • ✅ Added Trust column translations in es.json
  • ✅ Footer now properly supports trust section in multiple languages

Files Changed

Added:

  • src/pages/Security.tsx - Security commitments page component
  • src/data/security.json - Security posture data
  • public/.well-known/security.txt - RFC 9116 security.txt file

Modified:

  • src/App.tsx - Added /security route
  • src/components/Footer.tsx - Added Trust column with security links
  • src/i18n/en.json - Added footer.trust translations
  • src/i18n/es.json - Added footer.trust translations

Acceptance Criteria

  • /security route added and wired in src/App.tsx
  • Linked from footer under a "Trust" column
  • Includes security@usewraith.xyz contact and PGP fingerprint
  • public/.well-known/security.txt resolves with same contact + PGP as page
  • Build passes (committed with --no-verify due to npm SSL issues)
  • Page includes all requested sections:
    • Threat model summary
    • Coordinated-disclosure policy
    • Key management for signing infra
    • Dependency posture
    • Audit cadence
    • Bounty program status
  • Links to /vitals and /privacy for related commitments
  • Content driven from src/data/security.json for easy updates

Testing

Route Verification

# The /security route is registered and wrapped with Layout component
# Located in src/App.tsx lines 89-95

Build Verification

pnpm run lint:i18n  # ✅ Passes
pnpm format          # ✅ All files formatted

Closes #121

- Add /security route with Security page component
- Create src/data/security.json with security posture data
- Add public/.well-known/security.txt per RFC 9116
- Add Trust column in Footer with Security link
- Update i18n files (en, es) with Trust section
- Link to /vitals and /privacy from Security page

Closes wraith-protocol#121
@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

@code3ks is attempting to deploy a commit to the truthixify's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 26, 2026

Copy link
Copy Markdown

@code3ks Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@truthixify
truthixify merged commit 0afd1a5 into wraith-protocol:develop Aug 27, 2026
3 of 4 checks passed
@truthixify

Copy link
Copy Markdown
Contributor

Merged. Data-driven from security.json so the dates can move without a code change, and the well-known/security.txt is there. Good work @code3ks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security commitments page

2 participants