Conversation
Fix device security patch
cpholguera
reviewed
Sep 19, 2026
| - **Verify Server-Side with Freshness**: Have the backend verify attestation tokens cryptographically, bind them to a server-issued nonce, and check timeliness before trusting them. | ||
| - **Gate Sensitive Operations on Verdicts**: Require valid attestation for high-risk API calls and degrade or deny service to unattested clients. | ||
| - **Layer with Local Checks**: Combine attestation with local environment checks (see @MASWE-0051, @MASWE-0053) for defense in depth, and assess the overall scheme against known bypasses. | ||
| - **Match the Verdict to the Operation**: Require the integrity level each operation calls for, keeping stricter signals such as a recent security patch for high-risk actions. |
Collaborator
There was a problem hiding this comment.
are you intentionally using "action" vs "operation", or should "high-risk action" be "high-risk operation"?
Should we use "request or action" as in the Android docs instead of "operation"?
Collaborator
Author
There was a problem hiding this comment.
Yes. Action is e.g. an http request to update your financial data. Operation is rather the purpose a particular action exists (the intent) and the "operational environment" the app operates (e.g. EUDIW or banking app). Makes sense?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix device security patch