← Back to scan
File as GitHub Issue repo: unslothai/unsloth

Push this scan report to unslothai/unsloth

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

Path Traversal — User Input in File Path

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 SEC016 [SEC016] LLM Prompt Injection — User Input in AI Prompt: User-supplied text is interpolat… unsloth/chat_templates.py:1793
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… unsloth/chat_templates.py:1921
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. unsloth/tokenizer_utils.py:1692
HIGH SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. unsloth/_gpu_init.py:294
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… studio/install_llama_prebuilt.py:853
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. studio/frontend/src/features/chat/runti…:863
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. studio/frontend/src/features/chat/chat-…:1040
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. studio/frontend/src/components/assistan…:579
MED SEC011 [SEC011] Unsafe PyTorch Model Loading: torch.load() uses pickle internally and can execut… unsloth/models/_utils.py:1899
MED SEC011 [SEC011] Unsafe PyTorch Model Loading: torch.load() uses pickle internally and can execut… unsloth/save.py:872
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… scripts/scan_npm_packages.py:1334
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… studio/install_llama_prebuilt.py:970
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… studio/install_python_stack.py:104
MED AIC003 Duplicated implementation block across source files studio/frontend/src/features/onboarding…:143
MED AIC003 Duplicated implementation block across source files studio/frontend/src/features/onboarding…:185
MED AIC003 Duplicated implementation block across source files studio/frontend/src/features/onboarding…:1
MED AIC003 Duplicated implementation block across source files studio/frontend/src/features/onboarding…:122
MED AIC003 Duplicated implementation block across source files studio/frontend/src/features/native-int…:108
MED AIC003 Duplicated implementation block across source files studio/frontend/src/features/chat/api/p…:33
MED AIC003 Duplicated implementation block across source files studio/frontend/src/components/tauri/up…:16
MED AIC003 Duplicated implementation block across source files studio/frontend/src/components/tauri/up…:46
MED AIC003 Duplicated implementation block across source files studio/frontend/src/components/assistan…:13
MED AIC003 Duplicated implementation block across source files studio/frontend/src/components/assistan…:50
MED AIC003 Duplicated implementation block across source files studio/frontend/src/components/assistan…:46
MED AIC003 Duplicated implementation block across source files studio/backend/core/inference/worker.py:623
MED JRN002 Browser storage is used for session token material studio/frontend/src/features/auth/sessi…:45
MED JRN002 Browser storage is used for session token material studio/frontend/src/features/auth/sessi…:44
MED JRN002 Browser storage is used for session token material studio/frontend/src/features/auth/sessi…:35
MED JRN002 Browser storage is used for session token material studio/frontend/src/features/auth/sessi…:30
MED JRN002 Browser storage is used for session token material studio/frontend/src/features/auth/sessi…:25
MED JRN002 Browser storage is used for session token material studio/frontend/src/features/auth/sessi…:20
MED SEC017 [SEC017] Unbounded Input to LLM/External API: User input is passed to an LLM or external … unsloth/chat_templates.py:1793
MED AGT007 localStorage write failures are swallowed silently studio/frontend/src/features/training/h…:26
MED AGT007 localStorage write failures are swallowed silently studio/frontend/src/features/settings/s…:80
MED AGT007 localStorage write failures are swallowed silently studio/frontend/src/features/settings/s…:58
MED AGT007 localStorage write failures are swallowed silently studio/frontend/src/features/chat/store…:78
MED AGT007 localStorage write failures are swallowed silently studio/frontend/src/features/chat/exter…:170
MED AGT007 localStorage write failures are swallowed silently studio/frontend/src/features/chat/chat-…:111
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AGT012 Agent control bridge may listen on a network interface without visible auth install.sh:410
MED AGT015 Remote install command pipes network code directly to a shell studio/frontend/src/features/settings/c…:14
MED AGT015 Remote install command pipes network code directly to a shell README.md:26
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. unsloth/save.py:1137
LOW AIC002 Source file name looks like an AI patch artifact studio/frontend/src/hooks/use-tauri-upd…:1
Reset to top 5 44 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `unslothai/unsloth`

**Score: 62/100 (B-)**  ·  57 findings  ·  scanned 2026-05-15 07:28 UTC  ·  286,768 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 5 |
| MEDIUM | 38 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/098a2aee-fee1-458b-bcaa-d4f661adc5a3/)  ·  ![scorecard](https://repobility.com/scan/098a2aee-fee1-458b-bcaa-d4f661adc5a3/report.png?v=1778830100-s2)

### Top findings

1. **HIGH** `SEC016` — LLM Prompt Injection — User Input in AI Prompt
   `unsloth/chat_templates.py:1793`
2. **HIGH** `SEC020` — Secret Printed to Logs
   `unsloth/chat_templates.py:1921` · A07:2021 Identification & Authentication Failures
3. **HIGH** `SEC005` — Command Injection Risk
   `unsloth/tokenizer_utils.py:1692` · A03:2021 Injection
4. **HIGH** `SEC005` — Command Injection Risk
   `unsloth/_gpu_init.py:294` · A03:2021 Injection
5. **HIGH** `SEC013` — Path Traversal — User Input in File Path
   `studio/install_llama_prebuilt.py:853` · A01:2021 Broken Access Control (path traversal)

---

**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/098a2aee-fee1-458b-bcaa-d4f661adc5a3/_
Megaproject â high spam risk
Could not determine 'unslothai/unsloth' 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.