Loading npm security reports…
Loading npm security reports…
@guanlin4924/devflow-pi@0.1.99: Agent extension lifecycle risk | LPM Firewall
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security reviewscanned on Oct 27, 2026, 10:16 UTC · by lpm-firewall-ai The postinstall hook performs a narrow, product-related source modification, but it changes runtime dependency code automatically and permits redirecting its root through an environment variable. This leaves a concrete dependency integrity risk, so a warning is appropriate; the inspected source does not support a malicious verdict.
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
Installing the package with lifecycle scripts enabled.
Impact
Installed OMP behavior is altered, creating a dependency integrity and compatibility risk; no confirmed data theft or broader agent control change was identified.
Mechanism
The hook reads the targeted dependency files, replaces expected source text, and writes the modified files; an environment variable can redirect the package root.
Evidence
package.json 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 warning
package.json runs the hotfix automatically during postinstall. The hook patches two OMP dependency source files under the package root; DEVFLOW_HOTFIX_ROOT can redirect that root. The patch changes OpenCode Go session routing behavior and writes modified source when its expected text is present. The runner connection dispatches only named report, stdio, test-file-change, trace-request, and paused events to listeners. The common process runner sends dispatch events to its parent over Playwright’s internal message channel. Evidence against
The patch is limited to two named OMP provider files and checks for expected source text before replacing it. The inspected patch contains no network transfer or broad agent configuration change. Behavioral surface
Source Child process · Crypto · Environment variables · Filesystem · Network
Supply chain High entropy strings · URL strings
Manifest No license
Scanned 32 files · 748 KB of source
1 external domain referenced
Findings2 critical · 13 high · 5 medium · 6 low Source & flagged code18 flagged High Install time lifecycle scripts
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 similarity
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 crypto
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 execution
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 loader
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.default . (sourceMapPath, )),
node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js View file Critical Trojan source unicode
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 context
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 module
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 helper
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]
plugins/devflow-quality/runtime/playwright/explore-host.mjs#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
plugins/devflow-quality/runtime/playwright/explore-host.mjs#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 1
node_modules/playwright/lib/agents/generateAgents.js View file High Known malware source similarity
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 similarity
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 similarity
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 similarity
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 similarity
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-intel/extensions/devflow-intel.ts View file Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
plugins/devflow-intel/extensions/devflow-intel.ts 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.929
summary = stored previous version shares package body but lacks this dangerous source file
Obfuscated payload loader
Code↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
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 () => {
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);