Static Scan Results
scanned 10d ago · by rust-scannerStatic analysis flagged 10 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.
Static reason
One or more suspicious static signals were detected.
Decision evidence
public snapshotBehavioral surface
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
Source & flagged code
2 flagged · loading sourcepackage.jsonView file
•scripts.postinstall = echo '
Welcome to Tomo! 🤖
First time? tomo init
Start: tomo start
Upgraded? tomo restart
Help: tomo --help
'
High
Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkgdist/cli/service.jsView file
1import { execFile } from "node:child_process";
L2: import { promisify } from "node:util";
...
L8: export const LAUNCH_AGENT_LABEL = "ai.tomo";
L9: export const LAUNCH_AGENT_PLIST_PATH = join(homedir(), "Library", "LaunchAgents", `${LAUNCH_AGENT_LABEL}.plist`);
L10: const PID_FILE = defaultRuntimePaths.pidFile;
L11: export function isMacOS() {
L12: return process.platform === "darwin";
L13: }
...
L26: // Idempotent: if a previous job is still loaded, bootout first so bootstrap succeeds.
L27: await runLaunchctl(["bootout", `${domain}/${LAUNCH_AGENT_LABEL}`], { ignoreFailure: true });
L28: try {
...
L135: const e = err;
Medium
Install Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/cli/service.jsView on unpkg · L1Findings
1 High4 Medium5 Low
HighInstall Time Lifecycle Scriptspackage.json
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencedist/cli/service.js
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings