Check UID of the socket connection
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Because the sockets are created in the abstract namespace, anyone could create them or connect to them.
With the recent vulnerabilities in Termux maybe it would be good to add a UID check and only allow Termux and root to connect, the same on the termux-api-package side.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the abstract-namespace socket creation and connection checks in the Java Android implementation, then inspect the corresponding termux-api-package side. Define how UID checks should permit Termux and root, and verify that unauthorized users cannot create or connect to the sockets on both sides.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, networking, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100