Find the changing inputs
Requests combine stable fields, such as app version or locale, with values tied to time, payload or session state. Compare calls with known inputs and record which values change. Then follow each candidate back to the code that supplies it.
Useful leads include timestamps, nonces, counters, body digests, tokens and values from earlier server calls. A value's length or appearance is a clue to check, not proof of its role or unit.
Follow the final request builder
Inspect the call site and any interceptor, serializer or native helper it uses. Record the header values before and after each layer. If signing happens in native code, compare its arguments and returned bytes with the final request.
Keep login, refresh, initialization and stored session values in the trace. A header can depend on an earlier response even when the screen's request code contains no reference to that dependency.
Compare the canonical signing bytes
HMAC produces the same result for the same key and message. A changing signed input changes that comparison. Record the exact method, path, query, body and headers selected by the app, including separators and encoding.
HTTP field names are case-insensitive. The signer's canonical form follows its own construction. AWS SigV4 is a documented example that lowercases and sorts canonical headers; verify the app's rule rather than applying that example by default. See AWS signing and HTTP field names.
Control the replay test
Compare fixed signing inputs first, then change one input and repeat. Keep session state and timing visible. A changed error or a second rejected request does not by itself prove a nonce rule, signed field or timestamp check; inspect the code and repeat the controlled comparison.
Test changed inputs and fresh sessions in the finished client. Dynamic-header reconstruction delivers those computed values with login, signing and session handling. The signing example shows byte-level tests.
Reviewed 19 October 2026 · SReverse research desk