Skip to main content
NEW · Blast Radius: a field playbook for leaked API keys on AWS, GCP and Azure
Back to Blog

Data breach costs: what an exposed key finding can tell you

A breach-cost average cannot price one exposed credential. Record the key’s source, issuer status, available access and activity evidence, and response work before estimating impact.

Ben Kim
Written by
Ben Kim
Published
Updated
4 min read610 words
Share:
Breach report average separated from evidence needed to investigate one exposed credential

Can a leaked-key alert tell you how much a data breach will cost? No. A pattern match identifies a possible credential and where it appeared. It does not establish unauthorized use, data loss or a bill. The useful next step is to check the key and keep an incident record.

What the breach-cost average measures

IBM’s 2026 Cost of a Data Breach research reports a USD 4.99 million global average across 602 organizations that had a data breach. It groups costs into detection and escalation, post-breach response, notification and lost business. That is a descriptive average for studied breaches, not the expected loss from any one exposed key or the amount a scanner will save. The earlier version of this article mixed a 2024 average with a 2025 cybercrime forecast and treated them as if they predicted the value of secret detection. They do not.

What a credential finding does and does not establish

Start with the source: which connected repository, object, document or message contained the value, and who could access it? A secret pattern is a candidate, not proof that the string authenticates. For supported types, check the current result at the issuer. AWS or GCP access analysis can add available permission context. Neither validity nor permission context proves that someone used the key. Review relevant issuer activity logs and their coverage before deciding whether an incident involves actual access.

For an AWS access key, CloudTrail can look up recent management events by access key ID, within its documented time and Region limits. Other event types and older periods need the logs you configured and retained. An empty lookup is not proof that no request occurred anywhere. Preserve the event window and your query parameters in the incident record.

Record the work and impact you can verify

Keep five records: the discovery source and time; the issuer-side key state; the affected identity and available access; the activity and data reviewed; and who replaced or revoked the key, when, and which workloads needed an update. Record response hours, service interruption and external assistance only if they actually occurred. Determine any notification or legal obligation from the facts of the incident and applicable rules, not from a generic breach average. Never paste the secret value into the ticket.

If the key reached Git, remove it from the change and consider history cleanup after containment. GitHub recommends revoking or rotating a leaked credential first; deleting a file or rewriting history cannot recall copies held elsewhere. For AWS IAM access keys, follow the issuer’s replacement procedure and test dependent applications. Google Cloud has a separate procedure for compromised service-account keys, including the effect of disabling a service account on workloads.

Where detection helps

A pre-commit or provider push check may keep a supported pattern out of a shared repository when it runs and is not bypassed. A connected-source scan can find a value already present in its configured scope. Cremit can bring supported issuer validity, available AWS/GCP access context, source location and owner clues together for review. It does not prevent every leak, restrict cloud access, calculate breach cost or revoke keys automatically. A response owner still has to investigate and act at the issuer.

Use the evidence to decide which response work is necessary. NIST’s current incident-response guidance treats detection, response and recovery as connected organizational work; it does not turn one indicator into an incident severity or a financial estimate.

Primary sources

IBM 2026 Cost of a Data Breach research and sample

IBM explanation of breach-cost categories

NIST SP 800-61 Revision 3

AWS CloudTrail access-key event lookup

GitHub sensitive-data removal and rotation

AWS IAM access-key replacement

Google Cloud compromised-credential response

Share it with your networkLinkedInX

Read next

Get the next one in your inbox

Monthly NHI security brief from Cremit. One email, high signal.

We never sell your email. Unsubscribe anytime.

Data breach costs and exposed keys | Cremit