| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…on CVE - Move UMENG/QQ/WeChat AppKey & AppSecret out of configs.gradle into an untracked keys.properties (with template + .gitignore entry) instead of hardcoding them in version control - Harden BrowserView WebView: disable local file access, drop MIXED_CONTENT_ALWAYS_ALLOW to COMPATIBILITY_MODE, and reject SSL cert errors in release builds (was allowing users to bypass via dialog) - Bump gson 2.8.8 -> 2.8.9 to fix CVE-2022-25647 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fixes the three critical issues found in a security scan of the codebase. Scoped to non-breaking changes so CI (./gradlew build aR) still passes.
1. Hardcoded third-party secrets removed from version control (configs.gradle)
The Umeng AppKey and, more importantly, the QQ / WeChat AppSecret values were committed in plaintext. AppSecrets are server-side credentials that should never ship in a client repo. They are now loaded from an untracked keys.properties:
2. WebView hardening (widget/BrowserView.java)
3. Dependency CVE (app/build.gradle)
com.google.code.gson:gson 2.8.8 → 2.8.9, fixing CVE-2022-25647 (deserialization DoS).
Other findings (reported, not changed here)
Link to Devin session: https://app.devin.ai/sessions/2c28a8afb17245e0b0f6abe5ccf13245
Requested by: @nozuonodial