{"id":20325811,"url":"https://github.com/paradiseduo/tiktok","last_synced_at":"2025-10-04T14:13:57.872Z","repository":{"id":199017148,"uuid":"702012929","full_name":"paradiseduo/Tiktok","owner":"paradiseduo","description":"Tiktok是一个AST扫描器，用于发现敏感函数调用链，方便通过静态扫描的方式提前做隐私合规水位预警","archived":false,"fork":false,"pushed_at":"2023-10-09T02:04:13.000Z","size":16,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T07:11:24.810Z","etag":null,"topics":["ast","china","chinese","ios","llvm","scan","scanner","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/paradiseduo.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,"publiccode":null,"codemeta":null}},"created_at":"2023-10-08T08:38:06.000Z","updated_at":"2025-02-20T09:21:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a51c8c6-a7c2-4bfe-8a12-f1a1c9ff7eb2","html_url":"https://github.com/paradiseduo/Tiktok","commit_stats":null,"previous_names":["paradiseduo/tiktok"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/paradiseduo/Tiktok","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradiseduo%2FTiktok","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradiseduo%2FTiktok/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradiseduo%2FTiktok/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradiseduo%2FTiktok/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paradiseduo","download_url":"https://codeload.github.com/paradiseduo/Tiktok/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradiseduo%2FTiktok/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267621605,"owners_count":24116901,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ast","china","chinese","ios","llvm","scan","scanner","xcode"],"created_at":"2024-11-14T19:41:47.387Z","updated_at":"2025-10-04T14:13:52.846Z","avatar_url":"https://github.com/paradiseduo.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiktok\nTiktok是一个AST扫描器，用于发现敏感函数调用链，方便通过静态扫描的方式提前做隐私合规水位预警\n\n## 使用方法\n**首先使用源码编译你要扫描的项目，拿到IndexDB的路径，这是一切工作的起点，没有源码的编译产物是无法进行扫描的**\n\n```bash\n❯ ./Tiktok -h                                                                                                                                                                                                                                                                                  at 16:45:14\nOVERVIEW: Tiktok v1.0.0\n\ntiktok is a tool which scan indexDB AST to find api which one used.\n\nUSAGE: tiktok \u003cindex-db-path\u003e \u003capi-path\u003e \u003cout-put-path\u003e\n\nARGUMENTS:\n  \u003cindex-db-path\u003e         The indexDB path for Tiktok.\n  \u003capi-path\u003e              The api json file path for Tiktok.\n  \u003cout-put-path\u003e          The output path for Tiktok.\n\nOPTIONS:\n  --version               Show the version.\n  -h, --help              Show help information.\n```\n\n## 举个例子\n我有一个叫Tiktok的APP，通过源码编译之后，通过Xcode的“show build folder in finder”功能找到编译产物所在的路径，继而找到IndexDB的路径“/Users/admin/Library/Developer/Xcode/DerivedData/Tiktok-cmoxrmqwmupadmaqlqrwfmiorwxi/Index.noindex/DataStore”\n\n```bash\n❯ ./Tiktok IndexDB的路径 需要扫描的api(JSON文件，对格式有要求) 结果输出目录\n❯ ./Tiktok /Users/admin/Library/Developer/Xcode/DerivedData/Tiktok-cmoxrmqwmupadmaqlqrwfmiorwxi/Index.noindex/DataStore /Users/admin/Desktop/Tiktok/apis.json /Users/admin/Desktop/tiktok_out\n```\n\n## 特别感谢\n\nhttps://github.com/apple/indexstore-db\n\nhttps://github.com/apple/swift-argument-parser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadiseduo%2Ftiktok","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparadiseduo%2Ftiktok","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadiseduo%2Ftiktok/lists"}