You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 1.0 Date: 2026-07-18 Status: Living document — update when architecture or threat landscape changes.
1. Introduction
This document scopes the security hardening implemented in GuildPass Mobile v1.0.x. It describes what the hardening protects against, what it does NOT protect against, and the assumptions underlying each control.
Pin format: SHA-256 hash of the SubjectPublicKeyInfo (SPKI), base64-encoded.
Backup pin: Always maintain at least one backup pin to enable rotation without downtime.
Fail mode: failOpen: false — connection is rejected if pin validation fails.
5.4 Assumptions
The native network security configuration is correctly applied via EAS Build.
The GuildPass API uses a stable public key (or rotates with the documented procedure).
The pin set in the app is updated BEFORE the server certificate changes.
Users update to new app builds in a timely manner (within pin overlap window).
6. Attack Trees
6.1 Intercept API Traffic
Goal: Intercept API traffic between GuildPass Mobile and api.guildpass.xyz
├── MITM with user-installed CA cert
│ └── [BLOCKED by certificate pinning] ← Control 2
├── Compromise a trusted CA
│ └── [BLOCKED by SPKI pinning] ← Control 2
├── DNS poison + valid cert for guildpass.xyz
│ └── [BLOCKED by SPKI pinning] ← Control 2
├── Modify app binary to remove pinning
│ ├── Need root access → [DETECTED by device integrity] ← Control 1
│ └── Bypass root detection → [DETECTION NOT GUARANTEED]
└── Steal server private key
└── [OUT OF SCOPE — server-side security]
6.2 Tamper with Wallet / Attestation Flow
Goal: Intercept or modify wallet attestations
├── Hook into app process (Frida/Xposed)
│ └── [DETECTED by device integrity] ← Control 1
├── Modify app binary
│ ├── Need root/JB → [DETECTED] ← Control 1
│ └── Repackage + self-sign → Play Integrity / App Attest (future)
├── Exploit OS vulnerability
│ └── [OUT OF SCOPE — platform security]
└── Physical memory dump
└── [OUT OF SCOPE — hardware security]
7. Residual Risk
The following risks remain after hardening and should be tracked:
Risk
Severity
Mitigation Strategy
Sophisticated attacker bypasses root detection
Medium
Accept; layer with server-side attestation validation (roadmap)