MCP, MCP server
io.github.US1929/switchai
Sito: switchai.it · Mercato: Italia · Stack: React 19 + PHP 8.5 + WebMCP + MCP Server
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit db4ff74e4f52, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
backend/php/inc/db_mysql.php, line 125
$user = $stmt->fetch(); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
backend/php/router.php, line 18
if (preg_match('#^/(inc|data|logs)/#', $path) || str_ends_with($path, '.env')) {
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
backend/php/inc/db_mysql.php, line 125
$user = $stmt->fetch();
backend/php/inc/db_mysql.php, line 133
$user = $stmt->fetch();
backend/php/inc/db_mysql.php, line 172
$key = $stmt->fetch();
Show more
backend/php/inc/db_mysql.php, line 209
$user = $stmt->fetch();
backend/php/inc/db_mysql.php, line 217
$user = $stmt->fetch();
backend/php/inc/db_mysql.php, line 278
$row = $stmt->fetch();
frontend/src/components/MarketSignal.jsx, line 7
fetch('/api/market-indices')
frontend/src/components/Navbar.jsx, line 28
fetch('/api/auth/me', { headers: { 'x-auth-token': token } })
frontend/src/pages/Dashboard.jsx, line 5
'curl', label: 'cURL', code: (key) => `curl -X POST https://www.switchai.it/api/anal
frontend/src/pages/Dashboard.jsx, line 6
{ lang: 'js', label: 'JavaScript (fetch)', code: (key) => `const res = await fetch('https://www.switchai.it/api/analyze', {
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
backend/php/router.php, line 18
if (preg_match('#^/(inc|data|logs)/#', $path) || str_ends_with($path, '.env')) {
backend/php/api/index.php, line 14
// Cerca .env nella stessa cartella di questo file o nelle cartelle superiori
backend/php/api/index.php, line 16
__DIR__ . '/../../.env', // dist/.env
Show more
backend/php/api/index.php, line 17
__DIR__ . '/../.env', // api/.env
backend/php/api/index.php, line 18
__DIR__ . '/.env', // api/index.php/.env
backend/php/api/index.php, line 19
$_SERVER['DOCUMENT_ROOT'] . '/.env',
backend/php/api/index.php, line 30
break; // Usa solo il primo .env trovato
backend/php/inc/db_mysql.php, line 8
* Configurazione via .env:
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit db4ff74e4f52. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: db4ff74e4f521095f998c7473c9c554150812fc8
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.