binaryinject/unifree/asar-binary-patching
Claude Code and agent skill by binaryinject/unifree
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Extract, analyze, and patch ASAR archives (Electron app bundles). Use when modifying Unity Hub, VS Code, or other Electron apps' bundled JavaScript for config bypass, feature unlock, or behavior modification. Covers string hunting, hex offset analysis, and binary patching with size-matched replacements.
Install
npx vskill@latest install binaryinject/unifree/asar-binary-patchingSKILL.md
ASAR Binary Patching
Prerequisites
npx @electron/asar(orasarglobally)grepwith binary search support (grep -a)ddfor byte-level inspection- PowerShell for binary file reading
Workflow
Step 1: Extract and analyze
Step 2: Context analysis at offset
Step 3: Binary patching (size-matched)
CRITICAL: Replacement must be EXACTLY the same byte length as original.
Step 4: Patch ASAR in-place
The UniFree project patches ASAR via Rust (patcher.rs):
- Uses byte-level search/replace on the raw ASAR data
- Replacement strings must match original length exactly
- Log errors if length mismatch:
"Replacement changed file size (X -> Y), not supported"
Step 5: Verify
Common Unity Hub targets
| Target | String to find | Patch approach | |
|---|---|---|---|
| Disable sign-in | hubDisableSignInRequired === true | Force true bypass | |
| Disable auto-update | hubDisableAutoUpdate | Override check | |
| Config endpoint | hubConfig.json URL | Point to local/noop | |
| License validation | enableLicenseValidation | Set to false |
Gotchas
- ASAR files are binary;
grep -ais required for text search in binary - Replacement length MUST match exactly or the ASAR structure breaks
- Some checks run on startup AND periodically; patch all occurrences
hubConfig.jsonmay be fetched from remote and overwrite local changes- Use
ddfor precise offset inspection, not text editors - The
grep -boaoutput gives byte offsets from file start
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.mimocode/skills/asar-binary-patching/SKILL.md
Popularity
- Repository stars
- 77
- Repository forks
- 27
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/binaryinject/unifree/asar-binary-patching)