Sample report: what you get after one scan

A TrueOffensive report opens with an executive summary: severity counts, overall risk and the three fixes that remove the most risk. Then come the findings, ranked by how easily an attacker can use them, each with the file and line, the flagged code, steps to reproduce and a fix your developers can ship. It closes with a compliance table mapping every result to OWASP MASVS, SAMA CSF, NCA ECC and PCI DSS v4.0.

No email needed. The app, package names, keys and IBAN below are fictional.

The full sample report

This is the report as your team receives it, rendered as a web page so you can read and link to any part. The target is a fictional Android payments app. Finding TO-002 is written exactly the way we write it in a paid engagement, including the reply we usually hear from developers.

payments-app-4.2.apk Scan 1 Dec 2026 · static analysisSample

01Executive summary

Sample
Package
com.payapp.wallet
Version
4.2.0 (build 4200)
Min / target SDK
26 / 34
Scan type
Static, AI-triaged
Overall risk
High

One finding gives direct access to the payment API from outside the app, and one lets a single tapped link open a pre-filled transfer. Both can be fixed in this release.

Top 3 fixes

  1. Rotate the live API secret and remove it from the appTreat the key as already compromised. Move signing server-side. Closes TO-001.
  2. Stop exporting TransferActivitySet exported="false" and require the PIN on the server for every transfer. Closes TO-002.
  3. Remove the cleartext exception for the API domainHTTPS only, then pin the API certificate. Closes TO-003.

02Findings, ranked by exploitability

Sample

Rank reflects what an attacker needs to use the finding, not only its rule severity. A finding that needs nothing but the public APK ranks above one that needs a rooted phone.

RankIDSeverityFindingWhat an attacker needs
1TO-001CriticalLive API secret hardcoded in the APKOnly the APK from the store
2TO-002HighTransfer screen opens from any link, skipping the PINA link the user taps
3TO-003HighCleartext traffic allowed to the API domainThe same Wi-Fi network
4TO-004MediumAccess token written to LogcatUSB debugging, or an SDK that uploads logs
5TO-005MediumAES in ECB mode for local storageA rooted device or a full backup
6TO-006LowApp data included in device backups (allowBackup="true")An unlocked phone and a cable
Critical

Live API secret hardcoded in the APK

TO-001 · rank 1Sample

Location: smali/com/payapp/net/BuildConfig.smali, line 142

Why it is exploitable

The APK is public. Anyone can download it, run apktool and read this value in under a minute. ProGuard and R8 rename classes; they do not hide string constants. With the secret, an attacker signs requests to your payment API directly, outside the app, its rate limits and its device checks.

Evidence

.field public static final API_BASE:Ljava/lang/String; = "https://api.payapp.example/v2"
.field public static final API_SECRET:Ljava/lang/String; = "sk_live_7Hq2••••••••••••••"
.field public static final VERSION_NAME:Ljava/lang/String; = "4.2.0"

Steps to reproduce

  1. apktool d payments-app-4.2.apk -o out
  2. grep -rn "sk_live_" out/smali
  3. Use the value as the X-Api-Secret header against /v2/merchants/me: the API answers 200.

Fix

Remove the secret from the client. Sign requests on your backend, or issue short-lived tokens per session after login. Rotate the exposed key today and check API logs for calls that did not come from the app's user agent.

  • MASVS CRYPTO-2
  • CWE 798
  • SAMA CSF 3.3.6 · 3.3.9
  • NCA ECC 2-8-3 Cryptography
  • PCI DSS 8.6.2
High

Transfer screen opens from any link, skipping the PIN

TO-002 · rank 2Sample

Location: AndroidManifest.xml (TransferActivity) and smali/com/payapp/ui/TransferActivity.smali, lines 61 to 88

Why it is exploitable

TransferActivity is exported and listens for payapp://transfer. On launch it reads to, amount and note from the link and fills in the form. The PIN prompt lives in ReviewActivity, the screen users normally pass through first. A link jumps straight over it, and the Confirm button posts to /v2/transfers with the stored session.

STEP 1SMS: "Your refund of SAR 4,800 is ready. Tap to receive."
STEP 2The link opens the app, already logged in.
STEP 3Transfer screen shows a beneficiary and amount, pre-filled.
STEP 4User taps Confirm. No PIN. Money leaves.

Evidence

<activity android:name=".ui.TransferActivity"
    android:exported="true">
  <intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.BROWSABLE"/>
    <data android:scheme="payapp" android:host="transfer"/>
  </intent-filter>
</activity>

# TransferActivity.onCreate: link parameters go straight into the form
invoke-virtual {v1, v2}, Landroid/net/Uri;->getQueryParameter(Ljava/lang/String;)Ljava/lang/String;
invoke-virtual {p0, v3}, Lcom/payapp/ui/TransferActivity;->prefillBeneficiary(Ljava/lang/String;)V

Steps to reproduce

  1. Log in to the app on a test device and leave it in the background.
  2. adb shell am start -a android.intent.action.VIEW -d "payapp://transfer?to=SA4420000001234567891234&amount=4800&note=refund"
  3. The transfer screen opens with the sample IBAN and SAR 4,800 filled in. No PIN screen appears.
  4. Tap Confirm on a test account: the request to /v2/transfers returns 201.

Engagement note

The reply we usually get to this finding is: "the user has to be logged in, and they have to press Confirm." Both are true, and neither helps. Your users are always logged in; that is how a wallet app works. And the SMS has just told them to press the button. The PIN step the team relies on is real, it just sits on a screen this link never visits. We show it with the adb command above in the readout, and the conversation changes in about ten seconds.

Fix

Set android:exported="false" on TransferActivity. If marketing needs a link, route it to a screen that only opens the normal flow, and never pre-fill a beneficiary from outside input. Then move the PIN check to the server: /v2/transfers should reject any request without a fresh PIN or transaction-signing token, whatever screen sent it.

  • MASVS PLATFORM-1 · CODE-4
  • CWE 926
  • SAMA CSF 3.3.6 · 3.3.13
  • NCA ECC 1-6-3 Secure coding
  • PCI DSS 6.2.4
High

Cleartext traffic allowed to the API domain

TO-003 · rank 3Sample

Location: res/xml/network_security_config.xml, line 4

Why it is exploitable

The config lets the app talk to the API without TLS. One older endpoint in LegacySync still builds an http:// URL. On shared Wi-Fi, an attacker on the same network reads and changes that traffic, including the session token in the header.

Evidence

<domain-config cleartextTrafficPermitted="true">
  <domain includeSubdomains="true">api.payapp.example</domain>
</domain-config>

Steps to reproduce

  1. Decompile and open res/xml/network_security_config.xml.
  2. grep -rn "http://api.payapp" out/smali returns LegacySync.smali.
  3. Route a test device through a proxy: the sync request appears in plain text with an Authorization header.

Fix

Delete the cleartext exception, switch LegacySync to HTTPS, and add a pin set for api.payapp.example with a backup pin.

  • MASVS NETWORK-1 · NETWORK-2
  • CWE 319
  • SAMA CSF 3.3.13
  • NCA ECC 2-15-3 Secure protocols
  • PCI DSS 4.2.1
Medium

Access token written to Logcat

TO-004 · rank 4Sample

Location: smali/com/payapp/auth/SessionManager.smali, line 211

Why it is exploitable

The release build logs the full access token at debug level. Anyone with USB debugging can read it with adb logcat, and crash or analytics SDKs that attach recent logs send it to a third party.

Evidence

const-string v1, "Session"
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I   # v2 = "token=" + accessToken

Steps to reproduce

  1. Install the release build and log in.
  2. adb logcat -s Session prints token=eyJhbGciOi…

Fix

Strip Log.d and Log.v from release builds with an R8 rule, and never log tokens or personal data at any level.

  • MASVS STORAGE-2
  • CWE 532
  • SAMA CSF 3.3.6
  • NCA ECC 2-7-2 Data protection
  • PCI DSS 6.2.4
Medium

AES in ECB mode for local storage

TO-005 · rank 5Sample

Location: smali/com/payapp/storage/Vault.smali, line 58

Why it is exploitable

ECB encrypts identical blocks to identical output, so patterns in the stored card-on-file data stay visible, and blocks can be swapped without the key. It needs a rooted device or a backup first, which is why it ranks fifth.

Evidence

const-string v0, "AES/ECB/PKCS5Padding"
invoke-static {v0}, Ljavax/crypto/Cipher;->getInstance(Ljava/lang/String;)Ljavax/crypto/Cipher;

Steps to reproduce

  1. grep -rn "AES/ECB" out/smali
  2. Confirm in Vault.encrypt() that no IV is passed.

Fix

Use AES/GCM/NoPadding with a random 12-byte IV per record, and generate the key in the Android Keystore so it never leaves the device's secure hardware.

  • MASVS CRYPTO-1
  • CWE 327
  • SAMA CSF 3.3.9
  • NCA ECC 2-8-3 Cryptography
  • PCI DSS 3.5.1 · 6.2.4

03Compliance summary

Sample
6Controls failed
4Controls passed
2Need a dynamic test
OWASP MASVSResultFindingsSAMA CSFNCA ECCPCI DSS v4.0
CRYPTO-2FailTO-0013.3.92-8-3 Cryptography8.6.2
PLATFORM-1FailTO-0023.3.61-6-3 Secure coding6.2.4
CODE-4FailTO-0023.3.61-6-3 Secure coding6.2.4
NETWORK-1FailTO-0033.3.132-15-3 Secure protocols4.2.1
STORAGE-2FailTO-004, TO-0063.3.62-7-2 Data protection6.2.4
CRYPTO-1FailTO-0053.3.92-8-3 Cryptography3.5.1
STORAGE-1PassNone3.3.62-7-2 Data protection3.5.1
NETWORK-2PassPinning present for auth. host3.3.132-15-3 Secure protocols4.2.1
PLATFORM-2PassNo WebView JavaScript bridges3.3.61-6-3 Secure coding6.2.4
CODE-1PassminSdk 26, targetSdk 343.3.61-6-3 Secure coding6.3.3
AUTH-1Dynamic testServer-side session logic3.3.52-2 Identity and access management8.3.1
RESILIENCE-1Dynamic testRoot and tamper detection at runtime3.3.61-6-3 Secure coding6.2.4
FailPassNeeds a dynamic test (phase 2)

Sample data. The app, file paths, keys and IBAN are fictional and secrets are masked. NETWORK-2 passes for the auth. host only; TO-003 asks you to extend pinning to the API host. NCA ECC references use ECC-2:2024 control numbers. Control mappings are TrueOffensive's interpretation to support your evidence; check the current SAMA, NCA and PCI SSC documents for exact wording. A static scan does not replace a manual penetration test.

How to read it

The same report serves two readers. Each should start in a different place.

For developers

Start with the fixes, then work down the ranking

  1. Read the top 3 fixes first. They are the changes that remove the most risk for the least code.
  2. Work the findings table in rank order, not severity order. Rank 1 needs nothing but your public APK.
  3. Run the reproduce steps yourself. Every command works on a test device, so you can confirm the issue before you change anything.
  4. Ship the fix, then upload the new build. The rescan shows which IDs closed.
For auditors and compliance

Go to the compliance table, then sample the evidence

  1. Open section 3. Each MASVS control shows Pass, Fail or Needs a dynamic test, with its SAMA CSF, NCA ECC and PCI DSS reference.
  2. Follow a Fail to its finding. The finding holds the file, the code and the fix: the evidence you file.
  3. Note the dynamic-test rows. Static analysis cannot prove those controls; plan a runtime test for them.
  4. Keep one report per release. Dated reports show the control was checked on each version.

Why findings are ranked, not just graded

Most scanners sort by rule severity, so a weak cipher on a rooted phone sits next to a live key anyone can pull from the store listing. Teams then fix in whatever order the tool printed. We rank by what an attacker needs: nothing but the APK, a tapped link, the same network, physical access. In this sample the two Medium findings both need the device in hand, so they wait until the link and the key are closed. That order is the same one we would give you in a readout.

What a static scan does not tell you

We read the app as shipped: code, manifest, resources and bundled libraries. We do not log in or watch the app run against your servers, so server-side authorization, session handling and runtime protections are marked for a dynamic test instead of guessed. Dynamic scanning is our next phase. Until then, pair the report with a manual test on high-risk flows such as transfers and onboarding.

Download the sample as a PDF

The same report, A4, 6 findings, ready to forward to your CISO or attach to an audit request. No email or sign-up needed.

Download PDF

Get this report for your app

Upload your APK and get the same summary, ranked findings and MASVS, SAMA, NCA and PCI DSS table for your own build. One scan is $99.