registry  /  @s-gw/s-gw  /  0.1.9

@s-gw/s-gw@0.1.9

Local credential control for AI coding agents.

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 14 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
HighEntropyStringsMinifiedProtestwareUrlStrings
ManifestNo manifest risk signals triggered.
scanned 28 file(s), 1.42 MB of source, external domains: 127.0.0.1, api.github.com, github.com, opencode.ai, react.dev, www.apple.com, www.w3.org

Source & flagged code

5 flagged · loading source
dist/console-server.jsView file
902patternName = generic_password severity = medium line = 902 matchedText = onepassw...rd",
Medium
Secret Pattern

Package contains a possible secret pattern.

dist/console-server.jsView on unpkg · L902
dist/install.jsView file
1import { spawn, spawnSync } from "node:child_process"; L2: import { createHash } from "node:crypto"; ... L14: const packageRoot = path.basename(here) === "dist" ? path.dirname(here) : path.dirname(here); L15: const nativeTarget = `${process.platform}-${process.arch}`; L16: const packagedMacAppPath = path.join(packageRoot, "dist", "s-gw.app"); ... L146: requireMac("macOS app stop"); L147: if (process.env.SGW_SKIP_APP_STOP === "1") L148: return undefined; ... L164: if (result.status !== 0) { L165: throw new Error(result.stderr.trim() || "Could not close the running s-gw macOS app."); L166: } L167: const parsed = JSON.parse(result.stdout.trim() || "[]");
Medium
Install Persistence

Source writes installer persistence such as shell profile or service configuration.

dist/install.jsView on unpkg · L1
dist/native/darwin-arm64/s-gw-coreView file
path = dist/native/darwin-arm64/s-gw-core kind = native_binary sizeBytes = 495392 magicHex = [redacted]
Medium
Ships Native Binary

Package ships native binary artifacts.

dist/native/darwin-arm64/s-gw-coreView on unpkg
dist/windows/s-gw-client.ps1View file
path = dist/windows/s-gw-client.ps1 kind = build_helper sizeBytes = 2736 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

dist/windows/s-gw-client.ps1View on unpkg
dist/console-ui/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2View file
path = dist/console-ui/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2 kind = high_entropy_blob sizeBytes = 15084 magicHex = [redacted]
High
Ships High Entropy Blob

Package ships high-entropy non-source blobs.

dist/console-ui/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2View on unpkg

Findings

1 High8 Medium5 Low
HighShips High Entropy Blobdist/console-ui/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2
MediumSecret Patterndist/console-server.js
MediumNetwork
MediumEnvironment Vars
MediumInstall Persistencedist/install.js
MediumProtestware
MediumShips Native Binarydist/native/darwin-arm64/s-gw-core
MediumShips Build Helperdist/windows/s-gw-client.ps1
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings