← Back to scan
File as GitHub Issue repo: xtekky/gpt4free

Push this scan report to xtekky/gpt4free

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

Object-level route lacks visible authorization: A route with an object id-like parameter d

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 SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… g4f/tools/files.py:297
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… g4f/gui/server/backend_api.py:644
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… g4f/gui/server/backend_api.py:547
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… g4f/gui/server/backend_api.py:543
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… g4f/gui/server/backend_api.py:393
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… g4f/gui/server/backend_api.py:218
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… g4f/cli/__init__.py:230
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… g4f/providers/asyncio.py:56
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… g4f/providers/tool_support.py:110
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… g4f/tools/files.py:159
MED DKR003 Compose service `gpt4free` image uses the latest tag docker-compose.yml:1
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR002 Compose service `windows` image has no explicit tag projects/windows/docker-compose.yml:2
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR002 Dockerfile base image has no explicit tag docker/Dockerfile:1
MED AIC003 Duplicated implementation block across source files g4f/Provider/qwen/sharedTokenManager.py:22
MED AIC003 Duplicated implementation block across source files g4f/Provider/qwen/qwenOAuth2.py:64
MED AIC003 Duplicated implementation block across source files g4f/Provider/qwen/generate_ua.py:9
MED AIC003 Duplicated implementation block across source files g4f/Provider/qwen/QwenCode.py:166
MED AIC003 Duplicated implementation block across source files g4f/Provider/needs_auth/LMArena.py:62
MED AIC003 Duplicated implementation block across source files g4f/Provider/needs_auth/GithubCopilot.py:22
MED AIC003 Duplicated implementation block across source files g4f/Provider/hf_space/Qwen_Qwen_3.py:54
MED AIC003 Duplicated implementation block across source files g4f/Provider/hf_space/Qwen_Qwen_2_72B.py:41
MED AIC003 Duplicated implementation block across source files g4f/Provider/hf_space/Qwen_Qwen_2_5_Max…:31
MED AIC003 Duplicated implementation block across source files g4f/Provider/hf_space/Microsoft_Phi_4_M…:76
MED AIC003 Duplicated implementation block across source files g4f/Provider/PollinationsImage.py:53
MED AIC003 Duplicated implementation block across source files g4f/Provider/CopilotSession.py:19
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 22.2% of discovered …
MED AUC012 [AUC012] FastAPI interactive docs may be exposed by framework defaults: FastAPI exposes /…
MED DKC005 Compose service adds dangerous Linux capabilities projects/windows/docker-compose.yml:2
MED AGT012 Agent control bridge may listen on a network interface without visible auth g4f/mcp/server.py:21
MED AGT012 Agent control bridge may listen on a network interface without visible auth g4f/cli/__init__.py:45
MED AGT012 Agent control bridge may listen on a network interface without visible auth g4f/Provider/Perplexity.py:9
MED AGT015 Remote install command pipes network code directly to a shell scripts/setup-openclaw.sh:5
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … g4f/gui/server/backend_api.py:547
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … g4f/gui/server/backend_api.py:543
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
LOW WEB005 robots.txt does not advertise a sitemap g4f/Provider/needs_auth/OpenaiChat.py
LOW DKR012 Dockerfile keeps pip download cache docker/Dockerfile:48
LOW DKC010 Compose service lacks no-new-privileges hardening projects/windows/docker-compose.yml:2
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:1
LOW DKC006 Compose service does not declare a runtime user projects/windows/docker-compose.yml:2
Reset to top 5 43 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `xtekky/gpt4free`

**Score: 59/100 (C+)**  ·  57 findings  ·  scanned 2026-05-15 03:47 UTC  ·  54,848 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 6 |
| MEDIUM | 31 |
| LOW | 6 |

📊 [Full filterable report](https://repobility.com/scan/00245f64-d50c-4146-ae35-895f3151f1fc/)  ·  ![scorecard](https://repobility.com/scan/00245f64-d50c-4146-ae35-895f3151f1fc/report.png?v=1778816839-s2)

### Top findings

1. **HIGH** `SEC013` — Path Traversal — User Input in File Path
   `g4f/tools/files.py:297` · A01:2021 Broken Access Control (path traversal)
2. **HIGH** `AUC003` — Object-level route lacks visible authorization: A route with an object id-like parameter d
   `g4f/gui/server/backend_api.py:644` · CWE-639 · API1:2023 Broken Object Level Authorization
3. **HIGH** `AUC003` — Object-level route lacks visible authorization: A route with an object id-like parameter d
   `g4f/gui/server/backend_api.py:547` · CWE-639 · API1:2023 Broken Object Level Authorization
4. **HIGH** `AUC003` — Object-level route lacks visible authorization: A route with an object id-like parameter d
   `g4f/gui/server/backend_api.py:543` · CWE-639 · API1:2023 Broken Object Level Authorization
5. **HIGH** `AUC003` — Object-level route lacks visible authorization: A route with an object id-like parameter d
   `g4f/gui/server/backend_api.py:393` · CWE-639 · API1:2023 Broken Object Level Authorization

---

**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/00245f64-d50c-4146-ae35-895f3151f1fc/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 6 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 'xtekky/gpt4free' 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.