Frida-Scripts is a comprehensive, strictly-verified collection of 54 production-grade Frida scripts crafted for mobile security researchers, penetration testers, and reverse engineers.
Every script in this repository is built on verified Android (AOSP/ART), Linux VFS, and iOS runtime internals β 100% verified, zero guesswork, zero unstable hacks .
π Authoritative Standards & References
All bypasses, hooks, and interceptors are mapped directly to official industry testing guidelines:
π‘οΈ OWASP MASTG (Mobile Application Security Testing Guide):
π§ Linux Kernel & POSIX VFS : proc(5), ptrace(2), prctl(2), pipe(2), memfd_create(2).
π€ Android AOSP ART Internals : libart.so JNI RegisterNatives, libc.so Bionic syscall wrappers, android.security.keystore.
π― Google BoringSSL / Flutter Engine : Pattern-based ssl_crypto_x509_session_verify_cert_chain & SSL_CTX_set_custom_verify.
π Complete Script Catalog
π 1. SSL & TLS Pinning Bypasses (ssl-pinning/)
π‘οΈ 2. Anti-Analysis & Protection Bypasses (anti-analysis/)
Script
Target / Mechanism
Description
anti-frida-bypass.js
Frida Detection, Maps, Ports, Strings
VFS pipe virtualizer (/proc/self/maps), port & thread mask
anti-root-bypass.js
Magisk, KernelSU, APatch, SuperSU, test-keys
Complete Root, Su binary, and build property evasion
anti-debugging-bypass.js
isDebuggerConnected, ptrace, PR_SET_DUMPABLE
Fakes PTRACE_TRACEME success and TracerPid: 0
developer-options-bypass.js
adb_enabled, development_settings_enabled
Neutralizes ADB and developer settings queries
native-exit-blocker.js
exit(), _exit(), abort(), kill()
Blocks abrupt anti-tamper termination and logs backtrace
native-hook-detector-bypass.js
mprotect, mincore, Memory Checksums
Defeats inline hook and memory page integrity scanners
emulator-detection-bypass.js
QEMU, Nox, BlueStacks, LDPlayer, Genymotion
Fakes hardware properties, sensors, and TelephonyManager
vpn-proxy-detection-bypass.js
NetworkCapabilities, tun0, Proxy properties
Bypasses VPN and HTTP proxy detection checks
signature-tamper-bypass.js
GET_SIGNATURES, SigningInfo, hashCode
Bypasses APK signature and repackaging checks
play-integrity-hook.js
Google Play Integrity & SafetyNet API
Monitors and intercepts Play Integrity attestation tokens
anti-hook-bypass.js
StackTrace Inspection & ART Modifiers
Strips Frida/Xposed frames from Thread.getStackTrace()
π 3. Cryptography & Key Extraction (crypto/)
Script
Target / Algorithm
Description
aes-crypto-interceptor.js
javax.crypto.Cipher (AES, DES, RSA)
Dumps Keys, IVs, Plaintexts & Ciphertexts in Hex and UTF-8
rsa-key-extractor.js
RSAPublicKeySpec / RSAPrivateKeySpec
Dumps Modulus (N), Public Exponent (E), Private Exponent (D)
keystore-key-dumper.js
java.security.KeyStore (AndroidKeyStore)
Dumps KeyStore aliases, keys, certificates, and passwords
hash-digest-tracer.js
java.security.MessageDigest (MD5, SHA-1/256/512)
Traces hashing input buffers and resulting digest outputs
secure-random-seed-tracer.js
java.security.SecureRandom
Traces PRNG seed values and generated random bytes
encrypted-sharedpreferences-dump.js
Google Jetpack EncryptedSharedPreferences
Intercepts read/write operations and dumps plain-text values
reflection-call-decryptor.js
Obfuscated Reflection
Unpacks dynamic Class.forName & Method.invoke targets
πΎ 4. In-Memory Dumping (memory-dumping/)
Script
Target Format
Description
in-memory-dex-dump.js
InMemoryDexClassLoader / Dynamic DEX
Auto-detects app storage and dumps runtime decrypted DEX files
native-so-dump.js
Linux/Android ELF Shared Libraries (.so)
Dumps loaded native libraries from memory to disk via RPC
objective-c-dumper.js
iOS Objective-C Runtime
Dumps class hierarchies, methods, properties, and protocols
π‘ 5. Network Traffic Interception (network-traffic/)
ποΈ 6. Monitoring, Logging & Privacy (monitoring-logging/)
Script
Target Feature
Description
android-native-logger.js
__android_log_print, printf, puts
Intercepts hidden native C/C++ logging output
android-location-spoofer.js
GPS & Network Location
Spoofs Latitude, Longitude, Altitude with real-time RPC controls
flag-secure-bypass.js
FLAG_SECURE / Screen Capture
Enables screenshots and screen recordings in protected apps
clipboard-monitor.js
ClipboardManager
Monitors copied and pasted clipboard data to detect leaks
intent-activity-monitor.js
Intent, startActivity, sendBroadcast
Dumps target components, actions, and serialized Bundle extras
broadcast-receiver-monitor.js
Context.registerReceiver
Captures dynamic BroadcastReceivers and IntentFilters
ipc-binder-tracer.js
Android IPC BinderProxy.transact
Traces IPC transactions and Interface Descriptors
jni-method-tracer.js
JNI RegisterNatives (libart.so)
Resolves dynamically bound native function addresses
webview-devtools-enabler.js
Android WebView
Forces chrome://inspect remote debugging for all WebViews
file-io-monitor.js
FileInputStream / FileOutputStream
Logs all file paths read or written by the application
audio-screen-recorder-monitor.js
MediaRecorder / AudioRecord
Detects when application initiates audio or screen recordings
sensor-spoofing.js
SensorEventListener
Spoofs accelerometer, gyroscope, and motion sensors
π 7. Biometrics & Authentication (biometrics/)
Script
Target API
Description
biometric-auth-bypass.js
BiometricPrompt, FingerprintManager
Forces onAuthenticationSucceeded() with mock authentication result
ποΈ 8. Storage & Databases (storage-databases/)
π 9. iOS Instrumentation (ios/)
Ensure Frida is installed on your workstation:
πΉ Spawn Mode (Recommended for early instrumentation)
# Universal SSL Pinning Bypass
frida -U -f com.example.target -l ssl-pinning/universal-android-ssl-bypass.js
# Bypass Root Detection & Anti-Debugging
frida -U -f com.example.target -l anti-analysis/anti-root-bypass.js
# Capture AES Keys & Decrypted Text
frida -U -f com.example.target -l crypto/aes-crypto-interceptor.js
# Enable Screenshots / Bypass FLAG_SECURE
frida -U -f com.example.target -l monitoring-logging/flag-secure-bypass.js
πΉ Attach Mode (For running processes)
frida -U -n " Target App" -l network-traffic/okhttp3-request-logger.js
π Python Automation Template
import frida
import sys
def on_message (message , data ):
if message ['type' ] == 'send' :
print (f"[*] { message ['payload' ]} " )
elif message ['type' ] == 'error' :
print (f"[-] { message ['stack' ]} " )
TARGET_PACKAGE = "com.example.app"
SCRIPT_PATH = "ssl-pinning/universal-android-ssl-bypass.js"
device = frida .get_usb_device ()
pid = device .spawn ([TARGET_PACKAGE ])
session = device .attach (pid )
with open (SCRIPT_PATH , "r" , encoding = "utf-8" ) as f :
source = f .read ()
script = session .create_script (source )
script .on ("message" , on_message )
script .load ()
device .resume (pid )
print (f"[+] Hook active on { TARGET_PACKAGE } (PID: { pid } ). Press Ctrl+C to stop." )
sys .stdin .read ()
This repository is developed strictly for authorized security auditing, academic research, and penetration testing. Do not use these tools against targets without explicit authorization.
Released under the MIT License .