registry  /  prd-to-flutter  /  0.1.21

prd-to-flutter@0.1.21

为 PRD 原型页面采集 Flutter 还原数据并生成实现计划的 CLI。

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsTelemetry
Manifest
NoLicense
scanned 45 file(s), 400 KB of source

Source & flagged code

4 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/postinstall.mjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/postinstall.mjs
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
bin/p2f.mjsView file
16L17: const mod = await import(pathToFileURL(compiled).href); L18: await mod.main(process.argv.slice(2));
Medium
Dynamic Require

Package source references dynamic require/import behavior.

bin/p2f.mjsView on unpkg · L16
dist/core/prototype-asset-sync.jsView file
matchType = previous_version_dangerous_delta matchedPackage = prd-to-flutter@0.1.20 matchedIdentity = npm:cHJkLXRvLWZsdXR0ZXI:0.1.20 similarity = 0.795 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/core/prototype-asset-sync.jsView on unpkg

Findings

2 High5 Medium6 Low
HighInstall Time Lifecycle Scriptspackage.json
HighPrevious Version Dangerous Deltadist/core/prototype-asset-sync.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumDynamic Requirebin/p2f.mjs
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowTelemetry
LowNo License