registry / @twing/cli / 0.2.0
@twing/cli@0.2.0
Static Scan Results
scanned 2mo ago · by rust-scannerStatic analysis completed at 65.0% confidence. No malicious behavior was detected; 8 low-signal pattern(s) were surfaced and cleared.
Static reason
No blocking static signals were detected.
Decision evidence
public snapshotBehavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
Source & flagged code
2 flagged · loading sourcedist/daemon-service.jsView file
23Trigger-reachable persistence chain: manifest.main -> dist/index.js -> dist/init.js -> dist/daemon-service.js
L23: */
L24: import { execFileSync } from "node:child_process";
L25: import * as fs from "node:fs";
...
L30: // (daemon-service.js) once built, mirroring the src/daemon/ layout. Was
L31: // previously resolved via require.resolve("@twing/daemon/package.json")
L32: // back when the daemon was a separate npm package; folded into @twing/cli
...
L37: function daemonLaunchMarkerPath() {
L38: return path.join(os.homedir(), ".twing", "daemon-launch.json");
L39: }
...
L88: try {
L89: execFileSync("launchctl", ["bootstrap", `gui/${uid ?? ""}`, plistPath], { stdio: "ignore" });
L90: }
High
Trigger Reachable Persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/daemon-service.jsView on unpkg · L2323*/
L24: import { execFileSync } from "node:child_process";
L25: import * as fs from "node:fs";
...
L30: // (daemon-service.js) once built, mirroring the src/daemon/ layout. Was
L31: // previously resolved via require.resolve("@twing/daemon/package.json")
L32: // back when the daemon was a separate npm package; folded into @twing/cli
...
L37: function daemonLaunchMarkerPath() {
L38: return path.join(os.homedir(), ".twing", "daemon-launch.json");
L39: }
...
L88: try {
L89: execFileSync("launchctl", ["bootstrap", `gui/${uid ?? ""}`, plistPath], { stdio: "ignore" });
L90: }
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/daemon-service.jsView on unpkg · L23Findings
1 High3 Medium4 Low
HighTrigger Reachable Persistencedist/daemon-service.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencedist/daemon-service.js
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
Affected versions and remediation
This report applies to @twing/cli@0.2.0.
See all versions of @twing/cli for other recorded verdicts.
- Review the evidence and your use of @twing/cli@0.2.0 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.