Trust, But Verify: What Clients Should Know Before a Mobile Application Assessment

By Red Siege | October 5, 2026

by Stuart Rorer

Most weeks, the tests I run are fairly routine: web applications, externals, and internals with a tight scope. But mobile application assessments have a way of getting interesting fast, usually because of something nobody expected to be there. Over my last several mobile engagements, a pattern has come up often enough that I want to talk about it directly, because it costs clients real time and money, and it’s avoidable.

The thing clients keep getting wrong about their own app

More than once recently, a client has handed me a mobile app and told me, in effect, “This one’s ready for you: it’s not pinned. We unpinned it,” or “We’re not using pinning at all.” Then I start testing, and the traffic won’t proxy. It turns out there is pinning in the app. They just didn’t know it, because a third-party developer built part of it, or a library they pulled in implements pinning on its own.

Let me back up for anyone who doesn’t live in this world day to day.

TLS Pinning

TLS pinning is a protection that makes it harder to intercept an application’s traffic. The goal is to make sure end-to-end communication stays secure: that someone on the attacking side can’t easily sit in the middle, read what’s going on, and start manipulating it.

Here’s why it matters to you as a client: when I test a mobile app, the app on the phone is only part of the picture. I need to watch it log in, see how it touches the back-end web server, and watch the calls it makes to the APIs. To do any of that, I have to be able to see the traffic. When pinning is in the way, I now have to spend part of a time-boxed engagement undoing it before the real testing can even begin.

While it is an absolutely recommended protection, and should most definitely be tested, knowing pinning is in place before the test is helpful to know what time will be required to properly test the application.

What that actually costs you

When I hit unexpected pinning, I generally reach for a tool called Frida. Frida lets me hook into the running application process and get to a layer where I can manipulate whether the app actually enforces its pinning. In plain terms, it slides itself into the process, finds where the app calls the library that turns pinning on, and convinces the app that pinning is active when it really isn’t — so I can proxy the traffic and start working with the endpoints.

But getting there isn’t free. I often have to figure out which library is doing the pinning, decompile the app as best I can, search the libraries in use, and examine the application’s use of Trust Manager. At this point, I can either find a bypass script or write a custom one. That all takes time. And because engagements are time-boxed, every hour spent figuring out how an application is configured is an hour less available to focus on identifying vulnerabilities and risks, which is the real goal of the assessment.

The most useful thing a client can do is know their own application. If your app uses pinning or other protections, it’s important to have that discussion in the meetings prior to testing. These protections do need to be tested, absolutely, but the time for testing those needs to be factored into the testing window. Sometimes a 50/50 approach is used where an allocated amount of time is set to test the pinning application, and then after that time has elapsed, if pinning has been bypassed, a version has been provided without the pinning that allows the tester to continue examining the rest of the application.

The bigger risk: trusting third parties blindly

The pinning surprise is really a symptom of a larger issue, clients often don’t know what’s inside their own applications, especially when third parties are involved.

Organizations will often contract out development, because it’s less expensive. Additionally, they will often implement third-party libraries for quick plug and play. There’s nothing wrong with that. The problem is what happens next: the vendor writes a chunk of the app, and the client says, “Okay, they handled that part, we’re good,” and never vets it. Or the third-party library is implemented, it works, everything is assumed good to go.

I’ll give you a real example. Years ago I was testing an application where the third-party developer had built a back door into the code, and the client had no idea it was there. To be fair, it wasn’t malicious, the developer had put it in so they could log in and do maintenance. But it was protected by a really easy password. I contacted my point of contact and said, “You realize you’ve got this login account sitting out there, right?” He said, “What? No.” I showed him, and the team was completely flabbergasted. Nobody had vetted the code, so nobody knew.

That’s the whole risk in one story. Responsibility for building the app quietly became an assumption that security was handled too. It wasn’t.

Vetting is the fix — and it applies to AI-written code now too

So where does the fix live? It lives in vetting the code that gets written. I’ll be honest that this is a double-edged sword: if you contracted the work out in the first place, it may have been because you didn’t have the experience, the resources, or the time in-house. So actually reviewing that code is its own challenge. But it has to happen. Code always needs to be vetted.

And this isn’t just about outside vendors anymore. The biggest trend right now is people using “vibe coding” (leaning on AI to generate code) and not vetting that output either. AI is great, and it keeps getting better at writing code, but it is still fallible. The principle doesn’t change based on who or what wrote the code: don’t blindly trust any of it. That’s the entire point of information security. Always trust, but verify. Ideally you have someone with real knowledge of the language who can go through it and say, “Wait — what is this? This shouldn’t be here.” Because everything should be vetted.

How to prepare for a mobile assessment

If you want your assessment to spend its time on what matters, a few things help enormously.

Know what protections are actually in your app (pinning, root detection, etc) and tell your testers, rather than assuming or guessing. As previously discussed, letting the testers identify this on their own can be useful, but the trade off is testing time. Don’t strip those controls to make our lives easier; disclosing them lets us test how well they’d stand up to a real attacker, which is the point. Understand what’s in the app that you didn’t write yourself: which third-party developers, libraries, and SDKs contribute, and what each one introduces. If parts of the app were built by an outside team, treat “it works” and “it’s secure” as two separate questions, and make sure the code was vetted by someone qualified to spot what shouldn’t be there. And remember that a mobile app is more than a file on a phone — it’s talking to APIs and back-end services, so make sure those are in scope and that we have the access to reach them.

Your developers may have done everything right. Your vendors may have followed every requirement. Your controls may work exactly as intended. Good. A mobile application penetration test is how you find out for certain, instead of assuming, by putting someone on the other side who’s actively trying to break the assumptions your application relies on.

Trust them. Then let us verify it.


About Stuart Rorer, Security Consultant

Stuart has worked in the IT Industry for more than twenty years and has worked within Cyber Security for the past twelve. In the past he has held jobs in the education, government, and private sector, and for the last few years has specialized in web application penetration testing. Stuart has performed testing on clients in all sectors, many of which have been in the Fortune 500. He enjoys spending time in research and exploring new penetration testing tactics, and techniques.

Certifications:
CPT, ECPPT, ECSA, CEH, SEC+

DigDug: Making Your Payload Too Big to Scan

By Red Siege | November 5, 2026

by Jason Downey This is Dig Dug. A Red Siege tool for avoiding av/edr can offer valuable solutions for penetration testers and red teamers. If you spend any amount of […]

Learn More
DigDug: Making Your Payload Too Big to Scan

This is not the Access Policy you’re looking for

By Red Siege | October 1, 2026

by Mike Saunders The AWS ReadOnlyAccess policy might be providing more access than you’re intending to grant. On a recent assessment, we observed widespread use of IAM roles with the […]

Learn More
This is not the Access Policy you’re looking for

Red Siege at Wild West Hackin’ Fest Deadwood 2026: What to Expect

By Red Siege | September 24, 2026

As proud sponsors of Wild West Hackin’ Fest, Red Siege is heading back to Deadwood! WWHF is always a big one for us, and this year we’re bringing training, talks, […]

Learn More
Red Siege at Wild West Hackin’ Fest Deadwood 2026: What to Expect

Find Out What’s Next

Stay in the loop with our upcoming events.