Reverse engineered API of Chat Smith app on Play Store
This is an unofficial Python script that interfaces with the Chat Smith app's backend (hosted by vulcanlabs.co). It replicates the basic flow of authentication and chatting using the app's API, including token handling and RSA encryption for authorization headers.
The code was originally written quickly for reverse engineering, testing, or educational purposes β not for long-term maintainability or clean architecture.
- Emulates device identity and app headers.
- Retrieves an access token from the Chat Smith API.
- Sends user messages and receives responses from the AI model.
- Supports system prompts and conversation history.
β οΈ This code was written in a rush. It's messy, inefficient, and not production-grade. You've been warned.β οΈ
This project is intended strictly for educational and research purposes. It demonstrates how to reverse engineer a basic API flow and implement encrypted authorization headers using Python.
If you are a representative of Vulcan Labs and wish to have this repository taken down, please open an issue or contact the maintainer. It will be removed without quickly.
This is an unofficial Python script that interfaces with the Chat Smith app's backend (hosted by vulcanlabs.co). It replicates the basic flow of authentication and chatting using the app's API, including token handling and RSA encryption for authorization headers.
The code was originally written quickly with minimal attention to best practices. Do not treat this as a finished or secure implementation.
- Emulates device identity and app headers
- Retrieves an access token from the Chat Smith API
- Sends user messages and receives responses from the AI model
- Supports system prompts and conversation history
- Includes custom RSA encryption logic for secure communication headers
- Code quality is poor: Thrown together rapidly with minimal structure
- Hardcoded public key: The RSA public key is embedded and loosely validated
- Lack of modularity: All logic is in one file
- Error handling is limited: No robust failover or retry logic
- No dependency isolation: No
requirements.txtor virtualenv
- Python 3.7+
- Required libraries:
cryptographyrequests
Install via:
pip install cryptography requests