tdem-electron-sdk@0.4.4
tdem sdk for electron applications
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe package provides Electron monitoring, but renderer startup silently derives an identifying user ID from page cookies and includes it in telemetry. This is undisclosed identity-bearing runtime telemetry, so the package is suspicious rather than malicious.
Decision evidence
public snapshot- Renderer initialization automatically extracts `uin` or `bilive_uin` from `document.cookie` and assigns it to `userId`.
- The event identity envelope includes configured `userId` as `user_id`.
- The renderer bundle contains the default reporting host `https://dem.rumt-zh.com`.
- The README describes the package as an Electron monitoring SDK and documents renderer initialization with an optional `userId`.
- The package’s stated purpose is collecting Electron application monitoring data.
- Collection starts when the application initializes the renderer SDK; no install-time reporting hook is declared.
- Session replay is configured separately in the documented initialization example.
- I found no source showing that the cookie value itself, credentials, or account actions are sent or performed.
Source & flagged code
8 flaggedPackage source references child process execution.
scripts/check-node-sdk-contract.jsView on unpkg · L2Package source references dynamic require/import behavior.
scripts/check-node-sdk-contract.jsView on unpkg · L1Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
lib/tdemelectron-renderer.cjsView on unpkgBrowser source reuses an authenticated session to collect identity data and mutate account settings while reporting externally.
lib/tdemelectron-renderer.mjsView on unpkg · L1This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
lib/tdemelectron-main.cjsView on unpkgSource combines command execution, command-output handling, and outbound requests; review data flow before blocking.
lib/tdemelectron-main.cjsView on unpkg · L13A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
lib/tdemelectron-main.mjsView on unpkg · L13Package ships native binary artifacts.
prebuilds/darwin-x64/tdem-dial.nodeView on unpkgFindings
Affected versions and remediation
This report applies to tdem-electron-sdk@0.4.4.
See all versions of tdem-electron-sdk for other recorded verdicts.
- Review the evidence and your use of tdem-electron-sdk@0.4.4 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.