TL;DR: Bots now drive more than half of web traffic, and Guardsquare argues that mobile APIs need server-side app attestation because authentication proves the user, not the application. The governance problem is the missing trust check on client integrity, which leaves credential stuffing, fraud, scraping, and abuse patterns exposed to automation.
At a glance
What this is: This article argues that mobile API bot defense fails when controls verify the user but not the application, and that server-side app attestation closes that integrity gap.
Why it matters: IAM and application security teams should treat client integrity as part of access assurance, because automation can mimic legitimate users even when authentication is sound.
Context
Mobile API security is not only an authentication problem. In this article's framing, the missing control is assurance that the request comes from a genuine, unmodified app rather than a scripted replica or tampered client. That matters because mobile applications increasingly carry the same business logic, identity checks and transaction paths that attackers want to automate.
The identity angle is real: authentication can tell you who the user is, but not whether the client device or application instance is trustworthy. For IAM, fraud and appsec teams, that creates a governance gap between user identity assurance and request integrity. In practice, that gap is typical in mobile-first environments where API access is treated as inherently legitimate once login succeeds.
Key questions
Q: What fails when mobile APIs trust authentication but not app integrity?
A: When an API trusts the user session but not the client, attackers can replay legitimate-looking requests from a modified app or scripted bot. That creates a gap between identity assurance and request provenance, which is why fraud, scraping and credential-stuffing campaigns succeed even when login controls appear sound.
Q: Why do bots increase risk in mobile API environments?
A: Bots reduce the cost of abuse and raise its scale. They can generate requests quickly, imitate human timing and spread across many accounts, so the same attack pattern can become credential stuffing, fake registration, rewards abuse or scraping without needing deep technical access to the backend.
Q: How can security teams tell whether attestation evidence is still reliable?
A: They should verify three things: the control scope, the expiry date, and whether the evidence actually covers the service or environment being reviewed. A certificate or report is not perpetual trust. Once it ages out or no longer matches the service in question, it should trigger renewed review rather than automatic acceptance.
Q: What should teams do when a mobile request fails attestation?
A: Treat it as a trust failure, not just a rejection. The response should depend on the flow: block high-risk transactions, challenge suspicious sessions, and send the event to fraud and monitoring teams so they can correlate the failure with account behaviour and wider attack patterns.
Technical breakdown
Why mobile APIs are vulnerable to client impersonation
Mobile APIs are exposed to a trust mismatch. The server controls data and logic, but it cannot directly see whether the request came from the real app, a reverse-engineered clone, or a modified client running under attacker control. Authentication proves a session or user token, but it does not prove application integrity. That makes it possible for bots to replay legitimate-looking API calls at scale, bypassing the UI and the human interaction signals defenders often rely on.
Practical implication: add a client-integrity check before the API trust decision, not after account authentication succeeds.
How server-side app attestation works
Server-side app attestation inserts an independent verdict into the request flow. The client gathers integrity signals, sends them to an attesting service, receives a short-lived cryptographic token, and forwards that token to the server. The server then checks the verdict against policy before allowing the action. Because the policy logic sits server-side, attackers on the device cannot easily inspect or adapt to the rule set, which makes the control harder to mirror than client-side checks alone.
Practical implication: enforce attestation at the server boundary so policy changes do not require a mobile app release.
Why bot operators target mobile business flows
Attackers use automated clients because they are cheap, fast and persistent. In mobile environments, that means credential stuffing, fraudulent account creation, reward abuse, scraping and denial-of-service style request floods can all be driven through APIs that appear legitimate. The key technical point is that automation does not need to defeat every security layer, only the part that assumes a logged-in session equals a trusted actor. Once that assumption breaks, scale becomes the force multiplier.
Practical implication: map your highest-value API flows to the abuse pattern they invite, then place attestation where the business logic is most exposed.
Threat narrative
Attacker objective: The attacker wants to automate trusted-looking mobile API activity so they can take over accounts, commit fraud, scrape data or disrupt service at scale.
- Entry occurs when an attacker uses a scripted or modified mobile client to imitate legitimate API traffic without passing through the intended user interface.
- Credential access or abuse follows when stolen credentials, MFA codes or harvested login details are used to make automated requests look like normal app activity.
- Escalation and impact come when bots create accounts, scrape data, trigger fraudulent transactions or flood services at scale, turning a single abuse path into repeated business loss.
Breaches seen in the wild
- Firebase misconfiguration exposure 2024: Missing Firebase security rules on 916 websites exposed 125 million user records and 19.87 million plaintext passwords; a quarter were fixed.
- Symantec mobile apps AWS keys 2022: Symantec found AWS keys hard-coded in 1,859 mobile apps; 77% were valid, many shared via SDKs, one exposing 300,000 fingerprints. No misuse reported.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Client integrity has become a first-class identity control for mobile APIs. Once attackers can copy app behaviour, authentication alone only proves the user authenticated, not that the request originated from a trusted application instance. That shifts the governance problem from session acceptance to request provenance. For IAM and appsec teams, the practical conclusion is that identity assurance now includes the integrity of the calling client.
Bot defense fails when the control plane trusts the wrong thing. Many mobile programmes still assume that a valid login and a legitimate-looking request are close enough to trust. That assumption breaks under automation, where attackers can operate low and slow, switch accounts and adapt to business workflows. The named concept here is a client integrity trust gap: a security model that verifies the user but not the application path. Practitioners need to close that gap at the server boundary, not only in the app.
Server-side policy enforcement is more governable than client-side resistance. A mobile app can be reverse-engineered, patched or emulated, but server-side attestation rules can be updated centrally and tied to observed abuse patterns. That makes the control easier to align with fraud operations, security monitoring and incident response than device-side checks alone. The broader lesson is that mobile identity governance has to treat runtime verification as part of access control, not as an optional hardening layer.
AI-assisted fraud raises the bar for proof of legitimacy. The article's discussion of deep-fake account creation shows that the threat is no longer just scripted bots, but bot-plus-AI abuse that can imitate both behaviour and identity signals. That matters for digital identity, fraud prevention and NHI governance because automated clients increasingly behave like independent actors in the access model. Practitioners should treat attestation as a trust signal that complements, rather than replaces, authentication.
Business logic abuse is now the dominant battleground for mobile abuse. Scraping, reservation abuse, rewards fraud and credential stuffing all exploit the same weakness: APIs that assume a real app behind a real login. That is why mobile API governance needs explicit trust checks, measurable policy decisions and continuous monitoring for abnormal request provenance. The practitioner takeaway is to govern the calling context as carefully as the credential.
From our research library:
- Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap, according to the State of Secrets in AppSec.
What this signals
Client integrity is becoming part of the access decision. Mobile programmes that only validate credentials leave an unresolved trust problem at the request layer. The practical shift is to treat attestation verdicts as governance signals alongside authentication, device posture and transaction risk, especially where bots can mimic normal app behaviour with little friction.
Mobile abuse now blends identity fraud, automation and application tampering. That combination is why a single control rarely fixes the problem. Teams should expect the next phase of abuse to target API workflows that look harmless at the UI level but carry real business value behind the scenes.
For practitioners
- Deploy server-side attestation at high-value API entry points Start with login, account creation, payment, reservation and scraping-prone endpoints where automated clients can do the most damage. Require a valid attestation verdict before processing the request, and tie the policy to the specific transaction rather than the whole app.
- Classify the abuse pattern behind each mobile workflow Map each API flow to the bot behaviour it attracts, such as credential stuffing, fake account creation, rewards abuse or data scraping. Use that mapping to decide where a negative attestation verdict should block, delay or route for review.
- Separate enforcement from the mobile release cycle Keep attestation policy on the server side so you can adjust rooted-device rules, emulator detection and certificate revocation without shipping a new app version. That reduces response time when attackers change tactics.
- Connect attestation outcomes to fraud and SOC workflows Record negative or suspicious verdicts in fraud queues, SIEM alerts or case-management systems so security teams can correlate them with unusual transaction timing, account creation bursts or repeated failed attempts.
Key takeaways
- Mobile API defence breaks down when authentication proves the user but not the application instance making the request.
- Bot traffic is now a mainstream abuse vector, which means fraud, scraping and account takeover can all be driven through the same mobile flow.
- Server-side app attestation moves trust checks to the server boundary, where policy can be enforced and updated without depending on the client.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API2 — Broken Authentication | The article centers on authenticating mobile API callers and the gap between user login and client trust. |
| API6 — Unrestricted Access to Sensitive Business Flows | Credential stuffing, scraping and reservation abuse target valuable business flows behind the API. | |
| Recommendation — Strengthen API authentication with client-integrity checks before allowing high-risk mobile requests. Apply flow-specific controls to the mobile transactions attackers are most likely to automate. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Attestation changes how access is granted to application requests, not just users. |
| Recommendation — Use PR.AA-05 to govern application request authorization with integrity-aware policy gates. | ||
| CIS Controls v8 | CIS-5 — Account Management | Credential stuffing and fake account creation make account lifecycle controls directly relevant. |
| Recommendation — Harden account management controls around suspicious mobile sign-ups and takeover attempts. | ||
| MITRE ATT&CK | TA0006;TA0009;TA0040 — Credential Access; Collection; Impact | The abuse patterns described map to credential theft, scraping and service disruption. |
| Recommendation — Map mobile bot abuse to TA0006, TA0009 and TA0040 to improve detection and triage. | ||
Key terms
- Server-side app attestation: Server-side app attestation is the practice of verifying, on the backend, that a request came from an expected application state and environment. It helps organisations avoid trusting the client blindly when the client can be cloned, modified, or replayed.
- Client Integrity: Client integrity is the degree to which a mobile app and device session remain untampered during execution. It covers repackaging, hooking, debugging, and other runtime manipulation that can distort what the backend believes is happening.
- Bot Defence: Bot defence is the set of controls used to distinguish legitimate users from automated or semi-automated abuse. For identity teams, it is not only a traffic problem but a trust problem because the control decides whether an actor is allowed to proceed, step up, or be blocked.
- Access Provenance: Access provenance is the record of how an identity was created, approved, used, and withdrawn. In NHI governance, it is the evidence trail that lets teams prove an account is legitimate, explainable, and still within its intended access boundary.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and related access-control concepts. It helps practitioners connect identity assurance to broader security decisions in modern programmes.
Published by the NHIMG editorial team on August 20, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org