mobile-backend

Tests mobile app backend APIs for authentication flaws, IDOR, and business logic vulnerabilities.

1.7k|238|Updated Dec 7, 2019
One-click install
npx skills add https://github.com/wgpsec/AboutSecurity --skill mobile-backend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mobile-backend
Source: https://github.com/wgpsec/AboutSecurity/tree/main/skills/exploit/auth/mobile-backend
Command: npx skills add https://github.com/wgpsec/AboutSecurity --skill mobile-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Mobile app backends often trust the client more than web frontends do, leaving REST APIs exposed to broken authentication, insecure direct object references, payment tampering, and verification code bypasses that traditional web testing checklists miss.

Core Features & Use Cases

  • API Endpoint Discovery: Enumerate mobile API paths such as /api/v1/ and /mobile/api/ using spray or ffuf, check Swagger/OpenAPI documentation, and extract endpoints from decompiled APKs or intercepted traffic.
  • Authentication Mechanism Testing: Identify and attack JWT, API Key, OAuth, and custom signature schemes, including token omission, expired tokens, and privilege escalation via modified user_id or role parameters.
  • Business Logic Exploitation: Test for IDOR, payment price/quantity tampering, SMS verification code bypass, race conditions, and API version downgrade attacks where legacy v1 endpoints lack fixes applied in v2.
  • Use Case: While assessing an e-commerce app, you intercept POST /api/order with a client-supplied price field; the Skill guides you to tamper price, quantity, and discount parameters and to probe older API versions for missing authorization checks.

Quick Start

Use the mobile-backend skill to plan a security test of the intercepted API traffic from this Android app.

Frequently Asked Questions about mobile-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test a mobile app backend API for security vulnerabilities?

Start by discovering endpoints through directory fuzzing with spray or ffuf, checking /swagger and /openapi.json, and intercepting traffic with Burp or Charles. Then test authentication mechanisms, probe for IDOR by changing object IDs, and tamper with business logic parameters like price and quantity.

How to find hidden API endpoints in a mobile app?

Combine three approaches: fuzz common paths like /api/v1/ and /mobile/api/ with wordlists, review exposed documentation at /docs or /redoc, and decompile the APK to search for hardcoded URL strings. Traffic capture with Burp or Charles reveals endpoints the app actually calls.

What is an API version downgrade attack?

An API version downgrade attack targets older endpoint versions such as /api/v1/ when the current /api/v3/ enforces proper authorization. Projects often keep legacy versions online without backporting security fixes, so requesting the same resource through v1 or v2 may bypass authentication checks.

How can SMS verification codes be bypassed during testing?

Common techniques include brute-forcing 4-6 digit codes when no rate limit exists, tampering with the verification response to change failure into success, trying default codes like 000000 or 123456, and checking whether the API response itself leaks the generated code.

Does this methodology cover JWT and OAuth authentication testing?

Yes, it identifies JWT Bearer tokens, API Keys, OAuth token endpoints, and custom signature headers, then directs you to dedicated JWT and OAuth attack methodologies. It also covers generic bypass tests such as missing tokens, expired tokens, and modified user_id or role claims.

Why are mobile backends often less secure than web frontends?

Mobile backends typically trust the client more because requests bypass the browser, so developers implement fewer server-side validations. This leaves price fields, quantity values, and device identifiers client-controlled, making tampering and authorization flaws more common than in traditional web applications.