Hamza-Ayed
4894d566a0
Update: 2026-06-24 16:04:53
2026-06-24 16:04:53 +03:00
Hamza-Ayed
3b2c2a86c6
Update: 2026-06-23 18:44:45
2026-06-23 18:44:45 +03:00
Hamza-Ayed
ed6e34cc4b
Update: 2026-06-23 18:36:09
2026-06-23 18:36:09 +03:00
Hamza-Ayed
bb13eb74e8
Update: 2026-06-23 18:32:23
2026-06-23 18:32:23 +03:00
Hamza-Ayed
e4f86c5efd
Update: 2026-06-23 18:27:04
2026-06-23 18:27:04 +03:00
Hamza-Ayed
4043d939f2
Update: 2026-06-23 18:21:54
2026-06-23 18:21:54 +03:00
Hamza-Ayed
f25066140f
Update: 2026-06-23 18:19:33
2026-06-23 18:19:33 +03:00
Hamza-Ayed
c859b8006b
Update: 2026-06-23 18:18:30
2026-06-23 18:18:30 +03:00
Hamza-Ayed
a2f4f5d304
Update: 2026-06-23 18:14:22
2026-06-23 18:14:22 +03:00
Hamza-Ayed
342611a158
Update: 2026-06-23 18:12:45
2026-06-23 18:12:45 +03:00
Hamza-Ayed
2af9859ad8
Update: 2026-06-23 18:08:22
2026-06-23 18:08:22 +03:00
Hamza-Ayed
b60e06b890
Update: 2026-06-23 18:03:42
2026-06-23 18:03:42 +03:00
Hamza-Ayed
b110e03039
Update: 2026-06-23 17:58:46
2026-06-23 17:58:46 +03:00
Hamza-Ayed
eafc04a091
Update: 2026-06-23 17:57:07
2026-06-23 17:57:07 +03:00
Hamza-Ayed
6ad7aceee1
Update: 2026-06-23 17:46:32
2026-06-23 17:46:33 +03:00
Hamza-Ayed
52c4f96976
Update: 2026-06-23 17:42:09
2026-06-23 17:42:09 +03:00
Hamza-Ayed
148ca3af1d
Update: 2026-06-23 17:25:29
2026-06-23 17:25:29 +03:00
Hamza-Ayed
4e2f165d60
Update: 2026-06-23 16:25:59
2026-06-23 16:25:59 +03:00
Hamza-Ayed
c54a8f43fe
Update: 2026-06-23 16:17:20
2026-06-23 16:17:20 +03:00
Hamza-Ayed
bea94ed617
Update: 2026-06-23 15:35:14
2026-06-23 15:35:14 +03:00
Hamza-Ayed
b4d054a870
Update: 2026-06-23 15:21:45
2026-06-23 15:21:45 +03:00
Hamza-Ayed
efe26c95be
Update: 2026-06-22 00:31:28
2026-06-22 00:31:29 +03:00
Hamza-Ayed
e73be65a72
Update: 2026-06-21 18:58:05
2026-06-21 18:58:13 +03:00
Hamza-Ayed
b492b5076b
feat: implement accessibility-based scraper service and standalone worker backend with device registration UI
2026-06-21 15:21:16 +03:00
Hamza-Ayed
ce6f22dc71
Update: 2026-06-21 03:02:56
2026-06-21 03:02:56 +03:00
Hamza-Ayed
2ac086d1fd
Update: 2026-06-21 02:53:01
2026-06-21 02:53:02 +03:00
Hamza-Ayed
b2fae9ec66
Update: 2026-06-21 02:07:00
2026-06-21 02:07:00 +03:00
Hamza-Ayed
af3dcae5b7
Update: 2026-06-19 15:33:32
2026-06-19 15:33:32 +03:00
Hamza-Ayed
017bec86fa
Update: 2026-06-19 14:01:15
2026-06-19 14:01:15 +03:00
Hamza-Ayed
a0495147c4
Update: 2026-06-19 02:01:34
2026-06-19 02:01:34 +03:00
Hamza-Ayed
a003bf78c4
Update: 2026-06-19 01:47:48
2026-06-19 01:47:48 +03:00
Hamza-Ayed
f13faa8c31
Update: 2026-06-18 16:46:30
2026-06-18 16:46:30 +03:00
Hamza-Ayed
8b52d2f115
feat: add Nabeh integration with phone-to-user resolution and environment configuration support
2026-06-18 14:59:24 +03:00
Hamza-Ayed
72fa97477b
Update: 2026-06-17 18:22:52
2026-06-17 18:22:52 +03:00
Hamza-Ayed
b67417eb98
Add Nabeh integration: nabeh/ endpoints with NABEH_API_KEY auth
2026-06-17 18:22:45 +03:00
Hamza-Ayed
c2c4ed22e3
Fix: SSL pinning, root detection, network resilience, and compile errors
...
SSL pinning (all 4 apps): IOClient import, subdomain-safe domain matching
Root detection (all 4 apps): modern Magisk/KernelSU/APatch paths
Security checks (rider/driver/admin): PlatformException -> false
Rider crud: 60s timeout, 3 retries, exponential backoff, JWT pre-validation
Driver crud: exponential backoff for TimeoutException
RxInt compile (rider/driver): 10.obs -> RxInt(10)
Admin device_info: add missing imports, fix RxInt, add package_info_plus
2026-06-17 16:41:02 +03:00
Hamza-Ayed
264e005a7b
fix: PHP syntax errors in upload files and composer config
...
- Fix PHP 8.x string interpolation syntax in upload log calls
- Fix const getenv() -> runtime variable in uploadSyrianDocs.php
- Add composer security advisory ignore for firebase/php-jwt
- Run composer update to sync lock file
2026-06-17 08:41:16 +03:00
Hamza-Ayed
2c56d2f41e
Fix #24 : Flutter generated plugin files + pubspec.lock after crypto dependency addition
2026-06-17 08:19:09 +03:00
Hamza-Ayed
752bbf3a63
Fix #23 : JWT storage consistency across all Flutter apps
...
- siro_admin: added FlutterSecureStorage write alongside GetStorage
- siro_service: added FlutterSecureStorage write in login + guest JWT flows
- siro_rider: added FlutterSecureStorage write in guest + token-refresh flows
(full-credential login already wrote to both)
- siro_driver: already wrote to both (no change needed)
- All apps now write JWT to both GetStorage and FlutterSecureStorage
2026-06-17 08:03:19 +03:00
Hamza-Ayed
a8748cf4c9
Fix #22 : Medium-severity fixes (M-01 through M-07)
...
M-01: Host header injection - replaced HTTP_HOST with APP_DOMAIN
M-02: Unauthenticated CRUD - ownership checks on carDrivers add/delete
M-03: MD5 tracking token - replaced md5() with hash_hmac sha256
M-04: Webhook SMS - absolute log path instead of relative
M-05: Weak 3-digit OTP - already noted as requirement (Fix #5 )
M-06: Redis without auth - added password + prefix to cancel_ride_by_driver
M-07: SSRF bypass - str_ends_with -> strict equality in allowlist
2026-06-17 07:58:21 +03:00
Hamza-Ayed
3543fdd2cd
Fix #21 : High-severity fixes (H-01 through H-06)
...
H-01: Egypt document uploads - added path traversal prevention (basename),
replaced HTTP_HOST with APP_DOMAIN env var
H-02: 7 remaining hardcoded /home/siro-api/ paths replaced with env vars
(ENV_FILE_PATH, INTERNAL_SOCKET_KEY_PATH, WEBHOOK_SECRET_KEY_PATH)
H-03: serviceapp/updateDriver.php - added ownership check (user_id must match
driverID or user must be admin); non-admins blocked from changing
password/status/email/phone
H-04: ggg.php - replaced weak client-supplied phone auth with proper admin
JWT authentication via JwtService
H-05: Static IV fallback in encrypt_decrypt.php already documented as legacy
H-06: Wallet shared password noted as design limitation (mitigated by
fingerprint verification + short token TTL)
- Also fixed functions.php log message (removed hardcoded path)
2026-06-17 07:56:57 +03:00
Hamza-Ayed
50a5308f43
Fix #20 : DDL removal from register.php, CORS policy, secret leak
...
- Removed ALTER TABLE DDL statements from Admin/auth/register.php (belongs in migration scripts)
- Added validated CORS with configurable allowed origins via CORS_ALLOWED_ORIGINS env var
- Removed assignment in load_env.php (secrets no longer exposed in superglobal)
2026-06-17 07:51:01 +03:00
Hamza-Ayed
2d607d9e90
Fix #19 : Plaintext OTP hashing + hardcoded server paths
...
- Changed OTP storage in Admin/auth/login.php from plaintext to sha256 hash
- Updated Admin/auth/verify_login.php to hash user input before comparison
- Replaced hardcoded /home/siro-api/ paths with environment variables:
- ERROR_LOG_PATH, ENV_FILE_PATH, SECRET_KEY_PAY_PATH, SECRET_KEY_PATH
- Falls back to __DIR__-relative paths when env vars are unset
2026-06-17 07:49:46 +03:00
Hamza-Ayed
790d58aaa2
remove temp fix script
2026-06-17 07:48:34 +03:00
Hamza-Ayed
72eeb24cd7
Fix #18 : Exception leak remediation across 87 PHP files
...
- Replaced all client-facing $e->getMessage() with generic error messages
- Added error_log() with filename prefix to all catch blocks
- Covered jsonError(), echo, and json_encode() response patterns
- Also fixed 2 remaining display_errors=1 and add_invoice.php leak
- Script-assisted fix for 75 files, manual fix for 12 remaining edge cases
2026-06-17 07:48:31 +03:00
Hamza-Ayed
e51d266a0f
Fix #17 : SQL injection + mass data exposure (backend)
...
- Fixed SQL injection in ride/license/get.php (interpolated variable → parameterized query)
- Added admin role checks to all 3 mass data endpoints (driver tokens, passenger tokens, phones+tokens)
- Added pagination (50/page) to all 4 mass data endpoints
- Fixed LIMIT to use placeholders with type binding
2026-06-17 07:45:35 +03:00
Hamza-Ayed
f528e1d3c5
Fix #16 : SSL pinning in all 4 Flutter apps
...
- Created ssl_pinning.dart with SHA-256 DER hash pinning for intaleq.xyz and siromove.com
- Replaced http.post/http.get with pinned client in all CRUD classes
- Added crypto dependency to siro_admin and siro_driver pubspec
2026-06-17 07:40:43 +03:00
Hamza-Ayed
0e28814e7d
Fix #15 : PCI-DSS compliance - remove persistent CVV storage from Flutter apps
2026-06-17 07:26:27 +03:00
Hamza-Ayed
16331bd35d
Fix #14 : Remove unused privateKeyFCM (Firebase service account key) from Flutter apps
2026-06-17 07:21:18 +03:00
Hamza-Ayed
623d66a3d8
Fix #13 : Remove hardcoded PII from Flutter apps, enable root detection in siro_admin
2026-06-17 07:13:18 +03:00
Hamza-Ayed
1a9619f9f8
fix(security): fix login AND logic to OR, add signup input validation, separate OTP rate limit keys
2026-06-17 07:05:58 +03:00
Hamza-Ayed
70c06edd71
fix(security): fix host header injection in upload_audio, email header injection, add SSL verify to MTN curl
2026-06-17 06:57:56 +03:00
Hamza-Ayed
75aeb73f27
fix(security): fix openssl_sign key resource in MTN initiate, add google-services.json to gitignore
2026-06-17 06:55:36 +03:00
Hamza-Ayed
1d3ea597f4
fix(security): wallet balance check with FOR UPDATE, remove user-supplied ID in signup, hardcoded IP to env
2026-06-17 06:53:00 +03:00
Hamza-Ayed
3dad979eb5
fix(security): remove JWT role extraction without signature, add OTP replay protection, fix user enumeration
2026-06-17 06:45:53 +03:00
Hamza-Ayed
81376a2245
fix(security): remove SSL bypass + hardcoded creds in face_detect, rider debug CA overrides, fix siro_service manifest
2026-06-17 06:36:26 +03:00
Hamza-Ayed
c82b0071bb
fix(security): wallet race conditions - FOR UPDATE + atomic claims on payments, webhooks, bonuses
2026-06-17 06:34:51 +03:00
Hamza-Ayed
0ceb67ee56
fix(security): fix SQL injection in updatePaymetToPaid, OTP random_int, static IV encryption, storage mismatch
2026-06-17 06:31:13 +03:00
Hamza-Ayed
8c6dea5d96
fix(security): add auth to FCM relay, HMAC to shamcash webhook, fix jwtconnect webhook bypass
2026-06-17 06:27:07 +03:00
Hamza-Ayed
d6f29802e0
fix(security): fix pervasive IDOR - force JWT user identity in 9 endpoints, fix host injection, exception leaks, wallet auth
2026-06-17 06:22:41 +03:00
Hamza-Ayed
4a9e6b22c5
fix(security): add role checks to 7 admin endpoints, fix undefined vars in admin_update_passenger, add input validation to send_whatsapp
2026-06-17 06:19:47 +03:00
Hamza-Ayed
9bbda24d4a
fix(security): add .gitignore, remove PEM keys and debug endpoints from tracking
2026-06-17 06:17:03 +03:00
Hamza-Ayed
28d30e3359
Update: 2026-06-17 03:24:05
2026-06-17 03:24:05 +03:00
Hamza-Ayed
fd30b9f6fa
feat: add generate_study script for automated study content creation
2026-06-16 22:44:47 +03:00
Hamza-Ayed
2c3816badb
Update: 2026-06-16 22:44:11
2026-06-16 22:44:11 +03:00
Hamza-Ayed
b516fbc4ed
Update: 2026-06-16 17:47:17
2026-06-16 17:47:19 +03:00
Hamza-Ayed
49899da6b2
Update: 2026-06-16 04:29:16
2026-06-16 04:29:16 +03:00
Hamza-Ayed
c0fe990ebe
Update: 2026-06-16 02:52:06
2026-06-16 02:52:06 +03:00
Hamza-Ayed
2c657fa0b4
Update: 2026-06-16 02:14:34
2026-06-16 02:14:35 +03:00
Hamza-Ayed
fc58529b09
Update: 2026-06-16 01:17:28
2026-06-16 01:17:29 +03:00
Hamza-Ayed
04943e3d52
Update: 2026-06-15 19:39:21
2026-06-15 19:39:21 +03:00
Hamza-Ayed
c472a78416
Update: 2026-06-15 01:38:09
2026-06-15 01:38:10 +03:00
Hamza-Ayed
2321b78244
Update: 2026-06-15 01:37:40
2026-06-15 01:37:41 +03:00
Hamza-Ayed
f021ba5a35
Update: 2026-06-14 22:10:07
2026-06-14 22:10:08 +03:00
Hamza-Ayed
8e3b9eca4d
Update: 2026-06-14 05:48:58
2026-06-14 05:48:58 +03:00
Hamza-Ayed
2645ed0cf1
Update: 2026-06-14 04:27:17
2026-06-14 04:27:17 +03:00
Hamza-Ayed
55970712cc
Update: 2026-06-13 15:43:50
2026-06-13 15:43:50 +03:00
Hamza-Ayed
bfc530b013
Update: 2026-06-13 01:32:15
2026-06-13 01:32:15 +03:00
Hamza-Ayed
cb1b2d01df
Update: 2026-06-13 00:57:17
2026-06-13 00:57:17 +03:00
Hamza-Ayed
7893b2dc07
Update: 2026-06-13 00:08:00
2026-06-13 00:08:00 +03:00
Hamza-Ayed
0ae368dbc8
Update: 2026-06-12 22:40:40
2026-06-12 22:40:40 +03:00
Hamza-Ayed
f907212c57
Update: 2026-06-12 20:40:40
2026-06-12 20:40:40 +03:00
Hamza-Ayed
305ae01d52
Update: 2026-06-12 01:34:30
2026-06-12 01:34:30 +03:00
Hamza-Ayed
ef6b52d2e3
Update: 2026-06-12 01:23:54
2026-06-12 01:23:54 +03:00
Hamza-Ayed
7049c7468c
Update: 2026-06-11 21:53:27
2026-06-11 21:53:27 +03:00
Hamza-Ayed
b87477bec4
Update: 2026-06-11 19:26:42
2026-06-11 19:26:42 +03:00
Hamza-Ayed
727068b668
Update: 2026-06-11 18:22:57
2026-06-11 18:22:59 +03:00
Hamza-Ayed
c5170a88d2
Update: 2026-06-11 13:47:39
2026-06-11 13:47:40 +03:00
Hamza-Ayed
977adfe99d
Update: 2026-06-10 18:11:50
2026-06-10 18:11:50 +03:00
Hamza-Ayed
a0473a8b0f
Update: 2026-06-10 02:44:54
2026-06-10 02:44:55 +03:00
Hamza-Ayed
9bc7a31c94
Push remaining files and update README
2026-06-09 08:44:23 +03:00
Hamza-Ayed
d8901e1a87
first commit
2026-06-09 08:40:31 +03:00