DANGER
malware detected
github.com / damianmqr
damianmqr/ A9PatchingService
Python·128 files·commit 893da76·scanned 5d ago·cached ✓
70/100
DANGEROUS
Sensitive capability combinations reachable from entry points. Do not run without review.
This repository contains patterns associated with malware. Do NOT run this code.
verdict accurate?
3% file coverage
threat-state: dangerouslive
FINDINGS ░▒▓
criticaleval() usage detectedeval() executes arbitrary code and is commonly used in malware to run obfuscated payloads fetched from remote servers.app/external_scripts/system_img_patcher/patch_system_img.py
for match in all_matches:
string = string.replace(f'{{{match}}}', str(eval(match, {'abs': abs, 'round': round, 'pow': pow, 'int': int, 'float': float, 'max': max, 'min': min, 'sum'...+8criticalPython dynamic code executioneval(), exec() or compile() on untrusted input can execute arbitrary code. Common in Python malware for running obfuscated payloads.app/external_scripts/system_img_patcher/patch_system_img.py
for match in all_matches:
string = string.replace(f'{{{match}}}', str(eval(match, {'abs': abs, 'round': round, 'pow': pow, 'int': int, 'float': float, 'max': max, 'min': min, 'sum'...+7warningPython subprocess / os.system usageos.system() or subprocess with shell=True / suspicious commands can execute arbitrary shell commands. Plain pip/package installs are usually benign.app/external_scripts/system_img_patcher/smali_patcher.py
try:
result = subprocess.run(command, shell=True, check=check, capture_output=True, text=True)
if not quiet:
logging.info(f"Command '{command}' executed successfully.")+4warningHigh-entropy string literalsFound 179 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.app/external_scripts/system_img_patcher/patch_system_img.py+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.app/external_scripts/system_img_patcher/patch_system_img.py+3
warningHigh-entropy string literalsFound 4 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.app/external_scripts/system_img_patcher/smali_patcher.py+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.app/external_scripts/system_img_patcher/smali_patcher.py+3
Scores are heuristics. A “safe” verdict means no known-malicious patterns were found — clever malware can look boring. Wrong verdict? Flag it above; confirmed false positives become regression tests.
4 files scanned @ 893da76 | 8/19/2026 | heuristic scan — always review manually
risk by category
code execution21
network & exfiltration0
file system access0
obfuscation12
supply chain2
owasp / injection0
telemetry
files 4/128rules hit 9engine v5commit 893da76
github
damianmqr/A9PatchingService
Automatically patch system.img for use with Hisense A9, adding eink features support
45
14
897d
128 files
4 scanned(3%)
893da76
architecture░▒▓
entry (0) flagged (2) pkg (11)
13 nodes · 14 edgesscroll to zoom · click node to jump to finding