All jobs / Mobile developer / Security
Mobile developer interview question · 3–5 years
A pin mismatch will brick the app on a bad deploy. What is your break-glass?
The strongest answer
A remotely updatable pin set signed by us, plus the ability to ship a store build that relaxes to a new pin — I do not hide an unsigned “trust any cert” flag in production
Why it works
Exactly. Signed remote pins and a real store train. Not a silent TLS downgrade.
What a good answer covers
- Signed remote pin updates.
- A store build as last resort.
- No production “trust any.”
- No HTTP fallback.
Answers that fall short
- Close, but not the strongest: A debug menu in production that disables pinning for everyone
A production kill-switch for TLS pinning is a gift to attackers. - Weak: Asking users to uninstall and wait for a new build
Uninstall is not a runbook you can send to a million people. - Red flag: Catching the TLS error and retrying over HTTP
HTTP fallback is the incident.
Who gets asked this
More Security questions
- You need to prove the device still holds a user key after a biometric. Where does the key live?
- A support engineer pastes a crash log into a ticket. It contains a user’s full address and part of a card…
- A security review asks what you assume about a rooted / jailbroken phone. What is a sane answer?
- When does the org require certificate pinning?
- Growth wants a new attribution SDK that wants IDFA, a full photo dump, and its own WebView. What is the bar?
- When do you ask for camera permission?
- A junior wants to “add certificate pinning to everything” this week. What is the right first move?
- A partner API needs a secret key, and a teammate puts it in a constants file in the app. What do you say?