Document how to prevent Feature Flags response tampering with response signing #42063
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.50) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 597 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.383
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #42063"
general
weight: 0.35
joepeeples
<!-- Note: Please remember to review the Datadog Documentation Contribution Guidelines if you have not yet done so. -->
What does this PR do? What is the motivation?
Motivation
Client applications receive flag assignments over the network. Security reviewers, engineers, and search and AI tools look for this topic as "response tampering" and "origin attestation". They need one page that states the problem, the threats, the protection that response signing gives, and its limits. Each SDK page needs the option that turns signing on.
Changes
feature_flags/guide/prevent_response_tampering. It states the problem (response tampering and origin attestation) and gives a summary, key terms, a threat and protection table, the trust model, the request and verification flow, certificate rotation, an enablement table for each SDK, verification failures with a reason-code table, signature expiry, limits, and an FAQ with question headings.experimentalResponseSigning), theexpireVerifiedFlagsoption, the modes, how to confirm that signing works, verification failures with the platform error types, and signature expiry.Decisions
expireVerifiedFlagsreturns default values instead. The pages warn that a network attacker who blocks refreshes can keep the last verified values.Authorizationheader), the request headers that the SDK lists inx-datadog-feature-flags-signed-headers, and the response headers that Datadog lists inx-datadog-feature-flags-signed-response-headers. Request headers that are not listed cannot change a signed response.PROVIDER_ERRORmessages in the browser,FlagsResponseSigningExceptionandResponseSigningFailureReasonon Android, andFlagsError.responseSigningFailed(reason:)on iOS. The draft revocation reason is not documented.Open placeholders
These facts are not known yet. Each one has a
TODOHTML comment in the page:X.Y.Zon the JavaScript, Android, and iOS pages).Merge readiness
AI assistance
Claude Code drafted the pages from the SDK pull requests and the existing Feature Flags docs. A human reviews all content.
For Datadog employees:
<name>/<description>convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.Additional notes
Do not merge until the SDK releases with response signing are public and the
TODO: confirmcomments are resolved.