Feature flags or toggles configured for high-risk deployments; toggleable without code redeployment
Why it matters
Deploying a high-risk feature without a feature flag means the only remediation for a bad release is a full rollback — redeploying old code, re-running migrations in reverse, and potentially incurring downtime. NIST CM-3 covers controlled configuration changes; feature flags implement that control at runtime without touching infrastructure. A flag that can be toggled in a dashboard in seconds is vastly safer than a rollback that takes 15 minutes. Teams without feature flags tie their deployment risk directly to their rollback speed.
Severity rationale
Medium because missing feature flags force full rollbacks for high-risk feature failures, but the risk is only realized when a high-risk feature ships and misbehaves.
Remediation
Integrate a feature flag service such as LaunchDarkly (free tier) or self-hosted Unleash for high-risk or experimental features.
npm install @launchdarkly/react-client-sdk
Wrap high-risk features in a flag check:
import { useFlag } from '@launchdarkly/react-client-sdk';
export function CheckoutFlow() {
const newCheckout = useFlag('new-checkout-flow', false);
return newCheckout ? <NewCheckout /> : <LegacyCheckout />;
}
Configure the flag default to false (off) and enable it incrementally: 1% → 10% → 50% → 100% of traffic. If error rates spike at any stage, toggle the flag off in the LaunchDarkly dashboard — no code change, no deployment, no downtime.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Deployment Readiness Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- iso-25010:2011 · reliability.maturity — Maturity — controlled feature rollout reduces failure exposure
- nist:rev5 · CM-3 — Configuration Change Control
Taxons
History
- 2026-04-18·v1.0.0·Initial import from deployment-readiness·automated