@hostinger/mcp@2.13.1
MCP server for Hostinger API
AI Security Review
scanned 22d ago · by lpm-firewall-aiThe runtime sends bearer credentials to an operator-configurable API_BASE_URL without destination validation, creating a conditional credential exposure risk. The package’s default destination is Hostinger’s API, and the flagged build command only invokes the compiler when run.
Static reason
One or more suspicious static signals were detected.
Trigger
The operator sets API_BASE_URL to another endpoint and invokes an API operation.
Impact
The configured endpoint can receive a Hostinger API credential and may gain access associated with that credential.
Mechanism
The runtime constructs operation URLs from API_BASE_URL and sends a bearer token without restricting the destination origin.
AI rationale
The runtime sends bearer credentials to an operator-configurable API_BASE_URL without destination validation, creating a conditional credential exposure risk. The package’s default destination is Hostinger’s API, and the flagged build command only invokes the compiler when run.
Evidence
src/core/runtime.js
Network endpoints2
developers.hostinger.comAPI_BASE_URL-configured endpoint
Decision evidence
public snapshotAI called this Suspicious at 87.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- The manifest exposes start and build scripts, with no install lifecycle hook listed.
- The build script runs the TypeScript compiler when invoked.
- API_BASE_URL can replace the default Hostinger API endpoint without an origin restriction.
- The runtime builds operation URLs from that base URL and sends bearer credentials with API requests.
- The OAuth helper accepts Hostinger API tokens from environment variables; the runtime’s credential transport excerpts also show API requests being sent.
Evidence against
- The default API endpoint is Hostinger’s developer API.
- Requests are made through the operation execution path, and the build command is separate from package installation.
Behavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsMinifiedUrlStrings
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 · L1817// Run TypeScript compiler
console.log('Compiling TypeScript...');
exec('npx tsc', (error, stdout, stderr) => {
if (error) {
console.error('Error compiling TypeScript:', error);
console.error(stderr);
Medium
Ai Review Evidence
The build script runs the TypeScript compiler when invoked.
build.jsView on unpkg · L17package.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.13.1.
See all versions of @hostinger/mcp for other recorded verdicts.
- Review the evidence and your use of @hostinger/mcp@2.13.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.