Brave Real Browser — the complete, unedited output of the deterministic mcptrustchecker engine v1.5.0, scanned . Every finding, capability tag and score component below is exactly what the engine produced — no AI, no post-processing.
{
"tool": {
"name": "mcptrustchecker",
"version": "1.5.0",
"methodologyVersion": "mcptrustchecker-1.4"
},
"target": {
"id": "brave-real-browser-mcp-server",
"source": {
"kind": "package",
"origin": "brave-real-browser-mcp-server"
},
"server": {
"name": "brave-real-browser-mcp-server"
}
},
"grade": "F",
"score": {
"score": 44,
"grade": "F",
"band": "F",
"categorySubtotals": {
"injection": 50,
"exfiltration": 0,
"permissions": 0,
"supply-chain": 6.3,
"network": 0,
"hygiene": 0
},
"vector": [
{
"ruleId": "MTC-SRC-004",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 15.4
},
{
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
},
{
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.5,
"appliedPenalty": 3.15
},
{
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.25,
"appliedPenalty": 1.58
},
{
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 0.63
},
{
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 0.63
},
{
"ruleId": "MTC-SRC-009",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 0.63
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 15.4
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.5,
"appliedPenalty": 7.7
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.25,
"appliedPenalty": 3.85
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 1.54
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 1.54
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 1.54
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 1.54
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 1.54
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 1.54
},
{
"ruleId": "MTC-SRC-010",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 0.1,
"appliedPenalty": 1.54
},
{
"ruleId": "MTC-SRC-011",
"category": "injection",
"severity": "high",
"confidence": "strong",
"rawWeight": 22,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 15.4
},
{
"ruleId": "MTC-SUP-010",
"category": "supply-chain",
"severity": "medium",
"confidence": "strong",
"rawWeight": 9,
"confidenceMult": 0.7,
"diminishingFactor": 1,
"appliedPenalty": 6.3
}
],
"gatesFired": [],
"methodologyVersion": "mcptrustchecker-1.4"
},
"capability": {
"level": "high",
"reasons": [
"can send data / act on an external service",
"can execute shell commands or code"
],
"tags": [
"code-exec",
"external-sink"
]
},
"coverage": {
"level": "source",
"inputs": {
"toolSurface": false,
"implementationSource": true,
"packageMetadata": true,
"liveTransport": false
},
"caveats": [
"No tools were enumerated, so prompt-injection, capability and toxic-flow analysis had no tool surface to inspect. To grade a package’s real runtime tools, scan the running server: --command \"npx -y <package>\"."
]
},
"findings": [
{
"ruleId": "MTC-SRC-004",
"title": "Obfuscated / encoded payload in server code (packages/brave-real-playwright-core/lib/zipBundleImpl.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/zipBundleImpl.js:1`): Decoding an encoded blob and executing it is how malicious logic is hidden from human review of the source. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/zipBundleImpl.js"
},
"evidence": "\\xC7\\xFC\\xE9\\xE2\\xE4\\xE0\\xE5\\xE7\\xEA\\xEB\\xE8\\xEF\\xEE\\xEC\\xC4\\xC5\\xC9\\xE6\\xC6\\xF4\\xF6\\xF2\\xFB\\xF9\\xFF\\xD6\\xDC\\xA2\\xA3\\xA5",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-004",
"file": "packages/brave-real-playwright-core/lib/zipBundleImpl.js",
"line": 1
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (lib/ocr-captcha-solver.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`lib/ocr-captcha-solver.js:453`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "lib/ocr-captcha-solver.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "lib/ocr-captcha-solver.js",
"line": 453
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/client/elementHandle.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/elementHandle.js:175`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/elementHandle.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/client/elementHandle.js",
"line": 175
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/client/frame.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/frame.js:203`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/frame.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/client/frame.js",
"line": 203
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/client/locator.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/locator.js:107`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/locator.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/client/locator.js",
"line": 107
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/client/page.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/page.js:235`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/page.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/client/page.js",
"line": 235
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/generated/clockSource.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/generated/clockSource.js:24`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/generated/clockSource.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/generated/clockSource.js",
"line": 24
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js:24`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js",
"line": 24
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js:24`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js",
"line": 24
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (packages/brave-real-playwright-core/lib/server/frames.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/server/frames.js:1250`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/server/frames.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "packages/brave-real-playwright-core/lib/server/frames.js",
"line": 1250
}
},
{
"ruleId": "MTC-SRC-010",
"title": "Dynamic evaluation of a non-literal value (src/mcp/handlers.js)",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`src/mcp/handlers.js:1858`): Evaluating a runtime value as code (rather than a fixed literal) executes whatever reaches it — a direct RCE primitive, and almost never necessary in legitimate code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "src/mcp/handlers.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-010",
"file": "src/mcp/handlers.js",
"line": 1858
}
},
{
"ruleId": "MTC-SRC-011",
"title": "Assembled command execution and dynamic evaluation in the same server",
"category": "injection",
"severity": "high",
"confidence": "strong",
"description": "The implementation builds shell commands out of runtime values AND evaluates runtime values as code. Each is a separate arbitrary-execution primitive; a server exposing both gives anything that reaches either one a direct path to running attacker-chosen code.",
"remediation": "Remove the dynamic eval, and pass command arguments as an argv array instead of building a shell string. If both are genuinely required, constrain and validate every value that can reach them.",
"location": {
"kind": "server",
"name": "implementation"
},
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rules": [
"MTC-SRC-009",
"MTC-SRC-010"
]
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (lib/ocr-captcha-solver.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`lib/ocr-captcha-solver.js:453`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "lib/ocr-captcha-solver.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "lib/ocr-captcha-solver.js",
"line": 453
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/client/elementHandle.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/elementHandle.js:175`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/elementHandle.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/client/elementHandle.js",
"line": 175
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/client/frame.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/frame.js:203`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/frame.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/client/frame.js",
"line": 203
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/client/locator.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/locator.js:107`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/locator.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/client/locator.js",
"line": 107
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/client/page.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/client/page.js:235`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/client/page.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/client/page.js",
"line": 235
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/generated/clockSource.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/generated/clockSource.js:24`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/generated/clockSource.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/generated/clockSource.js",
"line": 24
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js:24`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/generated/injectedScriptSource.js",
"line": 24
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js:24`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/generated/utilityScriptSource.js",
"line": 24
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/server/frames.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/server/frames.js:1250`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/server/frames.js"
},
"evidence": "eval(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/server/frames.js",
"line": 1250
}
},
{
"ruleId": "MTC-SRC-001",
"title": "Dynamic code execution in server code (packages/brave-real-playwright-core/lib/server/javascript.js)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/server/javascript.js:236`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/server/javascript.js"
},
"evidence": "new Function(",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-001",
"file": "packages/brave-real-playwright-core/lib/server/javascript.js",
"line": 236
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/scripts/chrome-launcher-sync.cjs)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/scripts/chrome-launcher-sync.cjs:11`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/scripts/chrome-launcher-sync.cjs"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/scripts/chrome-launcher-sync.cjs",
"line": 11
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/scripts/postinstall.cjs)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/scripts/postinstall.cjs:12`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/scripts/postinstall.cjs"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/scripts/postinstall.cjs",
"line": 12
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/scripts/sync-chrome-launcher.cjs)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/scripts/sync-chrome-launcher.cjs:11`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/scripts/sync-chrome-launcher.cjs"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/scripts/sync-chrome-launcher.cjs",
"line": 11
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/scripts/version-increment.cjs)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/scripts/version-increment.cjs:11`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/scripts/version-increment.cjs"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/scripts/version-increment.cjs",
"line": 11
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/src/brave-finder.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/brave-finder.ts:11`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/brave-finder.ts"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/src/brave-finder.ts",
"line": 11
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/src/brave-installer.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/brave-installer.ts:14`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/brave-installer.ts"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/src/brave-installer.ts",
"line": 14
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/src/brave-launcher.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/brave-launcher.ts:8`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/brave-launcher.ts"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/src/brave-launcher.ts",
"line": 8
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/src/chrome-launcher.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/chrome-launcher.ts:8`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/chrome-launcher.ts"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/src/chrome-launcher.ts",
"line": 8
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/src/utils.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/utils.ts:9`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/utils.ts"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/src/utils.ts",
"line": 9
}
},
{
"ruleId": "MTC-SRC-002",
"title": "Shell/command execution in server code (packages/brave-real-launcher/src/xvfb-support.ts)",
"category": "permissions",
"severity": "high",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/xvfb-support.ts:8`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/xvfb-support.ts"
},
"evidence": "child_process",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-002",
"file": "packages/brave-real-launcher/src/xvfb-support.ts",
"line": 8
}
},
{
"ruleId": "MTC-SRC-003",
"title": "Hardcoded egress to an external endpoint (packages/brave-real-launcher/src/chrome-version.ts)",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/chrome-version.ts:33`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/chrome-version.ts"
},
"evidence": "fetch(\n 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=1'",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-003",
"file": "packages/brave-real-launcher/src/chrome-version.ts",
"line": 33
}
},
{
"ruleId": "MTC-SRC-003",
"title": "Hardcoded egress to an external endpoint (packages/brave-real-puppeteer-core/scripts/chrome-version.js)",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-puppeteer-core/scripts/chrome-version.js:23`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-puppeteer-core/scripts/chrome-version.js"
},
"evidence": "fetch(\n 'https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=1'",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-003",
"file": "packages/brave-real-puppeteer-core/scripts/chrome-version.js",
"line": 23
}
},
{
"ruleId": "MTC-SRC-003",
"title": "Hardcoded egress to an external endpoint (packages/brave-real-puppeteer-core/scripts/proxy-manager.js)",
"category": "exfiltration",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-puppeteer-core/scripts/proxy-manager.js:164`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-puppeteer-core/scripts/proxy-manager.js"
},
"evidence": "fetch('https://httpbin.org/ip'",
"owasp": "LLM02:2025 Sensitive Information Disclosure",
"data": {
"rule": "MTC-SRC-003",
"file": "packages/brave-real-puppeteer-core/scripts/proxy-manager.js",
"line": 164
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (packages/brave-real-launcher/src/brave-finder.ts)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/brave-finder.ts:64`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/brave-finder.ts"
},
"evidence": "execSync(\n `${",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "packages/brave-real-launcher/src/brave-finder.ts",
"line": 64
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (packages/brave-real-launcher/src/brave-installer.ts)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/brave-installer.ts:105`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/brave-installer.ts"
},
"evidence": "execSync(`\"${",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "packages/brave-real-launcher/src/brave-installer.ts",
"line": 105
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (packages/brave-real-launcher/src/brave-launcher.ts)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/brave-launcher.ts:770`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/brave-launcher.ts"
},
"evidence": "spawnSync(\n `taskkill /pid ${",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "packages/brave-real-launcher/src/brave-launcher.ts",
"line": 770
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (packages/brave-real-launcher/src/chrome-launcher.ts)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/chrome-launcher.ts:546`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/chrome-launcher.ts"
},
"evidence": "spawnSync(\n `taskkill /pid ${",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "packages/brave-real-launcher/src/chrome-launcher.ts",
"line": 546
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (packages/brave-real-launcher/src/utils.ts)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-launcher/src/utils.ts:183`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/src/utils.ts"
},
"evidence": "execSync(`xdpyinfo -display ${",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "packages/brave-real-launcher/src/utils.ts",
"line": 183
}
},
{
"ruleId": "MTC-SRC-009",
"title": "Untrusted input concatenated into a command sink (packages/brave-real-playwright-core/lib/server/utils/processLauncher.js)",
"category": "injection",
"severity": "medium",
"confidence": "strong",
"description": "In the server's implementation (`packages/brave-real-playwright-core/lib/server/utils/processLauncher.js:194`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-playwright-core/lib/server/utils/processLauncher.js"
},
"evidence": "spawnSync(`taskkill /pid ${",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-009",
"file": "packages/brave-real-playwright-core/lib/server/utils/processLauncher.js",
"line": 194
}
},
{
"ruleId": "MTC-SRC-005",
"title": "Dynamic module load from a non-literal (packages/brave-real-launcher/scripts/postinstall.cjs)",
"category": "permissions",
"severity": "medium",
"confidence": "heuristic",
"description": "In the server's implementation (`packages/brave-real-launcher/scripts/postinstall.cjs:46`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.",
"remediation": "Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.",
"location": {
"kind": "server",
"name": "packages/brave-real-launcher/scripts/postinstall.cjs"
},
"evidence": "import(fileUrl)",
"owasp": "LLM05:2025 Improper Output Handling",
"data": {
"rule": "MTC-SRC-005",
"file": "packages/brave-real-launcher/scripts/postinstall.cjs",
"line": 46
}
},
{
"ruleId": "MTC-SUP-010",
"title": "Package runs install-time scripts (postinstall)",
"category": "supply-chain",
"severity": "medium",
"confidence": "strong",
"description": "\"brave-real-browser-mcp-server\" executes postinstall script(s) at install time. The large majority of malicious packages abuse install hooks to run code before you ever import them.",
"remediation": "Review the scripts; install with --ignore-scripts where possible and vet what they do.",
"location": {
"kind": "package",
"name": "brave-real-browser-mcp-server"
},
"owasp": "LLM03:2025 Supply Chain",
"references": [
"https://github.com/ossf/package-analysis",
"https://owasp.org/www-project-top-10-ci-cd-security-risks/"
],
"data": {
"scripts": [
"postinstall"
]
}
}
],
"toxicFlows": [],
"capabilities": [],
"surfaceDigest": "6765eafa394fe01f22e45c6bf07dfeaec5dcffd6af0bc59f856fd76633609a56",
"stats": {
"tools": 0,
"prompts": 0,
"resources": 0,
"findingsBySeverity": {
"critical": 0,
"high": 32,
"medium": 11,
"low": 0,
"info": 0
}
}
}