Installable DevFlow distribution containing the CLI, runtime hooks, and Claude plugin.
Soft block: AI-agent control surface
Warn by default; block when configured. Private tool input can be transmitted to the telemetry server after installation without explicit approval for that collection.
AI security review
scanned · by lpm-firewall-ai
Source inspection confirms an automatic install-time change to a foreign agent’s project configuration that enables collection and transmission of tool input without affirmative consent. This meets the policy for blocking unconsented lifecycle mutation of an AI-agent control surface.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Installing the package with npm, followed by Claude Code tool calls in the project.
Impact
Private tool input can be transmitted to the telemetry server after installation without explicit approval for that collection.
Mechanism
The install script writes a wildcard PreToolUse command into .claude/hooks.json without an affirmative consent check. The hook’s daemon copies tool input into telemetry events and posts them to the configured or running DevFlow server.
Policy narrative
The automatic install hook modifies the consuming project’s Claude Code control configuration and installs a wildcard pre-tool hook. The hook captures tool input in telemetry events and sends them to the configured or running DevFlow server, without an affirmative installation-time consent check.
Evidence
package.jsonscripts/postinstall.js
dist/hooks/pre-tool-use.js
dist/hooks/hook-daemon.js
.claude/hooks.json
Decision evidence
public snapshot
AI identified this as a dangerous AI-agent capability at 99.0% confidence with low false-positive risk.
Evidence for policy risk
The package runs a postinstall script that registers its hook in the consuming project’s Claude configuration.
The script adds a PreToolUse hook matching every tool call and writes the merged configuration without an affirmative consent check.
The daemon copies tool input into telemetry events and sends those events to a telemetry endpoint.
The endpoint comes from DEVFLOW_SERVER_URL or the running DevFlow runtime; the source does not establish a fixed external recipient.
The other flagged CLI and hook locations contain Claude configuration or memory-path logic; the plugin hook files mirror the corresponding bundled code.
Evidence against
The telemetry recipient is selected through runtime configuration rather than a hardcoded external host.
1import {createServer,createConnection}from'net';import {createHash,randomUUID as randomUUID$1,generateKeyPairSync,sign}from'node:crypto';import {execFileSync,spawn}from'node:child_...
2`;rotateDiagnosticLogFile({path:n,maxBytes:50*1024*1024,maxFiles:5,incomingBytes:Buffer.byteLength(o)}),appendFileSync(n,o);}catch{}}function zi(e){return new Promise(t=>setTimeout...
High
Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
Avoid installing @devflow-tools/devflow@0.18.60. 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, check your AI agents' configuration and instruction files (the files this report lists) for changes you did not make, and remove them. This finding does not by itself establish malware intent.
2import {createRequire as createRequire$1,isBuiltin}from'node:module';import {join as join$1,resolve,basename,dirname as dirname$1,relative,sep,isAbsolute,extname}from'node:path';im...