| Version | Supported |
|---|---|
| latest | ✅ |
We take security seriously. If you discover a security vulnerability in VSCodroid, please report it responsibly.
Please DO NOT open a public GitHub issue for security vulnerabilities.
Please report it by email:
- 📧 Email: [email protected]
- 🔒 GitHub Security Advisories: Private vulnerability reporting is also enabled on https://github.com/rmyndharis/VSCodroid, and you can send an email alongside a report filed there so we see it right away.
- Description of the vulnerability
- Steps to reproduce the issue
- Potential impact assessment
- Suggested fix (if any)
| Action | Timeline |
|---|---|
| Acknowledgment | Within 48 hours |
| Initial assessment | Within 1 week |
| Fix development | Depends on severity |
| Public disclosure | After fix is released |
- Critical: Remote code execution, data exfiltration
- High: Privilege escalation, authentication bypass
- Medium: Information disclosure, denial of service
- Low: Minor issues with limited impact
VSCodroid runs code locally on your device. Key security areas:
- Local editor transport: the application reserves
127.0.0.1for the WebView origin throughout its process lifetime, except a port taken only because the usual one was busy at start, which a Stop from the notification gives up.EditorGatewayrelays HTTP and WebSocket traffic to a per-run filesystem socket under app-private storage. Stopping the editor keeps the public port reserved and returns HTTP 503 until a backend is selected - Connection token: the server requires one on every route except
/version,/delay-shutdown,/callbackand/vscodroid-server-proof/<nonce>(ProcessManager.connectionToken). The run-proof endpoint signs a fresh challenge with a private per-run key so the app can authenticate an adopted listener without sending its connection token. The server creates the token on its first start, in app-private storage with mode 0600. The app replaces it before every server start that is not an adoption, and sends it only while its own server reports ready; the WebView URL carries it - Extension host: extensions run in the extension host, which
patches/0004-exthost-as-worker-thread.patchmakes a worker thread inside the server's Node process. It is a fault boundary, not a security sandbox: an extension has the same reach over app-private storage and the network as the app itself - Bundled chat provider: GitHub Copilot Chat ships in the server tree and
product.jsonmakes it the editor's chat provider. Sign-in is what gives it an account, and its chat features are unavailable before that, but once enabled it is not dormant until then: its manifest listsonStartupFinished, so when enabled it activates in the extension host on every start, signed in or not. On a fresh profile it starts disabled, as upstream's chat setup leaves it, and the first chat message, with its sign-in, enables it, so a profile that never used chat never runs it. Whether it sends anything before sign-in has not been established here. After sign-in, prompts and the source it attaches as context go to GitHub.docs/PRIVACY_POLICY.mdis the user-facing statement of this - Google Antigravity: the app holds back the extension's starts of what it keeps in
~/.gemini, beyond its engine's version check, until the person turns on the machine settingvscodroid.antigravity.runEngine, which is off by default and is turned off again on a phone restored from a backup. Only what a start spells out is seen: a program told what to run (sh -c, an interpreter,envin front of the system loader,forkgiven the loader as itsexecPath), a name a shell command builds from a variable or a pattern, or a path that goes through a link and then back up with..gets past it, so it holds back what an extension starts in the usual way and is no barrier against code in the extension host that sets out to run the engine. While it is on, two loopback listeners are open to every app on the phone: the engine's own port, whose page hands out the key its calls need, and the relay the editor server opens on the port the extension chose, which refuses a Host that is not its own and checks no token. - Workspace Trust: VS Code's own is disabled for the editor server, so extensions execute the configuration of any folder that is open. The app asks first: before the editor loads a folder it has not been told to trust, including one picked from the device, it asks once and remembers a yes per folder. A trusted folder still runs its configuration; open only folders whose contents you trust.
- Extension signatures: not verified.
extensions.verifySignatureis writtenfalseinto the machine defaults, because signature checking loads@vscode/vsce-sign, which no Code - OSS build ships. A VSIX is trusted on the HTTPS connection to Open VSX and nothing else, and extension updates install unattended - Storage: settings, secrets, the server tree, the mirrors of folders opened through the Storage Access Framework and, on a new install, the default workspace all live in the app-private directory. An install that already had
projects/undergetExternalFilesDir(null)keeps it there (Environment.getProjectsDir); new installs stopped using that location because shared storage cannot hold a symbolic link, which brokenpm install - Permissions: this repository's
AndroidManifest.xmldeclares four,INTERNET,FOREGROUND_SERVICE,FOREGROUND_SERVICE_SPECIAL_USEandPOST_NOTIFICATIONS. The installed app holds six: the manifest merger addsFOREGROUND_SERVICE_DATA_SYNC(Play Asset Delivery) and the app's own signature-levelDYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION(AndroidX), and a Play listing shows that merged set.scripts/check-permission-claims.pyholds the published list to the manifest that ships
For detailed threat model, security controls, and testing strategy, see the Security Design Document.
We appreciate responsible disclosure and will acknowledge security researchers who report valid vulnerabilities (with your permission).