@taole/dd-playwright@0.1.12
Standalone stdio MCP & CLI: Playwright browser automation + isolated whistle proxy + diandian account storageState injection
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe web console exposes stored account cookies through an unauthenticated endpoint while binding to 0.0.0.0. This is a serious credential disclosure vulnerability, although the source does not show the package itself sending those credentials to an attacker.
Decision evidence
public snapshot- The web console listens on 0.0.0.0, making it reachable through any interface where network controls allow access.
- The unauthenticated GET /api/accounts handler returns account records and the active account.
- Account records include the stored cookieHeader, exposing reusable account session credentials.
- The JSON response sets Access-Control-Allow-Origin: *, allowing cross-origin reads of the unauthenticated endpoint.
- The package has no install, preinstall, or postinstall lifecycle scripts.
- The updater runs npm install only when the user invokes the update command.
- The login flow verifies cookies against the Diandian API that issued them.
Source & flagged code
4 flaggedPackage source invokes a package manager install command at runtime.
src/updater.mjsView on unpkg · L115Findings
Affected versions and remediation
This report applies to @taole/dd-playwright@0.1.12.
See all versions of @taole/dd-playwright for other recorded verdicts.
- Review the evidence and your use of @taole/dd-playwright@0.1.12 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.