How isaluki/uncreep works
uncreep is an AI-agent toolkit for analyzing Android APKs, letting the user choose privacy or dark-pattern changes, and producing a rebuilt APK. Its workflow runs from acquisition and signer identification through decompilation and analysis, user-approved recipe creation, patching, rebuilding, verification, and delivery. The README documents the overall stages and capabilities; sampled source confirms acquisition/identity, analysis tools, and patchkit internals. Several orchestration details are documented but their source was not sampled.
Main entry points: build.py Patch and build · uncreep Decompile APK · summarise.py Analysis summary · acquire.py Acquire APK
Components 21
App intake
- Acquire APK
scripts/acquire.py - Check identity
scripts/identity.py
App analysis
- Decompile APK
uncreep - Manifest audit
scripts/manifest_audit.py - Tracker scan
scripts/tracker_scan.py - Pattern scan
scripts/scan_patterns.py - Analysis summary
scripts/summarise.py - Findings review
docs/findings-template.md
Recipe and patching
- App recipe
recipes/_template/recipe.py - Manifest edits
patchkit/manifest.py - Binary XML editor
patchkit/axml.py - Smali edits
patchkit/smali.py
Build and delivery
- Patch and build
patchkit/build.py - Verify APK
scripts/verify.py - Deliver APK
scripts/deliver.sh
Other components
- App owner
- Coding agent
- Removal choices
- APK sources
- Android build tools
- Install or release
Connections 28
- App owner → Coding agent: requests app
README.md - Coding agent → Acquire APK: acquires app
README.md - APK sources → Acquire APK: provides APK
README.md - Acquire APK → Check identity: checks signer
scripts/acquire.py - Coding agent → Decompile APK: decompiles app
README.md - Decompile APK → Manifest audit: supplies APK
- Decompile APK → Tracker scan: supplies code
- Decompile APK → Pattern scan: supplies code
README.md - Coding agent → Manifest audit: audits manifest
README.md - Coding agent → Tracker scan: scans trackers
README.md - Manifest audit → Analysis summary: contributes findings
- Tracker scan → Analysis summary: contributes findings
- Pattern scan → Analysis summary: contributes findings
- Coding agent → Findings review: writes findings
README.md - Analysis summary → Findings review: informs review
- Coding agent → Removal choices: presents tradeoffs
README.md - App owner → Removal choices: chooses removals
README.md - Removal choices → App recipe: guides edits
README.md - App recipe → Patch and build: provides patch steps
patchkit/build.py - Patch and build → Manifest edits: edits manifest
patchkit/build.py - Manifest edits → Binary XML editor: uses XML editor
patchkit/manifest.py - Patch and build → Smali edits: patches code
patchkit/build.py - Patch and build → Android build tools: rebuilds and signs
README.md - Coding agent → Verify APK: verifies output
README.md - Patch and build → Verify APK: checks APK
README.md - Verify APK → Deliver APK: clears for delivery
README.md - Coding agent → Deliver APK: delivers APK
README.md - Deliver APK → Install or release: installs or publishes
README.md