registry  /  @lesscap/baton-cli  /  0.5.0

@lesscap/baton-cli@0.5.0

baton CLI — register/run a worker, manage projects/requirements/tasks/sessions

Static Scan Results

scanned 11d ago · by rust-scanner

Static 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 snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 2 file(s), 306 KB of source, external domains: baton.fmap.dev

Source & flagged code

3 flagged · loading source
package.jsonView file
scripts.postinstall = node scripts/postinstall.mjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node scripts/postinstall.mjs
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
dist/baton.mjsView file
51kStatusCode: /* @__PURE__ */ Symbol("status-code"), L52: kWebSocket: /* @__PURE__ */ Symbol("websocket"), L53: NOOP: () => { ... L104: } else { L105: buf = Buffer.from(data); L106: toBuffer.readOnly = false; ... L116: }; L117: if (!process.env.WS_NO_BUFFER_UTIL) { L118: try { ... L168: * L169: * @private L170: */
High
Sandbox Evasion Gated Capability

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

dist/baton.mjsView on unpkg · L51

Findings

2 High4 Medium4 Low
HighInstall Time Lifecycle Scriptspackage.json
HighSandbox Evasion Gated Capabilitydist/baton.mjs
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings