A system uses JWTs with a long expiration (e.g., 30 days). A refresh token is stored securely, but a breach reveals the signing secret is rotated late. Which property most directly suffers, and what mitigation best addresses it?

Answer

Integrity and authenticity; mitigate with key rotation, short-lived access tokens, and token revocation/blacklisting

Explanation

If the signing key is compromised, attackers can mint valid tokens until expiration; limiting lifetime and revoking sessions reduces exposure.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

Your incident response plan requires evidence preservation. A developer suggests copying the production database during a live incident “to capture state,” but service must continue. What is the best approach that preserves evidentiary value?

View question →

In a threat model, you identify that attackers could abuse misconfigured cloud storage permissions to read sensitive objects but cannot write to buckets. Which defense most effectively addresses confidentiality while preserving immutability of stored data?

View question →

A company uses a single global API key for multiple internal services. During an incident, logs show successful requests from an IP range that matches a reseller’s NAT, but internal teams confirm the key should not be exposed externally. Which action best follows the principle of least privilege and incident containment?

View question →

A SOC analyst sees repeated failed logins followed by a single successful login for a user account that rarely authenticates from the observed geolocation. The account has access to production deployments. What is the highest-priority response to ensure account integrity?

View question →

A firewall rule blocks inbound traffic to an API. Yet the attacker can still reach the API from inside the network using the same credentials as a legitimate admin. Which classification best describes the observed behavior?

View question →

During a phishing simulation, users report that they clicked a link but were unable to enter credentials because a browser warning appeared. The warning was caused by certificate mismatch. Which next step best supports forensic attribution while keeping user impact minimal?

View question →

QuestionBack to list