pi-web-ui@0.121.3
Just open your browser to get all your work done — browser cockpit for AI coding agents (chat, code, files, terminal, Git in one tab)
AI security review
scanned · by lpm-firewall-aiA marketplace request sends a GitHub credential from the environment to api.smithery.ai, a host outside GitHub. The credential forwarding is present in the shared request path and is not required to fetch Smithery listings, so this is credential exfiltration.
Decision evidence
public snapshot- The marketplace helper reads PI_WEB_PRESET_TOKEN, GH_TOKEN, or GITHUB_TOKEN from the environment.
- The shared request-header helper attaches that GitHub token as a Bearer token.
- The Smithery marketplace branch sends its request to https://api.smithery.ai/servers using the shared headers.
- The application’s fetchMcpMarket handler calls this helper when the marketplace is requested.
- The credential leak is triggered by a marketplace request, not by package installation or import.
- The postinstall hook’s Windows desktop setup is gated by platform and install conditions and displays an administrator prompt. The metadata-endpoint code rejects such targets rather than accessing them.
- 127.0.0.1
- agentskills.me
- antigravity.google
- api.anthropic.com
- api.deepseek.com
- api.github.com
- api.groq.com
- api.jpush.cn
- api.minimax.cn
- api.minimax.io
- api.mistral.ai
- api.moonshot.cn
- api.openai.com
- api.siliconflow.cn
- api.smithery.ai
- api.x.ai
- api2.cursor.sh
- awesome-dsh-plugin.com
- chat.example.com
- codeload.github.com
- cursor.com
- dashscope-intl.aliyuncs.com
- dashscope.aliyuncs.com
- example.com
- files.invalid
- fonts.googleapis.com
- frippery.org
- generativelanguage.googleapis.com
- ghfast.top
- github.com
- glama.ai
- hub.example.com
- mcp-get.com
- mcp.example.com
- mcp.so
- mcpservers.org
- models.dev
- nodejs.org
- open.bigmodel.cn
- open.feishu.cn
- openrouter.ai
- pi-web-ui.invalid
- raw.githubusercontent.com
- react.dev
- registry.npmjs.org
- schemas.microsoft.com
- smithery.ai
- tailscale.com
- www.agentskills.to
- www.apple.com
Findings
11 high · 10 medium · 6 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
package.json1 high · 1 mediumbin/hub-https.mjs1 highbin/device-hub-cli.mjs#virtual:normalized:round11 high · 1 mediumextensions/webui.ts1 highbin/hub-upgrade.mjs1 high · 1 mediumdist/server/device-center/hub-webhooks.js1 highbin/pi-web-ui.mjs2 highbin/desktop-codec/win32-x64/relink/libvpl.tar.gz1 high · 1 mediumbin/device-hub-cli.mjs#virtual:string-array:round11 highbin/desktop-codec/win32-x64/relink/build-ffmpeg-compat.mjs1 highdist/server/device-center/hub-page.js1 mediumbin/ffmpeg/win32-x64/ffmpeg.exe1 mediumbin/windows-desktop-console.ps11 mediumdist/server/workspace-snapshot.js1 lowShow all 27 findings
package.json2 findingsbin/hub-https.mjs1 findingbin/device-hub-cli.mjs#virtual:normalized:round12 findingsextensions/webui.ts1 findingbin/hub-upgrade.mjs2 findingsdist/server/device-center/hub-webhooks.js1 findingbin/pi-web-ui.mjs2 findingsbin/desktop-codec/win32-x64/relink/libvpl.tar.gz2 findingsbin/device-hub-cli.mjs#virtual:string-array:round11 findingbin/desktop-codec/win32-x64/relink/build-ffmpeg-compat.mjs1 findingdist/server/device-center/hub-page.js1 findingbin/ffmpeg/win32-x64/ffmpeg.exe1 findingbin/windows-desktop-console.ps11 findingdist/server/workspace-snapshot.js1 findingSource & flagged code
19 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgShared scanner record · 2 findings · 1 line
Package contains a possible secret pattern.
dist/server/device-center/hub-page.jsView on unpkg · L13Code excerpt · 3 lines
Code excerpt · 2 lines
Package source references shell execution.
bin/device-hub-cli.mjs#virtual:normalized:round1View on unpkg · L265Code excerpt · 3 lines
Package source references dynamic require/import behavior.
bin/device-hub-cli.mjs#virtual:normalized:round1View on unpkg · L324Code excerpt · 3 lines
Package source references weak cryptographic algorithms.
dist/server/workspace-snapshot.jsView on unpkg · L1Code excerpt · 2 lines
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
bin/hub-upgrade.mjsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
bin/hub-upgrade.mjsView on unpkg · L1Shared code excerpt · 2 findings · 12 lines
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
extensions/webui.tsView on unpkg · L1Code excerpt · 8 lines
Source reaches cloud instance metadata or link-local credential endpoints.
dist/server/device-center/hub-webhooks.jsView on unpkg · L162Code excerpt · 9 lines
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
bin/pi-web-ui.mjsView on unpkg · L1A manifest entrypoint or package-local install chain reaches persistence behavior.
bin/pi-web-ui.mjsView on unpkg · L1Shared code excerpt · 2 findings · 13 lines
Package ships native binary artifacts.
bin/ffmpeg/win32-x64/ffmpeg.exeView on unpkgScanner record · 4 lines
Package ships non-JavaScript build or shell helper files.
bin/windows-desktop-console.ps1View on unpkgScanner record · 4 lines
Package ships high-entropy non-source blobs.
bin/desktop-codec/win32-x64/relink/libvpl.tar.gzView on unpkgScanner record · 4 lines
Package ships compressed or archive-like blobs.
bin/desktop-codec/win32-x64/relink/libvpl.tar.gzView on unpkgScanner record · 4 lines
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
bin/device-hub-cli.mjs#virtual:string-array:round1View on unpkgScanner record · 1 line
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
bin/desktop-codec/win32-x64/relink/build-ffmpeg-compat.mjsView on unpkgScanner record · 5 lines
Affected versions and remediation
This report applies to pi-web-ui@0.121.3.
See all versions of pi-web-ui for other recorded verdicts.
- Avoid installing pi-web-ui@0.121.3. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.