bilibili-reverse
CommunityReverse Bilibili Android API signing/auth flows.
System Documentation
What problem does it solve?
This Skill solves the challenge of reverse-engineering Bilibili's heavily obfuscated Android app API protections, including native MD5 request signing, JWT ticket authentication, OAuth2 token refresh, and gRPC traffic capture, which cannot be replicated using outdated public documentation alone.
Core Features & Use Cases
- Native Sign Algorithm Recovery: Precisely reconstruct Bilibili's APP-API
signparameter (MD5 over sorted URL-encoded request params + appSecret streamed as 4 uint32 words) directly from reverse-engineeredlibbili.sonative code, eliminating reliance on stale community resources. - Authentication Flow Replication: Reproduce the full
x-bili-ticketJWT generation (HMAC-SHA256 GenWebTicket) and OAuth2access_key/refresh_tokenrotation flows to maintain valid authenticated sessions for automated tooling. - Native Traffic Capture: Bypass Bilibili's bundled BoringSSL, system proxy ignoring, and anti-Frida detection via Frida native hooks to capture plaintext REST and gRPC traffic directly from
SSL_write/SSL_readcalls. - Worked End-to-End Example: Includes a ready-to-use Python script to post comments via the
/x/v2/reply/addAPI, demonstrating full integration of signing, ticket generation, and request replay. - Use Case: Ideal for security researchers analyzing Bilibili app traffic, developers building automated tools that interact with Bilibili's Android API, or anyone needing to validate or reproduce protected API requests without manual reverse-engineering effort.
Quick Start
Use the bilibili-reverse skill to capture Bilibili app traffic via Frida native hooks, reproduce the sign parameter for a captured request, and replay the request to post a comment to a target video using the provided Python scripts.
Dependency Matrix
Required Modules
Components
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bilibili-reverse Download link: https://github.com/warterbili/AUTO_REVERSE/archive/main.zip#bilibili-reverse Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.