← Back to scan
File as GitHub Issue repo: microsoft/generative-ai-for-beginners

Push this scan report to microsoft/generative-ai-for-beginners

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

Server-Side Request Forgery (SSRF) — outbound HTTP from user input

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: `email` used but not imported: The file uses `email.something(… shared/python/input_validation.py:177
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … 09-building-image-applications/python/a…:65
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … 09-building-image-applications/python/a…:46
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … 09-building-image-applications/python/a…:45
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… 09-building-image-applications/python/a…:65
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… 09-building-image-applications/python/a…:46
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… 09-building-image-applications/python/a…:45
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … 08-building-search-applications/scripts…:188
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … 08-building-search-applications/scripts…:120
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … 08-building-search-applications/scripts…:221
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… 05-advanced-prompts/python/aoai-solutio…:43
HIGH MINED115 [MINED115] Action `OSDKDev/lock-issues` pinned to mutable ref `@v1.2`: `uses: OSDKDev/loc… .github/workflows/lock.yml:15
HIGH MINED115 [MINED115] Action `john0isaac/action-check-markdown` pinned to mutable ref `@v1.1.0`: `us… .github/workflows/validate-markdown.yml:90
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/validate-markdown.yml:87
HIGH MINED115 [MINED115] Action `john0isaac/action-check-markdown` pinned to mutable ref `@v1.1.0`: `us… .github/workflows/validate-markdown.yml:75
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/validate-markdown.yml:72
HIGH MINED115 [MINED115] Action `john0isaac/action-check-markdown` pinned to mutable ref `@v1.1.0`: `us… .github/workflows/validate-markdown.yml:59
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/validate-markdown.yml:56
HIGH MINED115 [MINED115] Action `john0isaac/action-check-markdown` pinned to mutable ref `@v1.1.0`: `us… .github/workflows/validate-markdown.yml:43
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/validate-markdown.yml:40
HIGH MINED115 [MINED115] Action `john0isaac/action-check-markdown` pinned to mutable ref `@v1.1.0`: `us… .github/workflows/validate-markdown.yml:27
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/validate-markdown.yml:24
HIGH MINED115 [MINED115] Action `actions/stale` pinned to mutable ref `@v10`: `uses: actions/stale@v10`… .github/workflows/stale.yml:22
HIGH MINED115 [MINED115] Action `pozil/auto-assign-issue` pinned to mutable ref `@v2`: `uses: pozil/aut… .github/workflows/welcome-pr.yml:31
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v9`: `uses: actions/git… .github/workflows/welcome-pr.yml:14
HIGH MINED115 [MINED115] Action `pozil/auto-assign-issue` pinned to mutable ref `@v2`: `uses: pozil/aut… .github/workflows/welcome-issue.yml:31
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v9`: `uses: actions/git… .github/workflows/welcome-issue.yml:14
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… 08-building-search-applications/scripts…:166
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… 08-building-search-applications/scripts…:23
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… 08-building-search-applications/scripts…:63
HIGH CORE_NO_TESTS No test files found
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED COMP001 [COMP001] High cognitive complexity: Function `parse_json_vtt_transcript` has cognitive c… 08-building-search-applications/scripts…:108
MED MINED124 [MINED124] requirements.txt: `requests` has no version pin: Unpinned pip requirement mean… 09-building-image-applications/requirem…:4
MED MINED124 [MINED124] requirements.txt: `pillow` has no version pin: Unpinned pip requirement means … 09-building-image-applications/requirem…:3
MED MINED124 [MINED124] requirements.txt: `openai` has no version pin: Unpinned pip requirement means … 09-building-image-applications/requirem…:2
MED MINED124 [MINED124] requirements.txt: `python-dotenv` has no version pin: Unpinned pip requirement… 09-building-image-applications/requirem…:1
MED MINED124 [MINED124] requirements.txt: `scikit-learn` has no version pin: Unpinned pip requirement … requirements.txt:10
MED MINED124 [MINED124] requirements.txt: `azure-ai-inference` has no version pin: Unpinned pip requir… requirements.txt:9
MED MINED124 [MINED124] requirements.txt: `tiktoken` has no version pin: Unpinned pip requirement mean… requirements.txt:8
LOW COMP001 [COMP001] High cognitive complexity: Function `make_safe_request` has cognitive complexit… shared/python/api_utils.py:15
LOW COMP001 [COMP001] High cognitive complexity: Function `process_queue` has cognitive complexity 10… 08-building-search-applications/scripts…:94
LOW AIC003 Duplicated implementation block across source files 09-building-image-applications/python/a…:2
LOW AIC003 Duplicated implementation block across source files 09-building-image-applications/python/a…:2
LOW AIC003 Duplicated implementation block across source files 08-building-search-applications/scripts…:126
LOW AIC003 Duplicated implementation block across source files 08-building-search-applications/scripts…:45
LOW AIC003 Duplicated implementation block across source files 06-text-generation-apps/python/oai-stud…:7
INFO MINED074 [MINED074] Ai Tell Fake Citation: Plausible-looking but non-existent URLs (e.g., docs.exa… shared/python/api_utils.py:39
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. 09-building-image-applications/python/o…:66
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. 09-building-image-applications/python/o…:21
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. 09-building-image-applications/python/a…:32
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… 09-building-image-applications/python/a…:65
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… 09-building-image-applications/python/a…:46
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… 09-building-image-applications/python/a…:45
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. 06-text-generation-apps/python/aoai-stu…:18
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. 06-text-generation-apps/python/aoai-his…:18
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. 06-text-generation-apps/python/aoai-app…:50
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … 06-text-generation-apps/js-githubmodels…:15
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … 05-advanced-prompts/javascript/solution…:11
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … 05-advanced-prompts/javascript/assignme…:10
Reset to top 5 60 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `microsoft/generative-ai-for-beginners`

**Score: 74/100 (C+)**  ·  60 findings  ·  scanned 2026-06-05 05:42 UTC  ·  3,228 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 30 |
| MEDIUM | 9 |
| LOW | 7 |

📊 [Full filterable report](https://repobility.com/scan/7f3948ef-3a6a-472c-94bb-7de205ab3445/)  ·  ![scorecard](https://repobility.com/scan/7f3948ef-3a6a-472c-94bb-7de205ab3445/report.png?v=1780638166-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `email` used but not imported
   `shared/python/input_validation.py:177` · ✓ Repobility
2. **HIGH** `SEC078` — Python: requests without timeout
   `09-building-image-applications/python/aoai-solution.py:65` · A05:2021 Security Misconfiguration
3. **HIGH** `SEC078` — Python: requests without timeout
   `09-building-image-applications/python/aoai-app.py:46` · A05:2021 Security Misconfiguration
4. **HIGH** `SEC078` — Python: requests without timeout
   `09-building-image-applications/python/aoai-app-variation.py:45` · A05:2021 Security Misconfiguration
5. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `09-building-image-applications/python/aoai-solution.py:65` · A10:2021 SSRF

---

**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/7f3948ef-3a6a-472c-94bb-7de205ab3445/_
Already filed
'microsoft' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Already filed
This repo publishes a SECURITY.md policy and the scan contains 13 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'microsoft/generative-ai-for-beginners' 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.
Already filed
23/67 findings (34%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

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.