Anti-AIClone

Log date · Mon

Can you trust client decisions after a Frida update?

Client decisions alone cannot establish entitlement. Four modeled cases show why an independent entitlement check matters.

Can you trust a client decision after a Frida update?

Do not make a client decision the sole authority for entitlement or billing. We modeled four combinations of a client claim and an independent entitlement record: two agree and two disagree. When the claim says allow but the entitlement is absent, the client-only decision allows while the entitlement check denies. The fixes in Frida 17.15.5 remind us that dynamic testing tools and their platform support change. [1][2]

Experiment and release at a glance
QuestionFinding
How many of four cases disagree?Two: an altered allow claim and a stale denial.
Which case exposes an improper allow?Claim true, entitlement false: client allows, entitlement check denies.
What changed in 17.15.5?Android, Darwin and code-patching fixes.

What the release actually changed

Frida published 17.15.5 on July 13, 2026 at 11:47 UTC; its news item calls it a quick bug-fix release. [1][2] On Android it tolerates transient USAP patch misses when the target process has no boot image mapped. On Darwin it re-enables CodeSegment on newer kernels; the release note says the vm_remap overwrite approach works again on iOS 17.6 and later.

For Gum.Memory, patch_code prepares patches in a scratch buffer to address a suspend deadlock. Other changes address concurrency and failure: all target pages become writable before committing, only modified bytes are copied back, and pages return to read-execute before the instruction cache is flushed. [2] These are the project’s implementation notes, not a success rate measured by us. Frida’s API also distinguishes code-signing policy: under a required policy it avoids modifying existing code in memory. [3]

The practical effect depends on the OS, device and test setup. A tool failing in one test is not a durable security boundary. Record why it failed and repeat the test when the tool or operating system changes.

Four inputs: claim versus entitlement

Frida was unavailable here. We ran a local model we wrote with Node.js 20.19.5 to illustrate the difference between a changeable client input and an independent decision; this is not a test of that release, code patching or a real server. The entitlement record is a fixed input, with no authentication, network or database modeled.

The two decision functions; serverCheck deliberately ignores the claim.
function clientOnly(claim) { return claim ? 'allow' : 'deny'; }
function serverCheck(claim, entitlement) { return entitlement ? 'allow' : 'deny'; }

When the two inputs agree, both decisions match. Changing an unentitled user’s claim to true changes the client decision from deny to allow, while the second decision still denies. Conversely, an entitled user with a stale false claim is denied by the client but allowed by the entitlement check. The latter shows that treating a claim as final can also hurt legitimate users.

All four outputs, copied verbatim from the transcript.
valid | claim=true | entitlement=true | client-only=allow | server-check=allow
unentitled | claim=false | entitlement=false | client-only=deny | server-check=deny
altered claim | claim=true | entitlement=false | client-only=allow | server-check=deny
stale denial | claim=false | entitlement=true | client-only=deny | server-check=allow

The model does not prove a production server is secure. A real system must authenticate the request, associate entitlement with the right account, and handle revocation, replay and state updates. A client can cache state for usability, while a trusted side rechecks sensitive operations.

Recommendations for decisions and tests

These are engineering recommendations, not protection benefits measured by the experiment. Locate the final decision first, then design offline and error paths according to the cost of failure.

Recommendations by case
QuestionFinding
Displaying purchase stateCache for display; check current entitlement on the server for sensitive actions.
Billing or paid resourcesValidate account and purchase state on the server and record denial reasons.
Attestation fails or is unavailableUse it as a risk signal; design observable fallback and appeal paths.
Fully offline featureDefine the offline window and revocation limits; accept the device-side boundary.

Platform attestation can inform risk decisions but should not be treated as absolute proof. A denial or fallback policy needs to account for network failures, older devices and false positives, and support staff need enough context to distinguish them. For valuable operations, check whether the service directly trusts a client-supplied price, role or purchase state.

Repeat the check on your own app

Run the local sample first and confirm the four outcomes, then turn the same input combinations into automated tests for your own service. Run these commands in the experiment directory; they need no device and make no service connection.

Reproduce the model using the sample.js supplied with this experiment.
node --version
node sample.js

In a test environment, use test accounts for a valid entitlement, no entitlement, a client claiming entitlement with no server record, and revocation or stale cache. Assert the outcome of the protected operation, not just the displayed text. Also check that server logs can correlate a test request with the decision. Keep real tokens and personal data out of the report.

For authorized dynamic tests, record the app build, device, OS, tool version and configuration, plus results for startup, critical flows and abnormal termination. Repeat the same matrix after platform or tool updates and compare reproducible behavior. If the tool fails to start, retain the specific error and repair the test setup; an unexecuted test is not a pass.

Your checklist

  • List entitlement and billing decisions made only on the client.
  • Test cases where a client claim disagrees with the server record.
  • Validate identity and entitlement on the server; test revocation and caching.
  • Record app, tool and OS versions for dynamic tests.
  • Repeat critical flows after OS or tool updates and investigate failures.

Primary sources

All sources and reproduction status ↗