{"id":13843543,"url":"https://github.com/zhengjim/camille","last_synced_at":"2025-05-15T23:03:27.265Z","repository":{"id":37321668,"uuid":"422039967","full_name":"zhengjim/camille","owner":"zhengjim","description":"基于Frida的Android App隐私合规检测辅助工具","archived":false,"fork":false,"pushed_at":"2023-07-21T03:30:50.000Z","size":4862,"stargazers_count":1588,"open_issues_count":13,"forks_count":261,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-05-15T23:02:52.098Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhengjim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-10-28T02:32:51.000Z","updated_at":"2025-05-15T11:06:27.000Z","dependencies_parsed_at":"2024-02-08T20:52:58.566Z","dependency_job_id":"99e529bb-f042-4cc3-8bf7-cccab5479001","html_url":"https://github.com/zhengjim/camille","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengjim%2Fcamille","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengjim%2Fcamille/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengjim%2Fcamille/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhengjim%2Fcamille/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhengjim","download_url":"https://codeload.github.com/zhengjim/camille/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254436944,"owners_count":22070946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T17:02:12.502Z","updated_at":"2025-05-15T23:03:27.233Z","avatar_url":"https://github.com/zhengjim.png","language":"JavaScript","funding_links":[],"categories":["安卓Android","JavaScript"],"sub_categories":["网络服务_其他"],"readme":"# Camille\n\nAndroid App隐私合规检测辅助工具\n\n## 简介\n\n现如今APP隐私合规十分重要，各监管部门不断开展APP专项治理工作及核查通报，不合规的APP通知整改或直接下架。camille可以hook住Android敏感接口，检测是否第三方SDK调用。根据隐私合规的场景，辅助检查是否符合隐私合规标准。\n\n## 隐私合规资料及政策\n\n[隐私资料政策wiki](https://github.com/zhengjim/camille/wiki/APP-%E4%BE%B5%E5%AE%B3%E7%94%A8%E6%88%B7%E6%9D%83%E7%9B%8A%E4%B8%93%E9%A1%B9%E6%95%B4%E6%B2%BB%E8%A1%8C%E5%8A%A8%E6%81%A2%E5%A4%8D%E4%B8%8A%E6%9E%B6%E6%B5%81%E7%A8%8B)\n\n## 安装\n\n环境：\n\npython3、frida 、一台已root手机(我测试机为Redmi 3s，刷机成魔趣Android 8.1，感觉问题挺多的)，并在手机上运行`frida-server`。\n\n测试了Android 8.1(还测试了魔趣Android 10)，其他版本安卓可能会有bug。\n\n更新日志：\n\n```\n2023-03-14：新增敏感接口\n\n2022-12-12：修复android 13有兼容性问题\n\n2022-11-25：修复截图bug、优化hook方法支持传参数过滤\n\n2022-11-21：新增可指定frida-server用于对抗frida检测，参数-H、修复模拟器没有sdcard目录报错问题\n\n2022-11-16：感谢@ysrfeng 添加wiki，添加隐私合规相关资料和政策文档。\n\n2022-11-15：合并@RebornQ PR，新增多设备可指定设备功能\n\n2022-11-11：修复Android7报错、Frida12报错、优化异常处理便于排查\n\n2022-11-10: 合并@RebornQ PR、修复部分问题、优化初始化异常提示\n\n2022-11-03: 添加同意隐私合规状态(需人工确认)、第三方SDK识别、可hook构造函数，`methodName`传`'$init'`。方便大家交流，创建交流群。 新增文件接口，感谢@LiuXinzhi94提供。 新增敏感接口，感谢群里师傅@WYY提供\n\n2022-10-26：新增支持加载外部脚本文件，填相对路径或绝对路径均可（用于 pyinstaller 打包二进制执行文件后使用）感谢@RebornQ pr\n\n2022-09-07：添加讨论群，新增敏感接口，感谢群里师傅@410提供。\n\n2022-07-08: 默认不开启绕过TracerPid,添加attach hook，避免有些加固包不能hook问题。\n\n2022-06-22：修复程序异常退出、冗余度高、hook接口不全有遗落、新增多个Android版本接口；封装hook方法，新增用户自定义hook方法。\n\n2022-01-14：删除hook短信接口。新增：可指定模块hook或不hook哪些模块。默认不传，全扫描。\n```\n\n下载：\n\n```\ngit clone https://github.com/zhengjim/camille.git\ncd camille\npip install -r requirements.txt\npython camille.py -h\n```\n\n![img.png](images/img.png)\n\n## 用法\n\n[使用说明文档](docs/use.md)\n\n## 后记\n\n本来想使用uiautomator2或appium来模拟点击制定场景，~~但后续调研发现纯自动化的检测是不全的，最多也就检测20-30%，还是得结合人工来检测。索性就删除了模拟点击这块。~~(其实就是懒，不定期更新)\n\n## 场景\n\n[百度史宾格的检测场景](docs/detection_scene.md)\n\n## 参考链接\n\n- https://github.com/Dawnnnnnn/APPPrivacyDetect\n- https://github.com/r0ysue/r0capture/\n- https://github.com/ChenJunsen/Hegui3.0\n\n## 讨论群\n\n感谢[@ysrfeng](https://github.com/ysrfeng) 提供的App合规检测交流群，有需要的可以加群交流~\n\n为方便大家交流，创建交流群有需要的加群。App隐私合规交流群满200，需要的加V，备注github。就会拉进群。\n\n\u003cimg src=\"https://github.com/zhengjim/camille/raw/master/images/v.png\" width = \"300\" height = \"450\" alt=\"\" align=center /\u003e\n\n\n## 404星链计划\n\u003cimg src=\"https://github.com/knownsec/404StarLink-Project/raw/master/logo.png\" width=\"30%\"\u003e\n\ncamille项目 现已加入 [404星链计划](https://github.com/knownsec/404StarLink)\n\n## Stargazers over time\n\n[![Top Langs](https://profile-counter.glitch.me/zhengjim/count.svg)](https://www.zhengjim.com)\n\n[![Stargazers over time](https://starchart.cc/zhengjim/camille.svg)](https://starchart.cc/zhengjim/camille)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhengjim%2Fcamille","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhengjim%2Fcamille","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhengjim%2Fcamille/lists"}