← Back to scan
File as GitHub Issue repo: nthack/Shadowrocket-ADBlock-Rules-Easy

Push this scan report to nthack/Shadowrocket-ADBlock-Rules-Easy

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Python: requests without timeout

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… h2y_bak/factory/top500.py:103
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… h2y_bak/factory/ad.py:107
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… factory/ad.py:118
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … h2y_bak/factory/ad.py:38
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … factory/gfwlist.py:34
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … factory/ad.py:44
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… h2y_bak/factory/ad.py:38
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… factory/gfwlist.py:34
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… factory/ad.py:44
HIGH MINED108 `self.praseHTML` used but never assigned in __init__ h2y_bak/factory/top500.py:34
HIGH MINED108 `self.fetchHTML` used but never assigned in __init__ h2y_bak/factory/top500.py:33
HIGH MINED115 Action `stefanzweifel/git-auto-commit-action` pinned to mutable ref `@v4` .github/workflows/main.yml:42
HIGH MINED115 Action `szenius/set-timezone` pinned to mutable ref `@v1.0` .github/workflows/main.yml:29
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v2` .github/workflows/main.yml:28
HIGH CORE_NO_TESTS No test files found
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… h2y_bak/factory/ad.py:107
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… factory/ad.py:118
MED MINED111 Bare except continues silently h2y_bak/factory/top500.py:106
MED MINED111 Bare except continues silently h2y_bak/factory/top500.py:103
MED COMP001 [COMP001] High cognitive complexity: Function `run` has cognitive complexity 19 (SonarSou… h2y_bak/factory/top500.py:86
MED COMP001 [COMP001] High cognitive complexity: Function `getRulesStringFromFile` has cognitive comp… h2y_bak/factory/build_confs.py:22
MED COMP001 [COMP001] High cognitive complexity: Function `getRulesStringFromFile` has cognitive comp… factory/build_confs.py:19
MED MINED124 requirements.txt: `lxml` has no version pin h2y_bak/requirements.txt:3
MED MINED124 requirements.txt: `requests` has no version pin h2y_bak/requirements.txt:2
MED MINED124 requirements.txt: `beautifulsoup4` has no version pin h2y_bak/requirements.txt:1
MED MINED124 requirements.txt: `configparser` has no version pin factory/requirements.txt:4
MED MINED124 requirements.txt: `lxml` has no version pin factory/requirements.txt:3
MED MINED124 requirements.txt: `requests` has no version pin factory/requirements.txt:2
MED MINED124 requirements.txt: `beautifulsoup4` has no version pin factory/requirements.txt:1
MED WEB003 Public web service has no security.txt .well-known/security.txt
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… factory/build_confs.py:109
LOW AIC003 Duplicated implementation block across source files h2y_bak/factory/top500.py:28
LOW AIC003 Duplicated implementation block across source files h2y_bak/factory/gfwlist.py:21
LOW AIC003 Duplicated implementation block across source files h2y_bak/factory/build_confs.py:13
LOW AIC003 Duplicated implementation block across source files h2y_bak/factory/ad.py:27
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… h2y_bak/factory/top500.py:10
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… h2y_bak/factory/ad.py:38
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… factory/gfwlist.py:34
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… factory/ad.py:44
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… h2y_bak/factory/top500.py:131
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… h2y_bak/factory/ad.py:108
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… factory/ad.py:119
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. factory/build_confs.py:20
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. factory/ad.py:115
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. factory/PropFileRW.py:23
Reset to top 5 45 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `nthack/Shadowrocket-ADBlock-Rules-Easy`

**Score: 79/100 (C)**  ·  45 findings  ·  scanned 2026-06-05 18:27 UTC  ·  923 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 15 |
| MEDIUM | 15 |
| LOW | 5 |

📊 [Full filterable report](https://repobility.com/scan/5d06be48-8e49-41bc-9672-e1013ead6d55/)  ·  ![scorecard](https://repobility.com/scan/5d06be48-8e49-41bc-9672-e1013ead6d55/report.png?v=1780684076-s2)

### Top findings

1. **HIGH** `MINED006` — Overcatch Baseexception
   `h2y_bak/factory/top500.py:103` · CWE-705 · ✓ Repobility
2. **HIGH** `MINED001` — Bare Except Pass
   `h2y_bak/factory/ad.py:107` · CWE-755 · ✓ Repobility
3. **HIGH** `MINED001` — Bare Except Pass
   `factory/ad.py:118` · CWE-755 · ✓ Repobility
4. **HIGH** `SEC078` — Python: requests without timeout
   `h2y_bak/factory/ad.py:38` · A05:2021 Security Misconfiguration
5. **HIGH** `SEC078` — Python: requests without timeout
   `factory/gfwlist.py:34` · A05:2021 Security Misconfiguration

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/5d06be48-8e49-41bc-9672-e1013ead6d55/_
Megaproject â high spam risk
Could not determine 'nthack/Shadowrocket-ADBlock-Rules-Easy' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.