@hostinger/mcp@2.17.1
MCP server for Hostinger API
AI Security Review
scanned 21d ago · by lpm-firewall-aiThe runtime permits bearer credentials to be sent to an unrestricted API_BASE_URL override, which creates conditional credential exposure and warrants a warning. The inspected default is Hostinger, and the build script is compilation rather than an install-time attack.
Static reason
One or more suspicious static signals were detected.
Trigger
An operator sets API_BASE_URL to another host and invokes an authenticated API operation.
Impact
The configured recipient could receive the Hostinger API token.
Mechanism
The runtime constructs API URLs from API_BASE_URL and attaches the existing bearer token to requests.
AI rationale
The runtime permits bearer credentials to be sent to an unrestricted API_BASE_URL override, which creates conditional credential exposure and warrants a warning. The inspected default is Hostinger, and the build script is compilation rather than an install-time attack.
Evidence
src/core/runtime.js
Network endpoints1
developers.hostinger.com
Decision evidence
public snapshotAI called this Suspicious at 84.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- The runtime defaults API requests to developers.hostinger.com but accepts API_BASE_URL as an override.
- The runtime obtains an existing access token and attaches it to requests built from that configurable base URL.
- Both upload credential request paths build their URL from the base and send the bearer token.
- The general API operation path also builds its target from the base URL and attaches the bearer token.
- The package scripts shown are start, build, and start:ts; no install lifecycle hook is listed there.
- The flagged build script runs TypeScript compilation.
Evidence against
- The source default targets Hostinger, and the exposure depends on an operator configuring API_BASE_URL to another recipient.
- The inspected build behavior is compilation; no install-time execution or unrelated file mutation was found.
Behavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Source & flagged code
4 flaggedbuild.jsView file
2L3: import { exec } from 'child_process';
L4: import fs from 'fs';
High
18console.log('Compiling TypeScript...');
L19: exec('npx tsc', (error, stdout, stderr) => {
L20: if (error) {
High
Runtime Package Install
Package source invokes a package manager install command at runtime.
build.jsView on unpkg · L1819exec('npx tsc', (error, stdout, stderr) => {
if (error) {
console.error('Error compiling TypeScript:', error);
console.error(stderr);
process.exit(1);
Medium
package.jsonView file
Findings
3 High5 Medium4 Low
HighChild Processbuild.js
HighShell
HighRuntime Package Installbuild.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
MediumSuspicious Lifecycle Evidencepackage.json
MediumAi Review Evidencebuild.js
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to @hostinger/mcp@2.17.1.
See all versions of @hostinger/mcp for other recorded verdicts.
- Review the evidence and your use of @hostinger/mcp@2.17.1 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.