← Back to scan
File as GitHub Issue repo: programminghistorian/ph-submissions

Push this scan report to programminghistorian/ph-submissions

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
CRIT MINED107 [MINED107] Missing import: `io` used but not imported: The file uses `io.something(...)` … assets/mappingpythonleaflet-tutorial-fi…:27
CRIT MINED107 [MINED107] Missing import: `io` used but not imported: The file uses `io.something(...)` … assets/mappingpythonleaflet-tutorial-fi…:27
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … assets/interactive-data-visualization-d…:131
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … assets/streamlit-para-analise-explorato…:8
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … assets/interactive-data-visualization-d…:13
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … assets/interactive-data-visualization-d…:19
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… assets/interactive-data-visualization-d…:19
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… assets/use-api-almost-without-coding-ph…:4
HIGH CORE_NO_TESTS No test files found
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … assets/interactive-data-visualization-d…:121
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … assets/interactive-data-visualization-d…:75
MED CORE_NO_CI No CI/CD configuration found
LOW COMP001 [COMP001] High cognitive complexity: Function `get_deputies_informations` has cognitive c… assets/streamlit-para-analise-explorato…:13
LOW AIC003 Duplicated implementation block across source files assets/mappingpythonleaflet-tutorial-fi…:1
LOW AIC003 Duplicated implementation block across source files assets/mappingpythonleaflet-exercises/e…:5
LOW CORE_NO_LICENSE No LICENSE file
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… assets/mappingpythonleaflet-exercises/e…:2
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… assets/mappingpythonleaflet-exercises/e…:2
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… assets/mappingpythonleaflet-exercises/e…:3
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… assets/streamlit-para-analise-explorato…:8
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… assets/interactive-data-visualization-d…:13
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… assets/interactive-data-visualization-d…:19
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. assets/interactive-data-visualization-d…:121
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. assets/interactive-data-visualization-d…:75
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. assets/interactive-data-visualization-d…:88
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. assets/interactive-data-visualization-d…:51
Reset to top 5 27 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `programminghistorian/ph-submissions`

**Score: 69/100 (C-)**  ·  27 findings  ·  scanned 2026-06-05 14:13 UTC  ·  2,332 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 7 |
| MEDIUM | 4 |
| LOW | 4 |

📊 [Full filterable report](https://repobility.com/scan/6f7030c9-bf55-4fc2-897b-9ebf768526d1/)  ·  ![scorecard](https://repobility.com/scan/6f7030c9-bf55-4fc2-897b-9ebf768526d1/report.png?v=1780668810-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `io` used but not imported
   `assets/mappingpythonleaflet-tutorial-files/geocoder.py:27` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `io` used but not imported
   `assets/mappingpythonleaflet-tutorial-files/geocoder-helpercolumn.py:27` · ✓ Repobility
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `assets/interactive-data-visualization-dashboard/rq2-download.py:131`
4. **HIGH** `SEC078` — Python: requests without timeout
   `assets/streamlit-para-analise-exploratoria-de-dados/extract.py:8` · A05:2021 Security Misconfiguration
5. **HIGH** `SEC078` — Python: requests without timeout
   `assets/interactive-data-visualization-dashboard/rq2-download.py:13` · 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/6f7030c9-bf55-4fc2-897b-9ebf768526d1/_
Megaproject â high spam risk
Could not determine 'programminghistorian/ph-submissions' 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.