MCP server · Audited from source
Lighthouse MCP server
by priyankark/lighthouse-mcpMIT licenceAudited 6 Oct 2026 · source 997d37e3e9dd
Is it safe? With care — CAUTION, grade B (89/100). It exposes 2 tools: 1 read, 1 write and 0 destructive. The audit recorded 9 findings (0 critical, 1 high, 1 medium, 7 low). Maintainer's description: Allows AI assistants such as Amp/Cline/Cursor/Claude Code/Codex/GitHub Copilot to use Google's lighthouse tool to measure perf metrics for your webpage. You can then run an agentic loop and get the assistants to optimize those metrics!
Cite
Cite this page
ModelsAtlas. “Lighthouse MCP server (priyankark/lighthouse-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/priyankark/lighthouse-1
Trust audit
Audit 0.4.1 · full source read 6 Oct 2026
9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkDeclared3 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS |
L1 Static source | Secrets, path traversal, supply chain | FAIL 9 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
priyankarkUser accountAccount type recorded when we read the repository. - PackagePublished on npm
lighthouse-mcpat version 0.1.17 - LicenceMITFrom the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit read997d37e3e9ddThe audit covers exactly this commit, read on 6 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory2 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (9)
Sorted by severity
HIGHNetwork egressnet.metadata_ip · src/network.ts:25
if (['metadata.google.internal', 'metadata.goog'].includes(hostname)) {- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · src/index.ts:194
chromeFlags: ['--headless', `--proxy-server=http://127.0.0.1:${proxy.port}`,- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:9
for (const ip of ['10.0.0.1', '172.16.0.1', '192.168.1.1', '169.254.169.254', '::ffff:169.254.169.254', 'fc00::1', 'fe80::1', '0.0.0.0', '100.100.100.200', '224.0.0.1']) assert.equal(isAllowedAddress(
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:13
await assert.rejects(resolveTarget('metadata.google.internal.'));- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:29
if (req.url === '/redirect') { res.writeHead(302, { location: 'http://169.254.169.254/latest/meta-data' }); res.end(); }- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.metadata_ip · test/network.test.mjs:42
const socket = net.connect(proxy.port, '127.0.0.1', () => socket.write('CONNECT 169.254.169.254:443 HTTP/1.1\r\nHost: 169.254.169.254:443\r\n\r\n'));- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.raw_ip · test/network.test.mjs:29
if (req.url === '/redirect') { res.writeHead(302, { location: 'http://169.254.169.254/latest/meta-data' }); res.end(); }- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · test/smoke.mjs:22
const blocked = await client.callTool({ name: 'run_audit', arguments: { url: 'http://169.254.169.254/' } });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, chrome-launcher, ipaddr.js, lighthouse, @types/node, typescript
- Why
- 6 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
2 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
run_audit | write | Run a Lighthouse audit on a URL |
get_performance_score | read | Get just the performance score for a URL |
Install
Package version 0.1.17 · audited commit 997d37e
Read the findings first. The most severe is Network egress (high) at src/network.ts.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.1.17. The audit covers commit 997d37e only.
claude mcp add lighthouse-mcp -- npx -y [email protected]
{
"mcpServers": {
"lighthouse-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}The command pins the package version recorded in the source (0.1.17); the audit covers commit 997d37e3e9dd. Transport: stdio. No environment variables required.
Audit history
- !CAUTION B 89 / 100
First audit ·
997d37e3e9dd
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/priyankark/lighthouse-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Lighthouse MCP server
What is the Lighthouse MCP server?
What tools does Lighthouse expose?
Is Lighthouse safe to connect to an agent?
What credentials does Lighthouse need?
How does Lighthouse run?
How current is this page?
Sources
- priyankark/lighthouse-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 997d37e3e9ddObserved · 6 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Lighthouse MCP server?
- What tools does Lighthouse expose?
- Is Lighthouse safe to connect to an agent?