Loading npm security reports…
Loading npm security reports…
peachsim@0.1.2484: Policy block – npm package blocked | LPM Firewall
Blocked by LPM policy
The receiving service could use the GitHub token with the permissions granted to that workflow.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security reviewscanned on Nov 22, 2026, 02:35 UTC · by lpm-firewall-ai The cloud-test flow automatically forwards GITHUB_TOKEN, a credential for another service, to Peach’s own service. The flow is explicit and plainly implemented, but the credential rule treats this as a block with dangerous-capability intent.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
A user invokes the cloud-test CLI flow while GITHUB_TOKEN is available and PEACH_API_KEY is not selected.
Mechanism
CLI auth resolution reads GITHUB_TOKEN, passes it as the GitHub auth token, and the cloud-test request sends it as a Bearer Authorization header to the resolved origin, which defaults to peachsim.com.
Attack narrative
When a user runs a cloud test in an environment with GITHUB_TOKEN, the CLI can select that token as its GitHub credential and send it as a Bearer token to the Peach cloud-test endpoint. The default service origin is peachsim.com. This credential handoff is visible in the code and occurs in the cloud-testing flow.
Evidence
cli/auth.ts cli/commands/test.ts cli/commands/upload.ts src/public-brand.ts
Decision evidencepublic snapshot Evidence for block
The CLI reads GITHUB_TOKEN from the environment and can select it as its GitHub Actions credential. The GitHub token is carried into the GitHub auth object and authHeaderValue formats that token as a Bearer credential. The cloud-test command resolves CLI auth and sends it in the Authorization header when submitting a test job. Cloud tests default to the package’s own peachsim.com service unless an origin is explicitly configured. Evidence against
The credential flow runs when a user invokes a cloud-test or cancellation command; the manifest declares no install lifecycle hook. The package’s stated purpose includes cloud testing, and the GitHub credential use is plainly visible in the source. 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 809 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.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 www.swift.org 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.03 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
Findings1 critical · 10 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 29 findings src/expo-swift-host.ts1 finding
Critical Previous version dangerous delta Code↓ 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
Source & flagged code19 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.2484 | (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.2484 | (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 · L6923 Code excerpt · 9 lines 6923 // src/cli-constants.ts
6924 var DEFAULT_SOOTSIM_SHELL_URL = "http://localhost:5173/" ;
6925
6926 // cli/pause-aware-timeout.ts
6927 var import_node_child_process5 = require ("node:child_process" );
6928 var import_node_fs16 = require ("node:fs" );
⋯
6931 var LEDGER_PATH = import_node_path14.default .join (
6932 process.env.TM_HOME || import_node_path14.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.2484 | (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-WTZUQBWT.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-WTZUQBWT.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.2484 | (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 = 16184230
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 = 16184230
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 = 5269892
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
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/expo-swift-host.ts View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = peachsim@0.1.2478
matchedIdentity = npm:cGVhY2hzaW0:0.1.2478
similarity = 0.983
summary = stored previous version shares package body but lacks this dangerous source file
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.2484
Published Nov 22, 2026
License SEE LICENSE IN LICENSE
Dependencies 3
Integrity verified
Package size 33.9 MB
Files 4,825
Runtime surface package.json Entrypoints types → ./src/index.ts exports map bin → peachsim
Runtime No engine / OS / CPU constraints
Artifact 102 MB unpacked · 4,825 files 2 signatures
Install lifecycle No install hooks · other: build, build:cli, build:cli-binary, pack:smoke +3
On this report AI security review Decision evidence Findings29 Flagged code19 Remediation dist-lib/skills.cjs 7.52 MB file, sampled 256 KB
Filesystem Network Child process Environment variables Crypto Dynamic require High entropy strings
⋯
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"
6933 "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" );