registry  /  @weave-framework/cli  /  1.5.0

@weave-framework/cli@1.5.0

Weave CLI — `weave build`, `weave dev` (watch + live-reload), `weave check`, `weave routes`.

Static Scan Results

scanned 4h ago · by rust-scanner

Static analysis flagged 9 finding(s) at 93.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEvalFilesystemNetwork
Supply chain
HighEntropyStrings
ManifestNo manifest risk signals triggered.
scanned 3 file(s), 131 KB of source

Source & flagged code

5 flagged · loading source
dist/cli.jsView file
3901package = @weave-framework/cli; repositoryIdentity = weave; dependency = @weave-framework/mcp L3901: try { L3902: const mcp = await import("@weave-framework/mcp"); L3903: await mcp.runStdioServer();
High
Copied Package Dependency Bridge

Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.

dist/cli.jsView on unpkg · L3901
matchType = previous_version_dangerous_delta matchedPackage = @weave-framework/cli@1.0.12 matchedIdentity = npm:QHdlYXZlLWZyYW1ld29yay9jbGk:1.0.12 similarity = 0.667 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

dist/cli.jsView on unpkg
2584try { L2585: const ops = new Function(`return (${expr});`)(); L2586: if (!Array.isArray(ops)) throw new Error("not an array");
Low
Eval

Package source references a known benign dynamic code generation pattern.

dist/cli.jsView on unpkg · L2584
890"URL", L891: "URLSearchParams" L892: ]); ... L1718: for (let i = 0; i < input.length; i++) { L1719: h ^= input.charCodeAt(i); L1720: h = Math.imul(h, 16777619); ... L2584: try { L2585: const ops = new Function(`return (${expr});`)(); L2586: if (!Array.isArray(ops)) throw new Error("not an array"); ... L2876: request as httpRequest L2877: } from "node:http"; L2878: import { request as httpsRequest } from "node:https";
Low
Weak Crypto

Package source references weak cryptographic algorithms.

dist/cli.jsView on unpkg · L890
bin/weave.mjsView file
32L33: const { main } = await import(pathToFileURL(out).href); L34: await main(process.argv.slice(2));
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bin/weave.mjsView on unpkg · L32

Findings

2 High3 Medium4 Low
HighCopied Package Dependency Bridgedist/cli.js
HighPrevious Version Dangerous Deltadist/cli.js
MediumDynamic Requirebin/weave.mjs
MediumNetwork
MediumStructural Risk Force Deep Review
LowEvaldist/cli.js
LowWeak Cryptodist/cli.js
LowFilesystem
LowHigh Entropy Strings