← Back to scan
File as GitHub Issue repo: AIMEHS/ehs-hub

Push this scan report to AIMEHS/ehs-hub

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

High cognitive complexity: Function `main` has cognitive complexity 31 (SonarSource scale)

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 generic-api-key Detected a Generic API Key, potentially exposing access to various services and sensitive… index.html:544
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… sw.js:18
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … scripts/scrape_adi.py:62
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… scripts/scrape_adi.py:96
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 31 (SonarSo… scripts/scrape_adi.py:106
HIGH COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 39 (SonarSo… scripts/build_adi_sql.py:19
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… sw.js:34
HIGH CORE_NO_TESTS No test files found
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED MINED111 Bare except continues silently scripts/scrape_adi.py:166
MED MINED111 Bare except continues silently scripts/scrape_adi.py:34
MED MINED111 Bare except continues silently scripts/scrape_adi.py:134
MED COMP001 [COMP001] High cognitive complexity: Function `parse_details` has cognitive complexity 18… scripts/scrape_adi.py:83
MED AGT007 localStorage write failures are swallowed silently index.html:565
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED WEB012 Service worker is present without a web app manifest manifest.json
MED WEB015 Public web app has no Content Security Policy index.html
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/adi-refresh.yml:17
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/no-internal-notes.yml:15
LOW MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/echo-refresh.yml:15
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
Reset to top 5 23 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `AIMEHS/ehs-hub`

**Score: 68/100 (B-)**  ·  23 findings  ·  scanned 2026-06-16 02:51 UTC  ·  433 LOC

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

📊 [Full filterable report](https://repobility.com/scan/f0d86c64-bad2-4394-807e-0ca89494e7bd/)  ·  ![scorecard](https://repobility.com/scan/f0d86c64-bad2-4394-807e-0ca89494e7bd/report.png?v=1781578260-s2)

### Top findings

1. **CRITICAL** `generic-api-key` — Detected a Generic API Key, potentially exposing access to various services and sensitive 
   `index.html:544`
2. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `sw.js:18` · A10:2021 SSRF
3. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `scripts/scrape_adi.py:62`
4. **HIGH** `SEC103` — LDAP injection — non-constant search filter
   `scripts/scrape_adi.py:96` · A03:2021 Injection
5. **HIGH** `COMP001` — High cognitive complexity: Function `main` has cognitive complexity 31 (SonarSource scale)
   `scripts/scrape_adi.py:106`

---

**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/f0d86c64-bad2-4394-807e-0ca89494e7bd/_
Megaproject â high spam risk
Could not determine 'AIMEHS/ehs-hub' 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.