TL;DR: Unosecur reports that two exposed AWS access keys and multiple hard-coded service tokens gave access to more than 70 TB of Tata Motors data across cloud and analytics systems, showing how static credentials and client-side secret handling create invisible entry points that perimeter controls miss. The real failure is treating secrets as deploy-time artefacts instead of governed identities with lifecycle controls.
At a glance
What this is: This analysis links Tata Motors’ exposed cloud keys and tokens to a wider secrets management gap, showing how client-side credentials and mis-scoped access can expose large data estates.
Why it matters: It matters because IAM, NHI, and cloud security teams need to treat exposed keys, tokens, and front-end secrets as identity failures that require lifecycle governance, not just cleanup.
👉 Read Unosecur's analysis of exposed cloud keys and tokens at Tata Motors
Context
Secrets management is the discipline of controlling where credentials live, who can use them, and how quickly they are rotated or revoked. In this case, the governance gap was not encryption alone but the decision to place live credentials in client-facing code and weak token logic.
The Tata Motors exposure is a useful reminder that cloud security failures often start with identity material, not malware or perimeter compromise. When access keys, API tokens, and trusted tokens are embedded in web assets, the organisation has effectively created distributed standing privilege across public surfaces.
Key questions
Q: What breaks when secrets are embedded in browser code?
A: The secret stops being secret. Anyone who can load the page can inspect the bundle, recover the credential, and use it until the token is revoked. Client-side embedding also removes trust in any claim of encryption, because the same code often contains the logic needed to recover the secret locally.
Q: Why do exposed API keys and tokens create such a high-risk failure mode in software delivery?
A: Exposed secrets matter because they often grant direct access to cloud accounts, source repositories, databases, or release pipelines. Once attackers find them, they can clone code, publish malicious packages, or move into CI/CD systems. The risk is amplified when secrets are long lived, broadly scoped, or reused across environments.
Q: How can security teams tell whether token issuance is too weak?
A: Look for token creation paths that do not require strong server-side verification, especially when administrative or impersonation access is involved. If a token can be minted from only basic user attributes or client-side logic, the assurance model is too weak for privileged access. Effective issuance always has a stronger proof step.
Q: Should organisations prioritise secret rotation or secret discovery first?
A: They should do both, but rotation is the control that reduces immediate exposure when a secret is already live. Discovery tells you where the problem is. Rotation and revocation tell you whether the credential still works. If you can only choose one urgent action after a leak, invalidate the credential and confirm it is no longer active.
Technical breakdown
Why client-side credentials create hidden access paths
When an access key or token is embedded in browser code, the browser becomes the delivery mechanism for the secret. Anyone who loads the page can recover the credential, replay it, and inherit whatever permissions were attached to it. Client-side obfuscation does not change the trust model because the secret still ships to an uncontrolled endpoint. In this incident, that meant public web assets became a credential distribution layer rather than a presentation layer.
Practical implication: Keep credentials out of client-side code so the browser never becomes a secret transport path.
How static secrets turn cloud access into standing privilege
Static credentials behave like persistent identities: once exposed, they remain valid until explicitly rotated or revoked. In cloud environments, that creates a long-lived attack window because the same key can enumerate storage, call APIs, or assume other authorised actions without fresh proof of intent. This is why exposed keys are so often the first step in larger cloud incidents. The control problem is not just theft, but persistence after exposure.
Practical implication: Treat every long-lived key as an account lifecycle problem and enforce rapid revocation when exposure is suspected.
Why weak token issuance breaks identity assurance
A trusted token flow that can mint access based only on a username and site name removes the normal assurance checks that should protect privileged dashboards. If password verification or multi-factor authentication is bypassed, the token itself becomes the proof of access, which makes the token-issuing function a high-value target. In this pattern, the issue is not the dashboard alone but the authorisation logic that lets a front-end request create privileged access.
Practical implication: Review token-issuing flows for missing verification steps before they are used to grant administrative access.
Threat narrative
Attacker objective: The objective was to use exposed cloud credentials and weak token logic to access, enumerate, and potentially manipulate Tata Motors data across storage and analytics systems.
- Entry occurred through public web assets that exposed AWS access keys and third-party API tokens in client-side code.
- Credential access was immediate because the keys and tokens were directly usable without additional verification or back-end control.
- Escalation followed through broad S3 access, analytics token abuse, and access to fleet-management integrations tied to sensitive data.
- Impact included exposure of more than 70 TB of cloud and analytics data and the potential for impersonation of privileged dashboard users.
Breaches seen in the wild
- Toyota T-Connect key exposure 2022: A subcontractor left a T-Connect server key on public GitHub from 2017 to 2022; 296,019 customers' emails were exposed, misuse unknown.
- Sumo Logic breach 2023: A compromised credential opened a Sumo Logic AWS account; customers were told to rotate API keys and stored credentials. No data impact was found.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 150+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Cloud key exposure is an identity failure, not a storage failure. When access keys and API tokens live in public assets, the organisation has already lost control of the identity boundary that protects cloud data. Storage encryption and perimeter monitoring cannot compensate for credentials that are distributed through client-side code. The practical conclusion is that secrets governance must be treated as core IAM work, not as a developer hygiene side issue.
Secret hardening is incomplete if the browser can still mint privilege. The Tableau token flow described here shows how a front-end issuance path can become an administrative access path when proof requirements are weak. That is a control failure in the authentication and authorisation chain, not just a token format issue. Practitioners should see any client-generated token as a governed identity object, not a convenience feature.
Static credentials create identity blast radius because exposure and misuse are separated in time. A key can be leaked long before it is detected, and the same key can remain valid across multiple systems if lifecycle governance is weak. That gap between exposure and revocation is what makes cloud incidents scale so quickly. The discipline that matters is not just secret storage but rapid containment of exposed identities.
Ephemeral controls matter because they shrink the period in which a leaked secret remains useful. Temporary roles, strict token scoping, and enforced rotation change the economics of compromise by reducing the lifespan of any one credential. That does not eliminate exposure risk, but it limits how far a single leak can travel across cloud and analytics services. The implication is that identity governance should optimise for short-lived authority wherever possible.
Unified identity monitoring is becoming a prerequisite for cloud secrets governance. The signals in this case were spread across keys, tokens, API activity, and atypical usage patterns, which means siloed tooling is unlikely to reconstruct the whole picture quickly enough. A single view of exposed identities, permission scope, and credential activity is now a practical requirement for incident containment. Teams that cannot correlate those layers will keep finding exposure after impact.
From our research library:
- 88% of security professionals are concerned about secrets sprawl, with 49% of those in larger organisations described as "very concerned", according to the 2024 State of Secrets Management Survey.
- 54% of organisations are dissatisfied with their current secrets management solution because not all secrets are secured, and 43% cite lack of central management, according to the 2024 State of Secrets Management Survey.
- Read next: Secrets Management Buyer's Guide
What this signals
Identity blast radius is the right way to think about public cloud secrets. Once a key or token is embedded in client-side code, the question is no longer whether the secret can be found, but how far that identity can reach before it is revoked. That is why lifecycle governance, not just discovery, has to sit at the centre of secrets management.
Access review cadences do not solve exposed secrets on their own. Reviews are effective only when there is still a controlled identity record to review. When the browser can mint or reveal the secret directly, the first priority is to remove the exposure path and then shorten the lifetime of every remaining credential.
For practitioners
- Remove credentials from public assets Scan client-side code, repositories, and public web bundles for live keys, tokens, and decryption routines, then eliminate any secret that can be recovered by a page load.
- Replace static keys with short-lived authority Move high-value cloud access to temporary roles and scoped tokens so exposed credentials expire quickly and cannot be reused across storage or analytics systems.
- Tighten token issuance controls Require password verification, multi-factor checks, or equivalent server-side proof before any workflow can mint dashboard or admin tokens.
- Monitor for exposed identity signals Alert on new Access Key IDs in public code, unusual GetCallerIdentity and ListBucket activity, and old credentials that suddenly become active from unfamiliar origins.
- Review third-party integrations for shared secrets Apply the same rotation, logging, and access-scoping standards to partner APIs and embedded tokens that you enforce for internal cloud credentials.
Key takeaways
- This incident shows that exposed cloud secrets are identity exposures, not isolated configuration mistakes.
- The scale mattered because a small set of leaked keys and tokens touched more than 70 TB of data across storage and analytics systems.
- The limiting control is lifecycle governance for secrets, especially removing credentials from client-side code and replacing static access with short-lived authority.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-02 — Secret Leakage | Public web assets exposed live cloud credentials in the exact way NHI-02 describes. |
| NHI-04 — Insecure Authentication | Weak token issuance allowed access without normal verification, matching this authentication failure mode. | |
| NHI-05 — Overprivileged NHI | The exposed keys granted broad S3 and analytics reach, making privilege scope central to the risk. | |
| Recommendation — Remove secrets from client-side code and treat any recovered credential as immediately compromised. Require strong server-side verification before any token can grant access to protected systems. Scope every NHI credential to the minimum permissions needed for the shortest possible lifetime. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Credential lifecycle control is directly implicated by exposed access keys and tokens. |
| Recommendation — Apply authenticator management to rotate, revoke, and monitor exposed cloud credentials. | ||
Key terms
- Client-side Secret Exposure: The leakage of keys, tokens, or sensitive configuration inside a mobile application where attackers can extract them through reverse engineering, memory inspection, or code modification. It is a governance failure as much as a technical one because the credential lifecycle was never properly bounded.
- Standing Privilege: Standing privilege is access that remains active even when no immediate task requires it. For NHI programmes, it is a common failure mode because long-lived credentials and persistent roles create unnecessary exposure. Reducing standing privilege usually means tighter expiry, on-demand access, and clearer review of who or what still needs access.
- Token issuance assurance: Token issuance assurance is the set of checks that confirm a token is being minted for the right subject, purpose, and privilege scope. When issuance can happen with weak or client-side logic, the token itself becomes the proof of access, which undermines identity assurance across the stack.
- Identity Blast Radius: The amount of damage a compromised identity can cause across systems, data, and infrastructure. In NHI environments, it is shaped by permissions, network reach, and administrative capability rather than by the credential alone. Reducing blast radius is a containment strategy that limits lateral movement and data exposure.
What's in the full article
Unosecur's full blog covers the operational detail this post intentionally leaves for the source:
- The exact Tata Motors exposure paths, including E-Dukaan, FleetEdge, Tableau, and the test-drive portal
- The specific credential patterns that allowed public recovery of AWS keys and trusted tokens
- The remediation actions described after coordinated disclosure, including rotation and containment steps
- The identity telemetry patterns the vendor says teams should monitor for early warning
Deepen your knowledge
NHI governance, secrets management, and workload identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 23, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org