tscircuit@0.0.3028
**Design circuit boards with TypeScript and React.**
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe browser build sends runtime error details and circuit JSON errors to the package's telemetry endpoint by default. Because this telemetry is not disclosed in the inspected package metadata, warn users about it.
Static reason
No blocking static signals were detected.
Trigger
When the browser UI receives error messages or circuit JSON errors.
Impact
Error messages and stacks can reveal details about a user's circuit or project.
Mechanism
The bundle calls PostHog captureException and sends telemetry to postpig.tscircuit.com unless TSCIRCUIT_TELEMETRY_DISABLED is set.
AI rationale
The browser build sends runtime error details and circuit JSON errors to the package's telemetry endpoint by default. Because this telemetry is not disclosed in the inspected package metadata, warn users about it.
Evidence
dist/browser.min.js
Network endpoints1
postpig.tscircuit.com
Decision evidence
public snapshotAI called this Suspicious at 83.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- The browser bundle automatically sends error messages, stacks, and circuit JSON errors to PostHog at postpig.tscircuit.com; telemetry can be disabled with TSCIRCUIT_TELEMETRY_DISABLED.
- The package exposes dist/browser.min.js as its browser export.
Evidence against
- The manifest declares no install lifecycle hooks.
- The main entry point re-exports the circuit SDK and evaluator; the CLI wrapper sets a bundle path and imports @tscircuit/cli.
Behavioral surface
EnvironmentVarsFilesystem
HighEntropyStringsMinifiedUrlStrings
Oversized source lightweight scan
dist/browser.min.js50.8 MB file, sampled 256 KB
Source & flagged code
4 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 unpkgpackage.jsonView file
26"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./browser": "./dist/browser.min.js"
},
"bin": {
"tsci": "cli.mjs",
"tscircuit": "cli.mjs"
},
"devDependencies": {
"@types/bun": "^1.2.16",
Medium
Ai Review Evidence
The package exposes dist/browser.min.js as its browser export.
package.jsonView on unpkg · L26dist/index.jsView file
1
Findings
6 Medium4 Low
MediumEnvironment Vars
MediumOversized Source Filedist/webworker.min.js
MediumStructural Risk Force Deep Review
MediumAi Review Evidencepackage.json
MediumAi Review Evidencedist/index.js
MediumAi Review Evidencecli.mjs
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to tscircuit@0.0.3028.
See all versions of tscircuit for other recorded verdicts.
- Review the evidence and your use of tscircuit@0.0.3028 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.