registry  /  @heart-it/react-brain  /  0.9.0

@heart-it/react-brain@0.9.0

Engineering decisions for React & React Native, with receipts — a continuously verified corpus with doctor (repo analysis), migrate (upgrade plans), review (CI gate), and an MCP server for agents.

Static Scan Results

scanned 1h ago · by rust-scanner

Static analysis completed at 65.0% confidence. No malicious behavior was detected; 11 low-signal pattern(s) were surfaced and cleared.

Static reason
No blocking static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 23 file(s), 313 KB of source, external domains: api.anthropic.com, api.npmjs.org, api.openai.com, archive.org, github.com, raw.githubusercontent.com, registry.npmjs.org

Source & flagged code

3 flagged · loading source
tools/react-brain-bench.mjsView file
109// it is being benchmarked against. L110: import { execFileSync } from 'node:child_process'; L111: import { mkdtempSync } from 'node:fs';
High
Child Process

Package source references child process execution.

tools/react-brain-bench.mjsView on unpkg · L109
tools/react-brain-triage-bench.mjsView file
109async function askAnthropic(prompt) { L110: if (!process.env.ANTHROPIC_API_KEY) { console.error('no ANTHROPIC_API_KEY in env — use --provider=claude-cli (Claude Code subscription) or --candidate=<file> (offline scoring)'); p... L111: const res = await fetch('https://api.anthropic.com/v1/messages', { L112: method: 'POST', ... L121: const scratch = mkdtempSync(join(tmpdir(), 'rb-triage-')); L122: return execFileSync('claude', [ L123: '-p', prompt, '--model', MODEL, '--max-turns', '4', '--strict-mcp-config', // room to recover from a DENIED tool attempt into a text answer
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

tools/react-brain-triage-bench.mjsView on unpkg · L109
tools/local-harvest.shView file
path = tools/local-harvest.sh kind = build_helper sizeBytes = 3595 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

tools/local-harvest.shView on unpkg

Findings

3 High4 Medium4 Low
HighChild Processtools/react-brain-bench.mjs
HighShell
HighSame File Env Network Executiontools/react-brain-triage-bench.mjs
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helpertools/local-harvest.sh
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings