Loading npm security reports…
Loading npm security reports…
peachsim@0.1.2479: Policy block – npm package blocked | LPM Firewall
Blocked by LPM policy
The Peach service receives a credential that can authorize actions on the associated GitHub repository.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
AI security reviewscanned on Nov 22, 2026, 01:22 UTC · by lpm-firewall-ai The explicit cloud-test flow sends a GitHub token from the environment to Peach’s hosted service as a Bearer credential. The transfer is visible in the code and occurs only when the cloud-test command is requested, but the credential is for another service and reaches the publisher’s service.
Static reason
One or more suspicious static signals were detected.
Trigger
Running peach test with --cloud or --hosted in an environment containing a qualifying GitHub token and repository identifier.
Mechanism
The CLI resolves CONTRAST_INSTALLATION_TOKEN or GITHUB_TOKEN as GitHub auth, converts the token to a Bearer authorization value, and includes it in a POST to the cloud jobs endpoint. The default origin is peachsim.com.
Attack narrative
When a user invokes a cloud test, the CLI can select CONTRAST_INSTALLATION_TOKEN or GITHUB_TOKEN from the environment as its auth credential. It sends that token as a Bearer authorization header to Peach’s hosted test-job endpoint, whose default origin is https://peachsim.com. This is a plainly implemented product flow, but it transfers a credential belonging to GitHub to the package publisher’s service.
Evidence
cli/auth.ts cli/commands/test.ts cli/commands/upload.ts src/public-brand.ts
peachsim.com
Decision evidencepublic snapshot Evidence for block
Cloud auth resolution reads CONTRAST_INSTALLATION_TOKEN or GITHUB_TOKEN as GitHub credentials. The selected GitHub token is returned as a Bearer token by authHeaderValue. The default Peach service origin is https://peachsim.com; PEACH_UPLOAD_ORIGIN can override it. The cloud-test path sends the auth header in a POST to the hosted jobs endpoint. The test command reaches this path when invoked with --cloud or --hosted. Evidence against
This credential transfer is triggered by an explicit cloud-test command, not by package installation or import. The cloud-test path also supports Peach API keys and saved Peach credentials. 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 808 files · 33.1 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.43 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.02 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.2479 | (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.2479 | (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.2479 | (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-AEZPI62A.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-AEZPI62A.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.2479 | (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 = 5264344
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 97%
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.2479
Published Nov 22, 2026
License SEE LICENSE IN LICENSE
Dependencies 3
Integrity verified
Package size 33.8 MB
Files 4,822
Runtime surface package.json Entrypoints types → ./src/index.ts exports map bin → peachsim
Runtime No engine / OS / CPU constraints
Artifact 101 MB unpacked · 4,822 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 Findings28 Flagged code18 Remediation dist-lib/skills.cjs 7.51 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"
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" );