← Legacy view v2 (rp.*)

xtekky/gpt4free

https://github.com/xtekky/gpt4free · lang: python · LOC: · source: user_submitted

Quality
61.1
Grade C+
Security
66.4
Findings
15
0 critical · 1 high
Status
completed
May 15, 2026 03:47
info: 12 medium: 2 high: 1
Top rules by occurrence
RuleSeverityCount
SEC015 Insecure Randomness for Security medium 4
SEC020 Secret Printed to Logs high 4
SEC016 LLM Prompt Injection — User Input in AI Prompt high 3
SEC013 Path Traversal — User Input in File Path high 1
SEC012 ZipSlip — Archive Path Traversal medium 1
SEC001 Hardcoded Password critical 1
SEC002 Hardcoded API Key critical 1
First 15 findings (severity-sorted)
high SEC013 Path Traversal — User Input in File Path
g4f/tools/files.py:297 · conf 0.80
[SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
medium SEC012 ZipSlip — Archive Path Traversal
g4f/tools/files.py:159 · conf 1.00
[SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation allows writing files outside the target directory.
medium SEC016 LLM Prompt Injection — User Input in AI Prompt
etc/tool/translate_readme.py:42 · conf 0.40
[SEC016] LLM Prompt Injection — User Input in AI Prompt: User-supplied text is interpolated directly into an AI/LLM prompt (e.g. OpenAI, Anthropic, or local model). This is the AI equivalent of SQL i…
info SEC001 Hardcoded Password
g4f/Provider/local/Ollama.py:57 · conf 0.10
[SEC001] Hardcoded Password: Hardcoded password found in source code.
info SEC002 Hardcoded API Key
etc/examples/aibadgr.py:7 · conf 0.15
[SEC002] Hardcoded API Key: Hardcoded API key found in source code.
info SEC015 Insecure Randomness for Security
· conf 0.20
[SEC015] Insecure Randomness for Security (and 10 more): Same pattern found in 10 additional files. Review if needed.
info SEC015 Insecure Randomness for Security
g4f/Provider/hf_space/DeepseekAI_JanusPro7b.py:92 · conf 0.25
[SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. Output is predictable.
info SEC015 Insecure Randomness for Security
g4f/Provider/PollinationsAI.py:370 · conf 0.25
[SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. Output is predictable.
info SEC015 Insecure Randomness for Security
g4f/requests/__init__.py:218 · conf 0.25
[SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. Output is predictable.
info SEC016 LLM Prompt Injection — User Input in AI Prompt
g4f/providers/helper.py:109 · conf 0.10
[SEC016] LLM Prompt Injection — User Input in AI Prompt: User-supplied text is interpolated directly into an AI/LLM prompt (e.g. OpenAI, Anthropic, or local model). This is the AI equivalent of SQL i…
info SEC016 LLM Prompt Injection — User Input in AI Prompt
g4f/tools/web_search.py:47 · conf 0.10
[SEC016] LLM Prompt Injection — User Input in AI Prompt: User-supplied text is interpolated directly into an AI/LLM prompt (e.g. OpenAI, Anthropic, or local model). This is the AI equivalent of SQL i…
info SEC020 Secret Printed to Logs
· conf 0.20
[SEC020] Secret Printed to Logs (and 9 more): Same pattern found in 9 additional files. Review if needed.
info SEC020 Secret Printed to Logs
g4f/Provider/needs_auth/Antigravity.py:798 · conf 0.15
[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for tro…
info SEC020 Secret Printed to Logs
g4f/Provider/qwen/oauthFlow.py:51 · conf 0.15
[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for tro…
info SEC020 Secret Printed to Logs
g4f/Provider/qwen/QwenCode.py:177 · conf 0.15
[SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-bearing value. This is a frequent AI-assisted coding failure: the helper exposes the exact value needed for tro…

Reading from rp.scan + rp.finding + rp.rule (unified schema, R78 series). Legacy data path unchanged. Compare with /scan/00245f64-d50c-4146-ae35-895f3151f1fc/.