agent-security-hardening
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
目标有 APP(APK/IPA)、桌面客户端或需要逆向二进制找接口/密钥/漏洞时调用——静态分析、Jadx/apktool、移动端常见漏洞(硬编码密钥、导出组件、证书校验绕过、WebView),以及从逆向结果回到服务端测试的路径。
apktool d app.apk -o out/:资源、AndroidManifest.xml(导出组件/权限/deep-link);jadx -d src/ app.apk:Java 源码还原;grep -rnE "https?://|api[_-]?key|secret|token|password|AKID|accessKey" src/ | head -50
gitleaks detect --source src/ 2>/dev/null
okhttp/retrofit 注解、/api/ 常量、加密参数构造逻辑(签名算法);adb shell dumpsys package <pkg> | grep -A2 exported,activity/service/receiver 可导出 → 启动参数注入。unzip app.ipa,Mach-O 用 strings/otool;Flutter 用 flutter_engine 特征;app.asar 解包(npx asar extract)→ 找 preload 与 IPC 面;strings -n8 找 URL/密钥;radare2/Cutter、ghidra 反编译(宿主工具按需装)。| 漏洞 | 验证方式 |
|---|---|
| 硬编码密钥 | 从包内提取 AK/SK/token→直接调 API 验证(能列数据/调接口即 L3) |
| 未授权/越权 API | 从逆向得到接口→无 token 调→返回业务数据 |
| 导出组件 | adb shell am start -n pkg/.Activity --es key value 验证能否拉起并携带参数 |
| 证书校验绕过 | 仅对自有测试包做(Frida/objection),不用于第三方生产;证明可中间人即可 |
| WebView 注入 | deep-link 参数进入 loadUrl/addJavascriptInterface → 构造 URL 验证 |
| 备份/调试 | android:allowBackup=true → adb backup 导出数据;debuggable=true |
api-security-testing 继续。AFaffaan-m/ECC314k4,125 new stars in the last 7 days
Audit the whole repo: find bugs, security holes and performance bottlenecks. Get a ranked report in plain English.
DIDietrichGebert/ponytail202k4,780 new stars in the last 7 days
GAgarrytan/gstack143k636 new stars in the last 7 days
Harden code against the OWASP Top 10: input handling, authentication, sessions and dependencies.
ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,627 new stars in the last 7 days
RUruvnet/RuView106k693 new stars in the last 7 days