registry  /  @calibrate-ds/cli  /  0.1.79

@calibrate-ds/cli@0.1.79

⚠ Under review

Calibrate — local-first design system compiler. Reads Figma files, normalizes them into a typed DesignSystemModel, and generates React components, design tokens, and AI-ready implementation prompts via MCP.

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 12 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 63 file(s), 622 KB of source, external domains: us.i.posthog.com, www.figma.com

Source & flagged code

5 flagged · loading source
dist/utils/storybook-setup.jsView file
3import { stdin as input, stdout as output } from "node:process"; L4: import { spawnSync } from "node:child_process"; L5: import * as path from "node:path";
High
Child Process

Package source references child process execution.

dist/utils/storybook-setup.jsView on unpkg · L3
116stdio: "inherit", L117: shell: true, L118: });
High
Shell

Package source references shell execution.

dist/utils/storybook-setup.jsView on unpkg · L116
dist/mcp/tools/action-tools.jsView file
21try { L22: return JSON.parse(await fs.readFile(path.join(workspaceRoot, "ptb.lock"), "utf-8")); L23: } ... L93: type: "text", L94: text: `${tokenEnv} is not set.\n\nThe easiest fix — run this once in any terminal:\n\n ptb token set <your-figma-token>\n\nThis stores the token in ~/.config/calibrate-ds/credenti... L95: }], ... L516: ...(modelComponent.tokenBindings ? { tokenBindings: modelComponent.tokenBindings } : {}), L517: ...(modelComponent.styleMetadata ? { styleMetadata: modelComponent.styleMetadata } : {}), L518: ...(modelComponent.layout ? { layout: modelComponent.layout } : {}),
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

dist/mcp/tools/action-tools.jsView on unpkg · L21
dist/commands/init.jsView file
matchType = previous_version_dangerous_delta matchedPackage = @calibrate-ds/cli@0.1.70 matchedIdentity = npm:QGNhbGlicmF0ZS1kcy9jbGk:0.1.70 similarity = 0.825 summary = stored previous version shares package body but lacks this dangerous source file
Critical
Previous Version Dangerous Delta

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

dist/commands/init.jsView on unpkg
456console.log(`\n Initializing Storybook...`); L457: const sbInit = spawnSync("npx storybook@latest init --no-dev", { L458: cwd: uiPackageRoot,
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/commands/init.jsView on unpkg · L456

Findings

1 Critical3 High4 Medium4 Low
CriticalPrevious Version Dangerous Deltadist/commands/init.js
HighChild Processdist/utils/storybook-setup.js
HighShelldist/utils/storybook-setup.js
HighRuntime Package Installdist/commands/init.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencedist/mcp/tools/action-tools.js
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings