Commit Graph

5 Commits

Author SHA1 Message Date
7609e99076 fix: use constant for cookie value and remove unused import
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:56:14 +08:00
2a883c23f9 fix: address race conditions and add path validation
- Fixed race condition in getProjects() by using Promise.all with proper async/await
- Fixed race condition in getVersions() by using Promise.all with proper async/await
- Fixed race condition in getApks() by ensuring Promise.all wraps the async map
- Added validatePath() helper function to prevent path traversal attacks
- Applied path validation to all file system operations

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:54:07 +08:00
5e00e36e57 feat: add file system utility functions 2026-03-04 01:52:44 +08:00
c4a25fced2 fix: address security concerns in constants (path and credentials)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-04 01:52:02 +08:00
af080cee2a feat: add constants configuration 2026-03-04 01:51:09 +08:00