registry  /  dart-decimate  /  0.0.1

dart-decimate@0.0.1

Rust-native codebase intelligence for Dart and Flutter module graphs.

Static Scan Results

scanned 9d ago · by rust-scanner

Static analysis flagged 9 finding(s) at 72.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.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessEnvironmentVarsFilesystem
Supply chain
UrlStrings
ManifestNo manifest risk signals triggered.
scanned 5 file(s), 7.57 KB of source, external domains: rustup.rs

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
src/security/tests.rsView file
117patternName = generic_password severity = medium line = 117 matchedText = viewMode...'));
Medium
Secret Pattern

Package contains a possible secret pattern.

src/security/tests.rsView on unpkg · L117
npm/bin/dart-decimate-mcp.jsView file
2L3: const { spawnSync } = require("node:child_process"); L4: const fs = require("node:fs"); ... L6: L7: const root = path.resolve(__dirname, "../.."); L8: const exeName = process.platform === "win32" ? "dart-decimate-mcp.exe" : "dart-decimate-mcp"; L9: const cachedBinary = path.join(root, "npm", "bin-cache", exeName); ... L19: L20: const cargo = process.env.CARGO || "cargo"; L21: run(cargo, ["run", "--release", "--locked", "--bin", "dart-decimate-mcp", "--", ...args], root); ... L33: "dart-decimate-mcp: Rust/Cargo is required to build the npm source package. " + L34: "Install Rust from https://rustup.rs or use a release package with a prebuilt binary."
High
Sandbox Evasion Gated Capability

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

npm/bin/dart-decimate-mcp.jsView on unpkg · L2

Findings

2 High4 Medium3 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilitynpm/bin/dart-decimate-mcp.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumSecret Patternsrc/security/tests.rs
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowUrl Strings