Commit Graph

4 Commits

Author SHA1 Message Date
dollaransh17 0e7219b191 Security Fix: Add timeout parameters to HTTP requests
This fix addresses a critical security vulnerability where HTTP requests
could hang indefinitely, potentially causing denial of service.

Changes:
- Added 10-second timeout to version check API call
- Added 10-second timeout to GitHub pull request API call
- Added 30-second timeout to data file downloads (larger timeout for data)
- Added 10-second timeout to exclusions list download

Impact:
- Prevents infinite hangs that could freeze the application
- Improves user experience with predictable response times
- Fixes security issue flagged by Bandit static analysis (B113)
- Makes the application more robust in poor network conditions

The timeouts are conservative enough to work with slow connections
while preventing indefinite blocking that could be exploited.
2025-10-03 13:41:43 +05:30
Paul Pfeister 8882310450
feat: honor automatic exclusions list 2025-09-15 21:56:54 -04:00
Paul Pfeister d016276478
Update remote uri 2024-07-08 05:51:28 -04:00
Paul Pfeister ca781a3c3b
Rename importable module 2024-06-24 16:40:03 -04:00
Renamed from sherlock/sites.py (Browse further)