Skip to content

security: enforce strict HTTPS for auth and update endpoints via Netw… - #3344

Open
Iyyappan-15 wants to merge 2 commits into
recloudstream:masterfrom
Iyyappan-15:security/scoped-network-config
Open

Iyyappan-15 wants to merge 2 commits into
recloudstream:masterfrom
Iyyappan-15:security/scoped-network-config

Conversation

@Iyyappan-15

Copy link
Copy Markdown

…orkSecurityConfig

Introduced network_security_config.xml to enforce strict HTTPS for sensitive endpoints including GitHub API, update channels, and OAuth providers (AniList, MyAnimeList, OpenSubtitles, Trakt, Simkl). Preserved cleartext HTTP in base-config strictly for legacy third-party video streaming host CDNs to guarantee zero playback regressions.

…orkSecurityConfig

Introduced network_security_config.xml to enforce strict HTTPS for sensitive endpoints including GitHub API, update channels, and OAuth providers (AniList, MyAnimeList, OpenSubtitles, Trakt, Simkl). Preserved cleartext HTTP in base-config strictly for legacy third-party video streaming host CDNs to guarantee zero playback regressions.
@fire-light42 fire-light42 added Looks good Nothing looks obviously wrong in this pull request. It just needs to be tested and reviewed. AI Assisted This pull request was AI assisted (or generated). labels Nov 26, 2026

@fire-light42 fire-light42 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To my knowledge this looks less secure than no config. Especially with <certificates src="user" />.

@fire-light42 fire-light42 added Response needed Response from the author of the pull request needed and removed Looks good Nothing looks obviously wrong in this pull request. It just needs to be tested and reviewed. labels Nov 28, 2026
@Iyyappan-15

Copy link
Copy Markdown
Author

Good catch, thank you for pointing that out!

I have removed <certificates src="user" /> from <base-config> in commit 3b8539a so that only <certificates src="system" /> is trusted—matching Android's platform default trust anchors while still enforcing strict HTTPS (cleartextTrafficPermitted="false") on the auth, sync, and update domains.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Assisted This pull request was AI assisted (or generated). Response needed Response from the author of the pull request needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants