android-pentest

Warn

Audited by Socket on Sep 15, 2026

21 alerts found:

Securityx10Anomalyx11
SecurityMEDIUM
SKILL.md

High-risk but internally coherent offensive security skill. Its capabilities, data access, and toolchain align with Android pentesting, so this is not disguised malware; however, it gives an AI agent powerful exploit, bypass, credential-capture, and data-extraction workflows that can impact real targets and sensitive data.

Confidence: 93%Severity: 83%
AnomalyLOW
setup/setup_emulator.py

The code is a penetration-testing utility rather than an apparent host-system malware payload. Its root, CA installation, proxy, Frida, and persistence features are consistent with Android instrumentation workflows, but they materially weaken emulator security. Runtime downloads are not integrity-verified, and interpolated values passed to `adb shell` create potential command-injection risk, especially for proxy-related input. The provided fragment also cannot run because of the incomplete `startup_script` assignment. No evidence of credential harvesting, host data exfiltration, reverse shells, cryptomining, or destructive host-file operations is present.

Confidence: 98%Severity: 68%
AnomalyLOW
setup/frida_server_manager.py

The code is a legitimate-looking Frida server installer and lifecycle manager for Android devices. It performs privileged device-side execution and downloads executable code from GitHub, creating meaningful operational and supply-chain risk, especially because no checksum or signature verification is performed. No clear malware behavior, credential theft, exfiltration, persistence, or destructive activity is present. The supplied fragment also contains syntax errors and will not execute without correction.

Confidence: 97%Severity: 58%
AnomalyLOW
workflows/base.py

The fragment appears to be legitimate shared infrastructure for an Android security assessment tool and contains no clear malware or data-exfiltration behavior. The primary security concern is command injection in MCPClient._fallback_execution(): untrusted command or package values are inserted into shell=True command strings. This risk is conditional on attacker-controlled inputs reaching the fallback path, but it should be remediated by using argument lists with shell=False and validating package and command parameters.

Confidence: 98%Severity: 68%
SecurityMEDIUM
setup/setup_physical_device.sh

The code is a recognizable Android penetration-testing setup script, not apparent malware. It performs highly privileged and security-sensitive actions by design, including installing a CA certificate, changing proxy settings, downloading and executing Frida as root, and installing an APK. Remote artifacts are not authenticated, and proxy-host interpolation can permit command injection through crafted input. It should only be used with trusted release artifacts, validated hashes or signatures, trusted arguments, and an isolated test device.

Confidence: 97%Severity: 72%
SecurityMEDIUM
methodology/dynamic_analysis.md

This is a dual-use Android dynamic-analysis toolkit and methodology, not evident malware in the supplied text. It contains high-impact credential and key extraction, security-control bypass, runtime tampering, and sensitive-data collection capabilities. Use should be limited to explicitly authorized testing in an isolated environment, with sensitive outputs protected and deleted after analysis.

Confidence: 99%Severity: 88%
AnomalyLOW
setup/burp_cert_installer.sh

The fragment implements a legitimate but highly privileged Android CA certificate installer for Burp-based HTTPS interception. It modifies trusted certificate stores and can affect system-wide TLS validation, creating substantial misuse potential, but there is no direct evidence here of malware, data theft, persistence, or unauthorized network exfiltration. Input validation in omitted functions is important because several values are incorporated into shell commands.

Confidence: 91%Severity: 68%
AnomalyLOW
methodology/auth_testing.md

The fragment appears to be mobile security testing material, not an apparent supply-chain malware payload. Its main security concern is deliberate runtime interception and console logging of SMS contents, which can expose OTPs and private messages. The code is dual-use and should be restricted to authorized test environments; no evidence of exfiltration or persistence is visible.

Confidence: 96%Severity: 62%
AnomalyLOW
scripts/keystore_hooks.js

This is a readable Frida monitoring script intended for Android cryptography and biometric debugging or security analysis. It does not contain apparent malware or remote exfiltration, but it intentionally exposes Keystore passwords, cryptographic inputs, signatures, and potentially exportable key material through console logs. Use only in a controlled test environment because captured logs may contain credentials and sensitive application data.

Confidence: 98%Severity: 68%
AnomalyLOW
scripts/common_commands.sh

The fragment is a readable Android penetration-testing helper script rather than apparent malware. It performs high-impact security testing actions only when explicitly invoked, including root data extraction, traffic capture, proxy and CA setup, SELinux weakening, and Frida instrumentation. The primary security concern is unsafe interpolation of user-controlled arguments into nested adb/shell commands, creating potential command-injection or path-manipulation risks. It should be restricted to authorized test devices and hardened with strict input validation and safer argument passing.

Confidence: 97%Severity: 68%
AnomalyLOW
scripts/root_bypass.js

This is an explicit Android root-detection bypass Frida script. It performs extensive runtime tampering and security-control evasion, but contains no apparent data theft, network activity, destructive behavior, or backdoor functionality. Its main risk is enabling unauthorized bypass of an application's root or integrity checks and potentially destabilizing commands through broad substring matching.

Confidence: 99%Severity: 55%
SecurityMEDIUM
scripts/crypto_hooks.js

The fragment is a Frida-based Android crypto-monitoring script. It intentionally captures highly sensitive material in console logs, creating a serious confidentiality risk if used in an untrusted environment or against production applications. The shown code does not itself exfiltrate data or contain clear malware mechanisms; its behavior is consistent with legitimate dynamic analysis, debugging, or penetration testing. Assessment is limited to the visible fragment.

Confidence: 98%Severity: 70%
SecurityMEDIUM
scripts/ssl_pinning_bypass.js

This is an intentionally constructed Android SSL-pinning and certificate-validation bypass script for Frida. It is not conventional package malware because it contains no exfiltration, persistence, destructive behavior, or command execution, but it substantially weakens the target application's transport security and enables interception of TLS traffic. It should only be used in authorized security testing.

Confidence: 99%Severity: 93%
AnomalyLOW
setup/magisk_module/common/pentest-utils.sh

The code is an Android penetration-testing utility script. It performs privileged local administration of Frida, proxy settings, and CA certificates, but there is no evident malware behavior, telemetry, credential theft, exfiltration, persistence, or arbitrary command execution. The principal security concern is the default exposure of Frida on 0.0.0.0:27042, which should be restricted to localhost or a trusted interface and protected by network controls. Certificate conversion and configuration editing also contain implementation weaknesses. Review and hardening are recommended before deployment on a network-accessible device.

Confidence: 97%Severity: 62%
SecurityMEDIUM
setup/magisk_module/service.sh

This is an explicit Android penetration-testing toolkit service script rather than covert malware. Its intended behavior is consistent with Frida-based instrumentation and traffic interception, but it creates substantial security exposure: it runs a remotely downloaded binary with privileged access, lacks artifact integrity verification, defaults to network-wide Frida exposure, and can weaken certificate and network-security protections. It does not itself show credential harvesting or data exfiltration. Deployment should require trusted, pinned and verified binaries, a loopback-only default listener, authenticated or restricted access, and deliberate confirmation of proxy and security-bypass settings.

Confidence: 98%Severity: 82%
AnomalyLOW
setup/docker/scripts/setup-emulator.sh

The code is an administrative penetration-testing setup script, not apparent malware. Its actions materially weaken emulator security, run Frida as a privileged process, trust supplied CA certificates, and redirect traffic through a configured proxy. Those capabilities are appropriate for an explicitly authorized testing environment but dangerous on a production device or with untrusted inputs. The certificate conversion logic also appears technically flawed because it writes human-readable OpenSSL text output instead of a proper certificate encoding.

Confidence: 97%Severity: 58%
SecurityMEDIUM
setup/magisk_module/post-fs-data.sh

The code is a privileged Android penetration-testing initialization script. It does not show clear malware indicators such as exfiltration, persistence beyond the intended Magisk hook, cryptomining, reverse shells, or destructive file operations. However, it intentionally disables multiple Android security controls, installs custom trusted certificates, and prepares a root Frida server, creating a high security risk if installed on a production or untrusted device. Its safety depends on explicit authorization and control of the module contents and the device.

Confidence: 98%Severity: 86%
AnomalyLOW
setup/magisk_module/customize.sh

This is a readable Magisk installation script for an Android penetration-testing module. It does not itself show clear malware or data exfiltration. However, it installs and auto-configures a likely root-privileged Frida server on all network interfaces, modifies the system CA trust store, and enables security-bypass settings. Those behaviors create substantial security exposure if the device is not isolated and the package contents are not trusted. The archive extraction and prepackaged binary should be independently verified; the code shown does not establish that the later Frida download is safe.

Confidence: 96%Severity: 68%
SecurityMEDIUM
setup/docker/docker-compose.yml

This is a legitimate-looking Android pentesting emulator configuration and contains no evident malware or intentional data theft. The primary risks are deployment-related: privileged container execution, direct KVM access, and unrestricted exposure of ADB, emulator console, and Frida ports. Restrict published ports to localhost or trusted networks, apply host firewall rules, and protect certificate contents. The configuration should not be treated as safe for untrusted network exposure.

Confidence: 98%Severity: 72%
SecurityMEDIUM
workflows/complete_assessment.md

This is an authorized mobile application security-testing workflow in appearance, containing reconnaissance, instrumentation, protection bypass, data extraction, fuzzing, and traffic capture. It is not itself evidence of malware, but it presents substantial confidentiality and operational risk if run without authorization or against production data. The actual behavior depends on unspecified helper functions and scripts.

Confidence: 98%Severity: 78%
SecurityMEDIUM
workflows/ssl_pinning_bypass.md

The fragment is an offensive security workflow for bypassing SSL pinning and intercepting an Android application's HTTPS traffic. It creates a serious security risk when used without authorization because it defeats certificate validation and can expose credentials or sensitive request data. It contains no evident package malware, credential harvesting logic, destructive behavior, or suspicious network exfiltration in the supplied content.

Confidence: 99%Severity: 90%
Audit Metadata
Analyzed At
Sep 15, 2026, 04:23 PM
Package URL
pkg:socket/skills-sh/hardw00t%2Fai-security-arsenal%2Fandroid-pentest%2F@3f172dd09c6b96346add398af7f13a156662987d78d494d7e4233573d190a575