Loading npm security reports…
Loading npm security reports…
@guanlin4924/devflow-pi@0.1.96: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
25 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 18, 2026, 13:05 UTC · by lpm-firewall-ai The malicious scanner hints resolve to bundled Playwright test-runner and utility code, while the package’s postinstall hook performs a narrowly scoped compatibility patch against its pinned runtime dependency. The inspected source establishes no concrete attack behavior.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Package installation runs the declared postinstall script.
Impact
The change supports session routing for the configured provider; inspected source shows no credential transfer, unrelated agent configuration mutation, or remote payload execution.
Mechanism
The script checks expected source text in two dependency files and replaces matching text to add an OpenCode Go session header.
Evidence
bin/apply-opencode-go-session-hotfix.mjs node_modules/@oh-my-pi/pi-catalog/src/compat/openai.ts node_modules/@oh-my-pi/pi-ai/src/providers/openai-completions.ts
public snapshot
Evidence for AI clean decision
package.json declares a postinstall compatibility hotfix and pins @oh-my-pi/pi-coding-agent to 17.2.7. The hotfix reads two targeted dependency files and applies replacements only when expected source text is present; it throws on an unsupported layout. Flagged Playwright runner excerpts concern test setup, output directory cleanup, and environment comparison during test execution. The agent generator creates project-local .claude files during its initialization routine; the inspected code does not establish install-time activation. Other flagged Playwright paths contain bundled utilities, trace viewer code, channel-session exports, CLI test actions, and matchers. The package’s first-party design and quality tools are registered as tools with write or exec approval; their subprocesses run only when invoked. Behavioral surface
Source Child process · Crypto · Environment variables · Filesystem · Network
Supply chain High entropy strings · URL strings
Manifest No license
Scanned 28 files · 619 KB of source
1 external domain referenced
Findings2 critical · 12 high · 5 medium · 6 low Source & flagged code17 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Install time lifecycle scriptsCleared
Package defines install-time lifecycle scripts.
package.json View on unpkg Scanner record · 1 line scripts.postinstall = node bin/apply-opencode-go-session-hotfix.mjs
node_modules/playwright-core/lib/utilsBundle.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/playwright-core/lib/utilsBundle.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules/playwright-core/lib/utilsBundle.js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
node_modules/playwright-core/lib/utilsBundle.js View on unpkg · L123 Code excerpt · 12 lines 123 var hasFlag = require_has_flag ();
node_modules/playwright/lib/runner/index.js View file High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
node_modules/playwright/lib/runner/index.js View on unpkg · L864 Code excerpt · 9 lines 864 const port = new URL (this ._options.url).port;
865 throw new Error (`${this._options.url ?? ` http://localhost${port ? ":" + port : ""}`} is already used, make sure that nothing is running on the port/url or set reuseExistingServer:t...
866 }
⋯
873 ...DEFAULT_ENVIRONMENT_VARIABLES,
874 ...process.env,
875 ...this ._options.env
⋯
878 stdio: "stdin" ,
node_modules/playwright/lib/common/index.js View file High Obfuscated payload loaderCleared
Source contains an obfuscated payload loader that reconstructs and executes hidden code.
node_modules/playwright/lib/common/index.js View on unpkg · L78 Code excerpt · 12 lines 78 var { calculateSha1 } = require ("playwright-core/lib/coreBundle" ).utils;
79 var cacheDir = process.env.PWTEST_CACHE_DIR || (() => {
80 if (process.platform === "win32" )
81 return import_path.default .join (import_os.default .tmpdir (), `playwright-transform-cache` );
⋯
97 return {
98 map: JSON.parse (import_fs. . (sourceMapPath, )),
node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js View file Critical Trojan source unicodeCleared
Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js View on unpkg · L165 Code excerpt · 2 lines 165 contains invisible/control Unicode U+FEFF (zero width no-break space)
`,this.pos),this.lineEndPos=e),e===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[e-1]===` \r`&&--e,this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buff
node_modules/playwright-core/lib/coreBundle.js View file High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
node_modules/playwright-core/lib/coreBundle.js View on unpkg · L552 Code excerpt · 12 lines Cross-file remote execution chain: node_modules/playwright-core/lib/coreBundle.js spawns node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js; helper contains network access plus dynamic code execution.
552 function truncateDataUrl (url3) {
553 if (!url3.startsWith ("data:" ))
554 return url3;
⋯
647 default :
648 const code = c.charCodeAt (0 );
649 return "\\x" + code. ( ). ( , );
node_modules/playwright-core/lib/webp_codec.wasm View file Medium Ships WASM moduleCleared
Package ships WebAssembly modules.
node_modules/playwright-core/lib/webp_codec.wasm View on unpkg Scanner record · 4 lines path = node_modules/playwright-core/lib/webp_codec.wasm
kind = wasm_module
sizeBytes = 565369
magicHex = [redacted]
plugins/devflow-core/runtime/hooks/post_tool.py View file Medium Ships build helperCleared
Package ships non-JavaScript build or shell helper files.
plugins/devflow-core/runtime/hooks/post_tool.py View on unpkg Scanner record · 4 lines path = plugins/devflow-core/runtime/hooks/post_tool.py
kind = build_helper
sizeBytes = 1285
magicHex = [redacted]
node_modules/playwright/lib/agents/generateAgents.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/playwright/lib/agents/generateAgents.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules[redacted].js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
summary = normalized source hash matched finalized malicious source
node_modules/playwright/lib/cli/testActions.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/playwright/lib/cli/testActions.js View on unpkg Scanner record · 7 lines matchType = token_shingles
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules/playwright/lib/cli/testActions.js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
shingleOverlap = 48
summary = source token shingles overlapped finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
node_modules/playwright/lib/util.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = aws-runtime-bridge@1.9.153
matchedPath = node_modules/playwright/lib/util.js
matchedIdentity = npm:YXdzLXJ1bnRpbWUtYnJpZGdl:1.9.153
similarity = 1.000
summary = normalized source hash matched finalized malicious source
plugins/devflow-design/extensions/devflow-design.ts View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
plugins/devflow-design/extensions/devflow-design.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @guanlin4924/devflow-pi@0.1.82
matchedPath = plugins/devflow-design/extensions/devflow-design.ts
matchedIdentity = npm:QGd1YW5saW40OTI0L2RldmZsb3ctcGk:0.1.82
similarity = 1.000
summary = normalized source hash matched finalized malicious source
plugins/devflow-quality/extensions/devflow-quality.ts View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
plugins/devflow-quality/extensions/devflow-quality.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @guanlin4924/devflow-pi@0.1.82
matchedPath = plugins/devflow-quality/extensions/devflow-quality.ts
matchedIdentity = npm:QGd1YW5saW40OTI0L2RldmZsb3ctcGk:0.1.82
similarity = 1.000
summary = normalized source hash matched finalized malicious source
plugins/devflow-quality/runtime/playwright/runner.spec.mjs View file Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
plugins/devflow-quality/runtime/playwright/runner.spec.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @guanlin4924/devflow-pi@0.1.98
matchedIdentity = npm:QGd1YW5saW40OTI0L2RldmZsb3ctcGk:0.1.98
similarity = 0.982
summary = stored previous version shares package body but lacks this dangerous source file
node_modules/playwright/lib/common/index.js1 finding
Package metadata 8 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
124 var env = process.env;
125 var forceColor = void 0 ;
158 var min = forceColor ? 1 : 0 ;
159 if (process.platform === "win32" ) {
160 var osRelease = os2.release ().split ("." );
207 supportsColor: getSupportLevel,
208 stdout: getSupportLevel (process.stdout),
209 stderr: getSupportLevel (process.stderr)
636 if (typeof theme === "string" ) {
637 console.log ("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the fi...
880 attemptToGracefullyClose: async () => {
default
readFileSync
"utf-8"
362 return import_path2.default .relative (process.cwd (), file2);
376 const packageJsonPath = import_path2.default .join (folderPath, "package.json" );
toString
16
padStart
2
"0"
4090 ["BrowserContext.setNetworkInterceptionPatterns" , { title: "Route requests" , group: "route" }],
4091 ["BrowserContext.[redacted]" , { title: "Route WebSockets" , group: "route" }],
4092 ["BrowserContext.setOffline" , { title: "Set offline mode" , renderParams: ["offline" ] }],
5948 contextEntry.stdio.push (event);