tscircuit@0.0.3033
**Design circuit boards with TypeScript and React.**
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe bundled browser UI automatically sends error messages, optional stack traces, and circuit error details to the package's PostHog endpoint. Since the source does not establish disclosure to users, this is suspicious runtime telemetry rather than a confirmed attack.
Static reason
No blocking static signals were detected.
Trigger
The bundled UI receives an error message or circuit JSON errors, unless telemetry is disabled through TSCIRCUIT_TELEMETRY_DISABLED.
Impact
Error details can leave the user's browser and reach the package's telemetry service; the source does not establish that this reporting is disclosed to users.
Mechanism
It calls PostHog captureException with error messages, optional stacks, and circuit error types, using https://postpig.tscircuit.com.
AI rationale
The bundled browser UI automatically sends error messages, optional stack traces, and circuit error details to the package's PostHog endpoint. Since the source does not establish disclosure to users, this is suspicious runtime telemetry rather than a confirmed attack.
Evidence
dist/browser.min.js
Network endpoints1
postpig.tscircuit.com
Decision evidence
public snapshotAI called this Suspicious at 79.0% confidence as Unknown with medium false-positive risk.
Evidence for warning
- The bundled browser UI automatically reports error messages, optional stacks, and circuit JSON error details unless TSCIRCUIT_TELEMETRY_DISABLED is true.
- The bundle initializes PostHog with the endpoint https://postpig.tscircuit.com.
Evidence against
- The package manifest declares no install lifecycle scripts; its scripts are build and maintenance commands.
- The main entry re-exports tscircuit modules and React values.
- The CLI sets a path to the package's bundled browser file before importing @tscircuit/cli.
Behavioral surface
EnvironmentVarsFilesystem
HighEntropyStringsMinifiedUrlStrings
Oversized source lightweight scan
dist/browser.min.js
Source & flagged code
2 flaggeddist/webworker.min.jsView file
•path = dist/webworker.min.js
kind = oversized_source_file
sizeBytes = 18241615
magicHex = [redacted]
Medium
Oversized Source File
Package contains source files above the normal full-analysis size ceiling.
dist/webworker.min.jsView on unpkgdist/index.jsView file
1// index.ts
export * from "@tscircuit/core";
import { jscad } from "@tscircuit/core";
export * from "@tscircuit/eval";
import { Fragment } from "react";
import { kicadFootprintStri
Medium
Ai Review Evidence
The bundle initializes PostHog with the endpoint https://postpig.tscircuit.com.
dist/index.jsView on unpkg · L1Findings
4 Medium4 Low
MediumEnvironment Vars
MediumOversized Source Filedist/webworker.min.js
MediumStructural Risk Force Deep Review
MediumAi Review Evidencedist/index.js
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to tscircuit@0.0.3033.
See all versions of tscircuit for other recorded verdicts.
- Review the evidence and your use of tscircuit@0.0.3033 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.