Loading npm security reports…
Loading npm security reports…
peachsim@0.1.2520: Policy block – npm package blocked | LPM Firewall
Blocked by LPM policy
Peach’s service receives a credential belonging to GitHub and may be able to act within the token’s granted repository permissions.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security reviewscanned on Nov 22, 2026, 11:26 UTC · by lpm-firewall-ai Cloud testing automatically forwards a GitHub Actions token to the package publisher’s service. The code is visible and the cloud command is user-invoked, but the credential belongs to another service and the command does not specifically ask the user to send that credential to Peach; this meets the credential-exfiltration block rule.
Static reason
One or more suspicious static signals were detected.
Trigger
The user runs peach test with --cloud or --hosted, or invokes cloud-test cancellation with --cancel.
Mechanism
The CLI resolves GITHUB_TOKEN or CONTRAST_INSTALLATION_TOKEN from the environment, converts the credential to a Bearer authorization value, and sends it in a POST to the cloud test API. The default service origin is peachsim.com.
Attack narrative
When cloud test mode or cancellation is explicitly invoked, the CLI automatically resolves a GitHub Actions token from the environment and sends it as a Bearer credential to Peach’s cloud API. The request defaults to peachsim.com. This credential transfer is plainly part of the cloud feature, so it is a dangerous capability rather than concealed credential theft.
Evidence
cli/auth.ts cli/commands/test.ts cli/commands/upload.ts src/public-brand.ts
peachsim.com /api/sootsim/runner/jobs
Decision evidencepublic snapshot Evidence for block
Cloud auth automatically reads CONTRAST_INSTALLATION_TOKEN or GITHUB_TOKEN from the environment and uses the value as a GitHub credential when a repository slug is present. Cloud test submissions send authHeaderValue(auth) as the Authorization header in a POST to /api/sootsim/runner/jobs. The default upload origin is the package’s Peach service, https://peachsim.com; PEACH_UPLOAD_ORIGIN can override it. The cloud-test path is selected by explicit --cloud, --hosted, or --cancel arguments. Evidence against
The package has no npm install lifecycle hook; its peachsim bin invokes an installer when the user runs it. The GitHub-token flow is plainly implemented as part of the cloud testing feature, rather than concealed in an unrelated routine. The flagged daemon persistence and tool execution serve the CLI’s functions and are invoked through setup or daemon commands. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · Minified · Possible obfuscation · Telemetry · URL strings
Manifest No license
Scanned 813 files · 33.2 MB of source
50 external domains referenced
127.0.0.1 api.github.com app.uniswap.org arbitrum-one-rpc.publicnode.com archive.ubuntu.com avalanche-c-chain-rpc.publicnode.com base-rpc.publicnode.com blast-rpc.publicnode.com browser.invalid bsc-rpc.publicnode.com cdn.cocoapods.org cdn.example.com celo-rpc.publicnode.com cloudflare-dns.com cocoapods.org contrast.localhost data.jsdelivr.com dl.google.com download.swift.org ethereum-rpc.publicnode.com example.com foo.com get.maestro.mobile.dev github.com json-schema.org lists.samba.org maestro.dev optimism-rpc.publicnode.com packaged.invalid peach-package.invalid peach.local peachsim.com peachsim.local polygon-bor-rpc.publicnode.com ports.ubuntu.com r2.rnxsim.com r2.sootsim.com raw.githubusercontent.com registry.npmjs.org repo1.maven.org rnx-box.contrast.dev schemas.android.com soneium-rpc.publicnode.com sootsim.local tiles.openfreemap.org unichain-rpc.publicnode.com us.i.posthog.com webrtc.googlesource.com www.apple.com www.jitpack.io Oversized source lightweight scan
dist-lib/bundle-channel.cjs 4.44 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Crypto Dynamic require High entropy strings URL strings 127.0.0.1 packaged.invalid r2.rnxsim.com sootsim.local
dist-lib/host/bridge-host.cjs 5.04 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Crypto High entropy strings URL strings 127.0.0.1 github.com peach.local peachsim.com r2.rnxsim.com rnx-box.contrast.dev sootsim.local
Findings10 high · 10 medium · 8 low Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
Show all 28 findings dist-lib/kotlin-host.cjs2 findings
High Child process Code↓ Medium Dynamic require Code↓ Package metadata 10 findings
High Shell
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Scripts present
Low Filesystem
Low High entropy strings
Low Telemetry
Low URL strings
Low No license
dist-lib/index.cjs1 finding
High Same file environment network execution Code↓ cli/commands/package.ts1 finding
Source & flagged code18 flagged High Child process
Package source references child process execution.
dist-lib/kotlin-host.cjs View on unpkg · L92 Code excerpt · 3 lines 92 }
93 const result = (0 , import_node_child_process.spawnSync)(
94 "ps" ,
Medium Dynamic require
Package source references dynamic require/import behavior.
dist-lib/kotlin-host.cjs View on unpkg · L1 Code excerpt · 3 lines 1 /*! peach v0.1.2520 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2 let __sootsim_import_meta_url = '' , __sootsim_import_meta_dirname = '' , __sootsim_import_meta_filename = '' ; try { __sootsim_import_meta_url = require ('url' ).pathToFileURL (__filena...
3 "use strict" ;
Medium Unsafe vm context
Package source executes code through a VM context API.
cli/maestro-js.ts View on unpkg · L17 Code excerpt · 12 lines 17 // divergences (deliberate, peach-side ergonomics — keep this list short):
18 // 1. envBinding is seeded from the full process.env, not just MAESTRO_*.
19 // peach flows historically resolve `${SOOTSIM_*}` credentials from the
⋯
27
28 import { spawnSync } from 'child_process'
29 import * as vm from 'vm'
⋯
46 params?: HttpParams,
47 ): { ok: boolean; status: number; body: string; headers: Record<string, string> } {
48 if (params?.multipartForm) {
Low Weak crypto
Package source references weak cryptographic algorithms.
dist-lib/vendor/ws.cjs View on unpkg · L1 Code excerpt · 12 lines 1 /*! peach v0.1.2520 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2 let __sootsim_import_meta_url = '' , __sootsim_import_meta_dirname = '' , __sootsim_import_meta_filename = '' ; try { __sootsim_import_meta_url = require ('url' ).pathToFileURL (__filena...
3 "use strict" ;
⋯
24 kStatusCode: Symbol ("status-code" ),
25 kWebSocket: Symbol ("websocket" ),
26 NOOP: () => {
⋯
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
cli/commands/daemon.ts View on unpkg · L17 Code excerpt · 11 lines 18 import { spawnSync } from 'child_process'
19 import {
⋯
57 const SERVICE_NAME_LINUX = 'sootsim-daemon'
58 const macLogDir = () => resolve (homedir (), 'Library/Logs/sootsim' )
59 const linuxLogDir = () => resolve (homedir (), '.local/state/sootsim' )
60 const LSOF = process.platform === 'darwin' ? '/usr/sbin/lsof' :
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist-lib/index.cjs View on unpkg · L7006 Code excerpt · 9 lines 7006 // src/cli-constants.ts
7007 var DEFAULT_SOOTSIM_SHELL_URL = "http://localhost:5173/" ;
7008
7009 // cli/pause-aware-timeout.ts
7010 var import_node_child_process5 = require ("node:child_process" );
7011 var import_node_fs17 = require ("node:fs" );
⋯
7014 var LEDGER_PATH = import_node_path15.default .join (
7015 process.env.TM_HOME || import_node_path15.default . (import_node_os5. . (), ),
High Remote system file write
Source writes bytes from a remote response into a privileged operating-system path.
cli/commands/package.ts View on unpkg · L1 Code excerpt · 12 lines 1 import { execFileSync, spawn, spawnSync } from 'node:child_process'
2 import { createHash, randomUUID } from 'node:crypto'
⋯
74 const env = {
75 ...process.env,
76 PEACH_HOME: home,
⋯
93 .join ('\n' )
94 const directory = path.join (rnxHomeDir (), 'package-diagnostics' )
95 fs.mkdirSync (directory, { recursive: , mode: 0o700 })
High Command output exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist-lib/expo-swift-bundle.cjs View on unpkg · L1 Code excerpt · 12 lines 1 /*! peach v0.1.2520 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2 let __sootsim_import_meta_url = '' , __sootsim_import_meta_dirname = '' , __sootsim_import_meta_filename = '' ; try { __sootsim_import_meta_url = require ('url' ).pathToFileURL (__filena...
3 "use strict" ;
⋯
81 const configPath = findRNXAppConfig (appDir);
82 if (!configPath && !findExpoAppConfig (appDir) && !import_node_fs.default . (import_node_path. . (appDir, ))) {
dist-lib/esm-chunks/chunk-FSTQCRTZ.mjs View file High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist-lib/esm-chunks/chunk-FSTQCRTZ.mjs View on unpkg · L31 Code excerpt · 12 lines 31 // src/swift-toolchain.ts
32 import { execFile, execFileSync, spawn } from "node:child_process" ;
33 import { createHash } from "node:crypto" ;
⋯
42 let dir = import .meta.dirname;
43 while (!fs.existsSync (path.join (dir, "package.json" )) && dir !== path.dirname (dir))
44 dir = path.dirname (dir);
High Remote agent bridge
Source exposes local file and command tools to a remote model endpoint.
dist-lib/vendor/terser.cjs View on unpkg · L595 Code excerpt · 6 lines 595 if (base && inputType !== 7 ) {
596 const baseUrl = parseUrl (base);
597 const baseType = baseUrl.type;
⋯
36150 };
36151 fs.writeFileSync (log_path, "Options: \n" + options_str + "\n\nInput files:\n\n" + files_str (files) + "\n" );
36152 }
High Cross file remote execution context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist-lib/bundle-channel.cjs View on unpkg · L1 Code excerpt · 10 lines Cross-file remote execution chain: dist-lib/bundle-channel.cjs spawns cli/commands/control.ts; helper contains network access plus dynamic code execution.
1 /*! peach v0.1.2520 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2 let __sootsim_import_meta_url = '' , __sootsim_import_meta_dirname = '' , __sootsim_import_meta_filename = '' ; try { __sootsim_import_meta_url = require ('url' ).pathToFileURL (__filena...
3 "use strict" ;
⋯
62 const opening = /^(--[^\r\n]+)\r?\n/.exec (body);
63 if (!opening) JSON. (body);
Medium Ships WASM module
Package ships WebAssembly modules.
dist-lib/vendor/prism.wasm View on unpkg Scanner record · 4 lines path = dist-lib/vendor/prism.wasm
kind = wasm_module
sizeBytes = 356522
magicHex = [redacted]
Medium Ships build helper
Package ships non-JavaScript build or shell helper files.
install.sh View on unpkg Scanner record · 4 lines path = install.sh
kind = build_helper
sizeBytes = 6601
magicHex = [redacted]
High Ships high entropy blob
Package ships high-entropy non-source blobs.
kotlin/sdk.tar.gz View on unpkg Scanner record · 4 lines path = kotlin/sdk.tar.gz
kind = high_entropy_blob
sizeBytes = 16399372
magicHex = [redacted]
Medium Ships compressed blob
Package ships compressed or archive-like blobs.
kotlin/sdk.tar.gz View on unpkg Scanner record · 4 lines path = kotlin/sdk.tar.gz
kind = compressed_blob
sizeBytes = 16399372
magicHex = [redacted]
Medium Oversized source file
Package contains source files above the normal full-analysis size ceiling.
dist-lib/host/bridge-host.cjs View on unpkg Scanner record · 4 lines path = dist-lib/host/bridge-host.cjs
kind = oversized_source_file
sizeBytes = 5285911
magicHex = [redacted]
cli/maestro-compare.ts#virtual:string-array:round2 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
cli/maestro-compare.ts#virtual:string-array:round2 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 19
AI assessment confidence 96%
Certainty of the verdict, not severity.
Verdict details Intent, False-positive risk, Review stage, Firewall policy Another service's credential sent to the publisher. An LPM review rule requires blocking this behavior, but the AI review did not find malware intent; this finding does not say the publisher attacks its users.
Package metadata npm Author Tamagui LLC
Version 0.1.2520
Published Nov 22, 2026
License SEE LICENSE IN LICENSE
Dependencies 3
Integrity verified
Package size 34.1 MB
Files 4,833
Runtime surface package.json Entrypoints types → ./src/index.ts exports map bin → peachsim
Runtime No engine / OS / CPU constraints
Artifact 102 MB unpacked · 4,833 files 2 signatures
Install lifecycle No install hooks · other: build, build:cli, build:cli-binary, build:node-tenant +4
On this report AI security review Decision evidence Findings28 Flagged code18 Remediation dist-lib/skills.cjs 7.53 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Crypto Dynamic require High entropy strings
High Remote system file write Code↓
⋯
53 // blocking spawn of this CLI's own fetch worker: JSON in on stdin, JSON out
Low Eval
Package source references a known benign dynamic code generation pattern.
cli/maestro-js.ts View on unpkg · L231 Code excerpt · 3 lines 231 return vm.runInContext (
232 `(function(){ with(__maestroScope){ return eval(\`${escaped}\`) } })()` ,
233 this .context,
78 buf = Buffer.from (data);
79 toBuffer.readOnly = false ;
90 if (!process.env.WS_NO_BUFFER_UTIL) {
'lsof'
128 mkdirSync (logDir, { recursive: true })
129 const stdout = resolve (logDir, 'bridge.out.log' )
130 const stderr = resolve (logDir, 'bridge.err.log' )
158 const exec = [invocation.executable, ...invocation.prefixArgs].map (shellQuote).join (' ' )
join
default
homedir
".team-machine"
7016 "governor-pauses.json"
true
124 const service: { pid: number; bridgePort: number } = JSON.parse (
125 fs.readFileSync (record, 'utf8' ),
existsSync
default
join
"package.json"
166 function readProcessTable (timeoutMs = 1e4, pid) {
167 if (process.platform === "linux" ) {
168 clockTicks ??= linuxClockTicks ();
201 const result = (0 , import_node_child_process.spawnSync)(
272 function privateSwiftDistributionRoot () {
273 const root = process.env[SWIFT_PRIVATE_DISTRIBUTION_ENV]?.trim ();
274 return root ? path.resolve (root) : null ;
283 if (!root) return null ;
284 const manifest = JSON.parse (
285 fs.readFileSync (path.join (root, "distribution.json" ), "utf8" )
return
parse
64 for (const part of body.split (opening[1 ])) {
108 const isAbsolute3 = isAbsoluteHttpUrl (bundleUrl);
109 const parsed2 = new URL (bundleUrl, "http://sootsim.local" );
110 parsed2.pathname = parsed2.pathname.replace (/\.\.bundle$/, ".bundle" );