registry  /  @calibrate-ds/cli  /  0.1.65

@calibrate-ds/cli@0.1.65

**Calibrate is a local-first design system compiler for design engineers.** It reads your Figma file, builds a structured model of your design system, and uses it to scaffold typed components, design tokens, MDX docs, and AI implementation prompts — all f

Static Scan Results

scanned 11d ago · by rust-scanner

Static analysis flagged 11 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 61 file(s), 584 KB of source, external domains: www.figma.com

Source & flagged code

4 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
2import * as path from "node:path"; L3: import { execSync } from "node:child_process"; L4: import { z } from "zod"; ... L30: try { L31: return JSON.parse(await fs.readFile(path.join(workspaceRoot, "ptb.lock"), "utf-8")); L32: } ... L102: type: "text", L103: 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... L104: }], ... L472: ...(modelComponent.tokenBindings ? { tokenBindings: modelComponent.tokenBindings } : {}), L473: ...(modelComponent.styleMetadata ? { styleMetadata: modelComponent.styleMetadata } : {}), L474: ...(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 · L2
dist/commands/init.jsView file
450console.log(`\n Initializing Storybook...`); L451: const sbInit = spawnSync("npx storybook@latest init --no-dev", { L452: cwd: uiPackageRoot,
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

dist/commands/init.jsView on unpkg · L450

Findings

3 High4 Medium4 Low
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