tscircuit@0.0.3064
**Design circuit boards with TypeScript and React.**
AI Security Review
scanned 1d ago · by lpm-firewall-aiThe browser bundle sends runtime telemetry to the package vendor by default, including UI activity and exception details, without disclosure in the README. This warrants a warning rather than a publish block because the behavior is product-related and includes an opt-out flag.
Static reason
No blocking static signals were detected.
Trigger
Loading the ./browser entry in a browser.
Impact
UI activity and error details may be sent to the package vendor without the package README describing the collection.
Mechanism
The bundle initializes PostHog and records browser activity and exceptions, using an anonymous ID or embed domain. A telemetry-disable flag is present.
AI rationale
The browser bundle sends runtime telemetry to the package vendor by default, including UI activity and exception details, without disclosure in the README. This warrants a warning rather than a publish block because the behavior is product-related and includes an opt-out flag.
Evidence
dist/browser.min.js
Network endpoints1
postpig.tscircuit.com
Decision evidence
public snapshotAI called this Suspicious at 82.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
- The package exposes dist/browser.min.js as the ./browser entry point.
- That browser bundle initializes PostHog on load and sends UI activity and exception details to postpig.tscircuit.com, with an anonymous ID or embed domain; a disable flag exists but the README does not disclose this telemetry.
Evidence against
- The package describes itself as an electronics design tool, and the browser bundle’s activity and error reporting relate to that product.
- The package has no install lifecycle hooks; its CLI imports the CLI dependency when the user runs the CLI.
Behavioral surface
EnvironmentVarsFilesystem
HighEntropyStringsMinifiedUrlStrings
Oversized source lightweight scan
Source & flagged code
2 flaggeddist/webworker.min.jsView file
•path = dist/webworker.min.js
kind = oversized_source_file
sizeBytes = 21061824
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"
Medium
Ai Review Evidence
The package exposes dist/browser.min.js as the ./browser entry point.
package.jsonView on unpkg · L26Findings
4 Medium4 Low
MediumEnvironment Vars
MediumOversized Source Filedist/webworker.min.js
MediumStructural Risk Force Deep Review
MediumAi Review Evidencepackage.json
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to tscircuit@0.0.3064.
See all versions of tscircuit for other recorded verdicts.
- Review the evidence and your use of tscircuit@0.0.3064 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.