← Back to scan
File as GitHub Issue repo: ZhiXuanWang/cf-speed-dns

Push this scan report to ZhiXuanWang/cf-speed-dns

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

`self._call_api` used but never assigned in __init__

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 SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … dnspod.py:195
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … dnscf.py:44
HIGH MINED108 `self._call_api` used but never assigned in __init__ dnspod.py:174
HIGH MINED108 `self._call_api` used but never assigned in __init__ dnspod.py:157
HIGH MINED108 `self._call_api` used but never assigned in __init__ dnspod.py:142
HIGH MINED108 `self._get_signature_key` used but never assigned in __init__ dnspod.py:82
HIGH MINED115 Action `aormsby/Fork-Sync-With-Upstream-action` pinned to mutable ref `@v3.4` .github/workflows/sync.yml:28
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/sync.yml:23
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/dns_cf.yml:18
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/dns_cf.yml:16
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/dns_pod.yml:18
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/dns_pod.yml:16
HIGH CORE_NO_TESTS No test files found
MED MINED111 Bare except continues silently dnspod.py:201
MED MINED111 Bare except continues silently dnspod.py:285
MED MINED111 Bare except continues silently dnspod.py:255
MED MINED111 Bare except continues silently dnspod.py:230
MED MINED111 Bare except continues silently dnscf.py:50
MED MINED111 Bare except continues silently dnscf.py:159
MED MINED111 Bare except continues silently dnscf.py:128
MED MINED111 Bare except continues silently dnscf.py:83
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED WEB015 Public web app has no Content Security Policy index.html
LOW COMP001 [COMP001] High cognitive complexity: Function `get_cf_speed_test_ip` has cognitive comple… dnspod.py:182
LOW COMP001 [COMP001] High cognitive complexity: Function `get_dns_records` has cognitive complexity … dnscf.py:57
LOW COMP001 [COMP001] High cognitive complexity: Function `get_cf_speed_test_ip` has cognitive comple… dnscf.py:31
LOW AIC003 Duplicated implementation block across source files dnspod.py:142
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW WEB011 Public web app has no humans.txt humans.txt
LOW CORE_NO_LICENSE No LICENSE file
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… dnspod.py:195
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… dnscf.py:44
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. dnspod.py:269
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. dnscf.py:143
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… dnspod.py:272
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… dnscf.py:146
Reset to top 5 39 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `ZhiXuanWang/cf-speed-dns`

**Score: 72/100 (C-)**  ·  39 findings  ·  scanned 2026-05-31 01:24 UTC  ·  537 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 13 |
| MEDIUM | 11 |
| LOW | 9 |

📊 [Full filterable report](https://repobility.com/scan/2cb101d2-97f8-4a7c-ac78-0e7f30b02851/)  ·  ![scorecard](https://repobility.com/scan/2cb101d2-97f8-4a7c-ac78-0e7f30b02851/report.png?v=1780190669-s2)

### Top findings

1. **HIGH** `SEC078` — Python: requests without timeout
   `dnspod.py:195` · A05:2021 Security Misconfiguration
2. **HIGH** `SEC078` — Python: requests without timeout
   `dnscf.py:44` · A05:2021 Security Misconfiguration
3. **HIGH** `MINED108` — `self._call_api` used but never assigned in __init__
   `dnspod.py:174` · ✓ Repobility
4. **HIGH** `MINED108` — `self._call_api` used but never assigned in __init__
   `dnspod.py:157` · ✓ Repobility
5. **HIGH** `MINED108` — `self._call_api` used but never assigned in __init__
   `dnspod.py:142` · ✓ Repobility

---

**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/2cb101d2-97f8-4a7c-ac78-0e7f30b02851/_
Megaproject â high spam risk
Could not determine 'ZhiXuanWang/cf-speed-dns' 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.