TESTMERA

API and mobile back end penetration testing

An application programming interface (API) lets one application request data or actions from another. In a penetration test, we check whether each user can access only the records and actions they need. This test is for teams whose mobile app, customer portal or partner software uses an API to work with their service.

What we test

Identity and tokens. Authentication establishes which person or application is making a request. An access token is a credential an application presents to show that it has permission to make a request. We compare observed expiry and revocation with the agreed design for access tokens, refresh tokens and sessions. A self-contained access token may remain usable until expiry after its session or refresh token is revoked. The API must still check permission for the requested data or action on each request.

Access to individual records. Two people with the same role may have different rights because they work for different customers. Object-level access control determines whether someone can open a particular order, document or other record. We compare what the test accounts can read and what they can change. Permission to see a record need not include permission to edit it.

Permission to perform an action. Function-level access control governs who can carry out a particular task. We check who can perform routine tasks, approve an order or assign someone a new role. The service needs to enforce those permissions even when the app only shows the relevant button to an administrator.

Input validation. We check what data the service accepts, including the type of value, its permitted range and who can supply it. We distinguish fields the user can edit from values that the service should set itself. We also check whether stored records stay intact when the service receives invalid data.

Repeated requests. Rate limiting restricts how often a person or application can repeat an action. We agree which actions need a limit and how many requests the test may make. Within that allowance, we check whether the limit applies to the intended user and action.

Excess data. An app may receive more information from the server than it displays on screen. We compare the fields in the API response with what the user needs for the task. We check whether a restricted account receives personal details or internal notes alongside the data it has permission to see.

Documentation and actual behaviour. We compare the actions, permissions and responses described in your documentation with what we observe. If they differ, we ask the service owner which behaviour the team intended. This helps the developer decide whether to correct the guide or change the permission check in the service.

How the work runs

  1. Agree the scope. We record the API addresses, versions, environment, actions, permitted methods and testing window. The system owner gives written authorisation before work begins.
  2. Test. We use the agreed accounts and test records during that window. We tell your nominated contact immediately if we find anything critical.
  3. Report. Every finding has evidence, a severity score and a specific fix. We identify the user permissions involved.
  4. Fix. Your developers can make the changes from the report. If you want us to do the work, we quote for it separately.
  5. Retest. We check each fix. A passed retest earns the dated Testmera Tested badge and an attestation letter. The letter states when we both made and retested a fix.

What you receive

The report identifies the API version and action involved in each finding, the rights the user had and what the service allowed. We explain what the evidence means for your service. We use the Common Vulnerability Scoring System (CVSS 3.1) to rate severity. Your team can use that score and the recommended fix to prioritise work.

A named person signs the report. You can choose Estonian or English for both the report and the debrief. Our reports are structured so they can serve as technical evidence for NIS2, DORA and ISO 27001 audits and for customer security questionnaires.

What this does not cover

For mobile apps we test the back end, the software running on the server, and its agreed interfaces. Testing native mobile app binaries, the program files installed on a phone, requires a separate agreement. A rate limit check does not measure how much traffic your service can handle. Testing a partner's systems requires written authorisation and an agreed scope from their owner.

What we need from you

Provide the API addresses, versions in use and any documentation you have. Identify the actions your service depends on and who should be able to perform them. Prepare test accounts for the relevant roles. To check separation between customers, we also need accounts with equivalent rights in two different test organisations and records belonging to each.

Agree a testing window with your team and name a contact who can pause the work. Identify actions that notify customers, initiate payments or send information to a partner. We agree where we may complete those actions and where to stop before confirmation.

Common questions

Can you test a version before release?

Yes. Tell us where permissions or settings in the test environment differ from the planned release. That gives your team the context to interpret the results.

Can we start with incomplete documentation?

We can agree the scope using an inventory of actions and your team's description. Where the documentation is silent, we establish what behaviour you expect.

Do you need real customer records?

We can check access between accounts using fictional data. What matters is knowing which test account owns each record and who should be able to change it.

What happens if the API version changes before the retest?

We record the version that contains the fix and check the original finding against it. If the release also introduces new actions, we can agree a separate scope for those.