Scan report
sinavm / SVM
Could an attacker exploit mistakes in this code?
Serious issues. Review the high-severity findings before using it.
- High
- 16
- Medium
- 6
- Low
- 0
Sources: Bandit, Semgrep, pip-audit
Does this code look like it is trying to cause harm?
No issues of this kind were found.
- High
- 0
- Medium
- 0
- Low
- 0
Sources: YARA, ClamAV, GuardDog, dependency checker
- Likely real
- 15
- Uncertain
- 6
- Likely noise
- 1
The risk classifier rates every finding for how likely it is to be a real issue. Likely noise still counts, just much less.
What we found, in plain English
This repository has a high vulnerability score of 136.0, which means there are several dangerous coding patterns that could let attackers exploit the code if it were used in production. While the malicious-pattern risk is low at 0.0, indicating no obvious signs of intentional harm, the actual security issues found are mostly standard mistakes rather than clever attacks. The most critical issue is that debug logging is turned on, which would leak sensitive information to anyone viewing the site. Another serious problem involves executing commands with user input, a common error where developers forget to sanitize data before running it. Additionally, there is a risk of supply-chain attacks because GitHub Actions steps are using tags or branch names without proper integrity checks. These findings represent ordinary insecure coding practices that should be fixed to make the code safer for real-world use.
Written by a local language model from the findings below. The risk scores come from the classifier, not from this summary.
Detections by engine
Score over time
Overall score each time this repository was scanned.
Findings
Highest severity first. Select a finding to see the code and what it means.
-
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /config-test.php line 13
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /duplicate.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /get.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /hiddifyWarp.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /lite/duplicate.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /lite/sort.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /sort.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /toClashMetaExtra.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /toClashSurfboard.php line 3
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /toSingbox.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /channelsAssets.php line 2
- Likely real
- Yes, 96% confidence
Debug logging is explicitly enabled. This can potentially disclose sensitive information and should never be active on production systems.
ini_set("display_errors", 1); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /config-test.php line 371
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
exec(escapeshellarg($bin) . " check -c " . escapeshellarg($path) . " 2>&1", $check, $code); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /config-test.php line 509
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$verLine = trim((string)shell_exec(escapeshellarg($bin) . " version 2>/dev/null | head -n 1")); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /config-test.php line 86
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
shell_exec($cmd . " 2>/dev/null"); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /config-test.php line 151
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$out = trim((string)shell_exec("lsof -ti tcp:{$port} 2>/dev/null")); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /config-test.php line 308
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$pid = (int)shell_exec($cmd); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/php.yml line 29
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: actions/checkout@v5 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/php.yml line 32
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: shivammathur/setup-php@v2 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/php.yml line 93
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: actions/checkout@v5 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/php.yml line 96
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: shivammathur/setup-php@v2 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /index.html line 12
- Likely real
- Uncertain, 36% confidence
This tag is missing an 'integrity' subresource integrity attribute. The 'integrity' attribute allows for the browser to verify that externally hosted files (for example from a CDN) are delivered without unexpected manipulation. Without this attribute, if an attacker can modify the externally hosted resource, this could lead to XSS and other types of attacks. To prevent this, include the base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch in the 'integrity' attribute for all externally hosted files.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /functions.php line 358
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
is_dir($file) ? deleteFolder($file) : unlink($file);
No findings match these filters.