MCP, MCP server
PWA Debug Layer
Browser-side debug layer that exposes live PWA state (DOM, framework state, stores, events, library popups) to AI agents via MCP — eliminating the human copy/paste loop when debugging web apps with AI.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_HOST_FROM_INPUT OBFUSCATION_ENCODED_BLOB
Why this grade
- NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
examples/react-pwa/public/sw.js, line 50
fetch(req).then((res) => { - OBFUSCATION_ENCODED_BLOB Medium
Contains a long base64 shaped string in a file that should be readable.
packages/host/extension/page-world.js, line 1
var PwaDebugPageWorld = (function (exports) {
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.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
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
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
examples/react-pwa/public/sw.js, line 50
fetch(req).then((res) => {
packages/extension/src/page_bridge/page_dispatch.ts, line 1299
const res = await fetch(input.scriptUrl);
packages/extension/src/page_bridge/page_dispatch.ts, line 1520
const res = await fetch(url);
Show more
packages/extension/src/sourcemap/cache.ts, line 34
((url: string): Promise<Response> => globalThis.fetch(url));
packages/host/src/browser_launch/node_deps.ts, line 80
const res = await fetch(`http://127.0.0.1:${port}/json/version`, {
packages/host/src/browser_launch/node_deps.ts, line 322
const res = await fetch(`http://127.0.0.1:${port}/json/list`, {
packages/host/src/browser_launch/node_deps.ts, line 339
* on error/timeout. Uses Node's global WebSocket (Node >= 22).
packages/host/src/browser_launch/node_deps.ts, line 351
const ws = new WebSocket(wsUrl);
packages/host/src/browser_launch/node_deps.ts, line 483
const res = await fetch(`http://127.0.0.1:${port}/json/version`, {
packages/host/src/browser_launch/node_deps.ts, line 503
* Uses Node's global WebSocket (Node >= 22).
packages/host/src/browser_launch/node_deps.ts, line 515
const ws = new WebSocket(wsUrl);
packages/host/src/browser_launch/node_deps.ts, line 747
const res = await fetch(`http://127.0.0.1:${port}/json/list`, {
examples/popup-pwa/index.html, line 125
fetch('https://invalid.example.invalid/connect').catch(() => {});
packages/host/extension/page-world.js, line 4066
((url) => globalThis.fetch(url));
packages/host/extension/page-world.js, line 9723
const res = await fetch(input.scriptUrl);
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
.gitignore, line 35
.keys/
.gitignore, line 36
.env
.gitignore, line 37
.env.local
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains an encoded blob in a file that should be readable.
OBFUSCATION_ENCODED_BLOB
packages/host/extension/page-world.js, line 1
var PwaDebugPageWorld = (function (exports) {
packages/host/src/mcp/tools/store_get_state.ts, line 1
import { z } from 'zod';
packages/extension/manifest.json, line 5
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqORD1iZOB89zzCoA/bffPsUqxFXaeDCtN7U898HfmCvswf8UmSUTnUNkqtP8xNRY5Hl4MairGQHlMg295rRl+Z53XjjfFBGsoYT/l3DfrDcZPF2/hCRecxovaQSjF2O+
Show more
packages/host/extension/manifest.json, line 5
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqORD1iZOB89zzCoA/bffPsUqxFXaeDCtN7U898HfmCvswf8UmSUTnUNkqtP8xNRY5Hl4MairGQHlMg295rRl+Z53XjjfFBGsoYT/l3DfrDcZPF2/hCRecxovaQSjF2O+
packages/host/extension/page-world.js, line 7364
var WorkerFactory = createBase64WorkerFactory('Lyogcm9sbHVwLXBsdWdpbi13ZWItd29ya2VyLWxvYWRlciAqLwooZnVuY3Rpb24gKCkgewogICAgJ3VzZSBzdHJpY3QnOwoKICAgIC8qISAqKioqKioqKioqKioqKioqKioqK
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 dd5f4e6a6ef9. accepts a host from input, with no fixed list in this file. reads a credential or environment file. contains an encoded blob in a file that should be readable.
Date and source
Date checked:
github.com
Commit graded: dd5f4e6a6ef9d8a49c8b787036f6e22a91878989
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.