CheckMyApp Journal

Application security blog

Practical guides to website, API and mobile application security: how to identify risks, verify them and fix their causes.

Web security

How to limit string length before regex and verify rejection order

Define a string field contract and test it with your own synthetic data: overlength input is rejected before regex, and rejected values go no further.

Read article
Mobile applications

How to replace sticky broadcasts and restore the screen’s current state

How to replace sticky broadcasts with change notifications and separate state reads: a fictional example testing first opening and screen resubscription.

Read article
Web security

How to replace eval in a web calculator and validate inputs before calculation

Define a simple calculator contract, replace eval with explicit arithmetic, and test results, rejections, and an additional CSP restriction using fictional data.

Read article
Mobile applications

How to Move a Sensitive Android File to filesDir and Verify the Result

Write a persistent sensitive file to Android internal storage, verify its bytes after a restart, and confirm that the previous external copy is gone.

Read article
Web security

How to Test Login Form Compatibility with Password Managers and MFA Code Pasting

A login form test plan for your own test environment: manual entry, password managers, and password and MFA code pasting. Check values and login completion.

Read article
Mobile applications

How to remove Parcel from Android app storage and verify draft recovery

How to find Parcel writes to disk, define a separate persistent format, and verify draft fields after terminating the process and restarting the app.

Read article
Web security

Single-use OTPs for MFA login: implementation and rejection testing

How to track successful OTP use on the server and test rejection before expiry: a fictional example, acceptance criteria and remediation priorities.

Read article
Mobile applications

How to Verify the Integrity of Dynamically Loaded Android Code Before Loading

How to compare an Android module’s hash with a trusted reference and block loading on a mismatch: a fictional example, test criteria, and limitations.

Read article
Web security

How to restrict a database account for a read-only service and verify that writes are blocked

How to grant minimal permissions to a dedicated read service, verify that INSERT, UPDATE and DELETE fail under its runtime account, and confirm that test data remains unchanged.

Read article
Mobile applications

How to find TLS server verification bypasses in Android code and what to remove

Trace the creation of one Android client, find unconditional verify results, empty checkServerTrusted methods and misuse of SSLSession.isValid, then review fixes in code.

Read article
Web security

How to Choose SQL Sort Columns and Directions Safely

Map sorting parameters to fixed SQL options on the server, reject unknown values, and verify the results using a fictional catalog.

Read article
Mobile applications

How to hide sensitive text in Android clipboard previews and verify pasting

How to set ClipDescription.EXTRA_IS_SENSITIVE, account for Android versions, and use fictional data to verify that the system preview hides text while pasting preserves it in full.

Read article
Web security

How to pass a search string to SQL as a parameter and verify the result

Parameterized search in Java: trace a value to the database and verify exact matches using your own fictional records containing apostrophes.

Read article
Mobile applications

Extracting ZIP Files on Android: Keeping Entries Inside a Dedicated Directory

How to check canonical paths for ZIP entries on Android and verify rejection of paths outside the destination, using import preconditions, your own test archives and file integrity checks.

Read article
Web security

How to Validate Document State Transitions on the Server

Define a document transition table and verify that the server rejects approval when a required step is skipped, preserving the previous state. A fictional test plan.

Read article
Mobile applications

How to restrict Android Keystore key operations and digests and verify rejection

A minimal Android Keystore key contract: allow signing with SHA-256 and verify rejection of SHA-512 using your own synthetic data.

Read article
Web security

How to Define Content-Type for a JSON API and Verify Rejection Before Data Changes

Learn how to define a JSON operation’s contract and use your own test data to verify that unsupported formats are rejected before a record changes or a business action runs.

Read article
Mobile applications

How to Limit Trust in an Internal CA to One Android App Domain

Configure trust-anchors for an internal HTTPS API: choose subdomain coverage, verify inheritance, and check rejection for a host outside the allowed scope.

Read article
Web security

How to Reject Common and Compromised Passwords

How to apply a shared server-side policy to new passwords and use fictional data to verify that blocked values are not saved and allowed values are accepted.

Read article
Web security

How to Check REST API Methods and Distinguish 405 from 403 Responses

How to compare REST routes, allowed methods and required permissions with server configuration and responses using a fictional catalog.

Read article