registry  /  @gepeiyu/smart  /  0.1.6

@gepeiyu/smart@0.1.6

AI Workflow Orchestration — OpenSpec + Superpowers dual-star development pipeline

Static Scan Results

scanned 7d ago · by rust-scanner

Static analysis flagged 14 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
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 32 file(s), 124 KB of source, external domains: 127.0.0.1, registry.npmjs.org

Source & flagged code

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

Package defines install-time lifecycle scripts.

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

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

package.jsonView on unpkg
dist/core/openspec.jsView file
1import { execFileSync } from 'child_process'; L2: import fs from 'fs';
High
Child Process

Package source references child process execution.

dist/core/openspec.jsView on unpkg · L1
dist/commands/update.jsView file
102return new Promise((resolve) => { L103: const child = spawn(getNpmExecutable(), args, { cwd, stdio: jsonMode ? 'ignore' : 'inherit', shell: true }); L104: child.on('error', (err) => { log(` npm package: failed to launch npm — ${err.message}`); resolve(false); });
High
Shell

Package source references shell execution.

dist/commands/update.jsView on unpkg · L102
dist/core/codegraph.jsView file
1import { execFileSync, execSync } from 'child_process'; L2: import path from 'path'; ... L11: export function resolveCodegraphCommand() { L12: const candidates = ['codegraph', 'npx codegraph']; L13: for (const cmd of candidates) {
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/core/codegraph.jsView on unpkg · L1
assets/skills/smart/scripts/smart-env.shView file
path = [redacted]-env.sh kind = build_helper sizeBytes = 2379 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

assets/skills/smart/scripts/smart-env.shView on unpkg

Findings

4 High5 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processdist/core/openspec.js
HighShelldist/commands/update.js
HighRuntime Package Installdist/core/codegraph.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperassets/skills/smart/scripts/smart-env.sh
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings