Loading npm security reports…
Loading npm security reports…
@punch-bot/cli@1.2.0: npm security report – allowed | LPM Firewall
npm / @punch-bot/cli / 1.2.0 Headless coding agent SDK, RPC, and print modes with read, bash, edit, write tools and session management
Allowed — no malicious behavior detected
35 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 15, 2026, 19:55 UTC · by lpm-firewall-ai Source inspection did not substantiate the scanner's malicious label. The manifest has no install-time hook, and the inspected runtime and provider code showed no concrete attack behavior.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
No malicious trigger was identified; the reviewed OAuth flow runs when a user signs in to Kimi Code.
Impact
No unauthorized credential disclosure, account action, persistence, or agent control-surface mutation was established.
Mechanism
The OAuth flow uses the provider authentication host by default, while the other inspected locations perform runtime utilities or optional extension tasks.
Decision evidencepublic snapshot Evidence for AI clean decision
The manifest defines a prepublishOnly build task; it does not define an install-time hook.
Kimi Code OAuth defaults to auth.kimi.com and sends OAuth requests to that provider's token endpoint.
The flagged agent location enumerates context-file names for lookup; it does not establish an agent-settings mutation.
The runtime locations handle command outcomes, display an MCP status notice, normalize find results, and disable shell mode for shared command execution.
The flagged bundle files show dependency and provider code, including request retry helpers, form-data serialization, and configured AWS Bedrock authentication.
The flagged examples and configuration helper show opt-in extension behavior and execution of configured values; the inspected code does not establish an attack. 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 manifest risk signals triggered.
Scanned 345 files · 7.31 MB of source
50 external domains referenced
127.0.0.1 169.254.169.254 169.254.170.2 a.co accounts.google.com ae.api.openai.com ai.google.dev aiplatform.googleapis.com api.anthropic.com api.individual.githubcopilot.com api.meta.ai api.openai.com auth.kimi.com auth.meta.com auth.openai.com auth.x.ai aws.amazon.com chatgpt.com claude.ai cloud.gitlab.com cloud.google.com cloudresourcemanager.googleapis.com console.anthropic.com docs.anthropic.com docs.aws.amazon.com docs.cloud.google.com docs.expo.dev dummy.com eu.api.openai.com generativelanguage.googleapis.com git-scm.com github.com gitlab.com help.openai.com huggingface.co metadata.google.internal mtls.api.openai.com oauth2.googleapis.com openrouter.ai pi.dev platform.claude.com portal.sso portal.sso-fips react-native.canny.io redacted.invalid signin-fips.amazonaws-us-gov.com sts.amazonaws.com us.api.openai.com www.googleapis.com www.gstatic.com Oversized source lightweight scan
dist/bundle/chunks/chunk-FLX3SJDL.js 4.37 MB file, sampled 256 KB
Filesystem Network Environment variables Possible obfuscation High entropy strings Minified URL strings github.com pi.dev
Findings1 critical · 21 high · 5 medium · 8 low Source & flagged code26 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
dist/core/exec.js View on unpkg · L3 Code excerpt · 3 lines 3 */
4 import { spawn } from "node:child_process" ;
5 import { waitForChildProcess } from "../utils/child-process.js" ;
dist/bundle/chunks/chunk-WUIPA42N.js View file High ShellCleared
Package source references shell execution.
dist/bundle/chunks/chunk-WUIPA42N.js View on unpkg · L9 Code excerpt · 3 lines 9 ${paths.map (p=>` ${p}` ).join (`
10 `)}` )}if (existsSync ("/bin/bash" ))return getBashShellConfig ("/bin/bash" );let bashOnPath=findExecutableOnPath ("bash" );return bashOnPath?getBashShellConfig (bashOnPath):{shell:"sh" ,arg...
11 `;await new Promise((resolve,reject)=>{stdin.write(payload,error=>error?reject(error):resolve())})}async close(){if(this.closed)return;this.closed=!0;let child=this.child;if(!child...
dist/bundle/chunks/chunk-FLX3SJDL.js View file High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg Scanner record · 4 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/bundle/chunks/chunk-FLX3SJDL.jsimport{ArrayOptions,CODEMODE_TOOL_NAME,Clone,DEFAULT_MAX_AGENT_RETRY_DELAY_MS,DEFAULT_MAX_BYTES,DEFAULT_MAX_LINES,Evaluate,Flatten,Get,Instantiate,Intersect,IsArray,IsBigInt,IsBool...
`)||potentialValue.includes("\r")||potentialValue.includes("\0"))===!1}function parseReferrerPolicy(actualResponse){let policyHeader=(actualResponse.headersList.get("referrer-polic...
`,this[kBodyTimeout]=bodyTimeout??3e5,this[kHeadersTimeout]=headersTimeout??3e5,this[kStrictContentLength]=strictContentLength??!0,this[kMaxRequests]=maxRequestsPerClient,this[kClo...
${pendingInterceptorsFormatter.format(pending)}`.trim
High Remote agent bridgeCleared
Source exposes local file and command tools to a remote model endpoint.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg · L1 Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/core/extensions/loader.js View on unpkg · L16 Code excerpt · 3 lines 16 import { time } from "../timings.js" ;
17 const require = createRequire (import .meta.url);
18 const isNodeSeaBinary = ("sea" in process.features && process.features.sea === true ) ||
dist/bundle/chunks/bedrock-converse-stream.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/bundle/chunks/bedrock-converse-stream.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = omnirush@1.0.2
matchedPath = core/dist/bundle/chunks/bedrock-converse-stream.js
matchedIdentity = npm:b21uaXJ1c2g:1.0.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/bundle/chunks/bedrock-converse-stream.js View on unpkg · L1 Code excerpt · 7 lines 1 import { createRequire as __piCreateRequire } from ; require = ( .meta.url);
dist/bundle/chunks/chunk-FJPXW4TE.js View file High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/bundle/chunks/chunk-FJPXW4TE.js View on unpkg · L13 High Command output exfiltrationCleared
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/bundle/chunks/chunk-FJPXW4TE.js View on unpkg · L13 Shared code excerpt · 2 findings · 6 lines 13 `+mind+"}":"{"+partial.join(",")+"}",gap=mind,v}}typeof JSON2.stringify!="function"&&(JSON2.stringify=function(value,replacer,space){var i;if(gap="",indent="",typeof space=="number...
14 `,r:"\r",t:" "},text,error=function(m){throw{name:"SyntaxError",message:m,at,text}},next=function(c){return c&&c!==ch&&error("Expected '"+c+"' instead of '"+ch+"'"),ch=text.charAt(...
15 Supported algorithms are:
⋯
24 ${credentialScope}
25 `+await options.crypto.sha256DigestHex(canonicalRequest),signingKey=await getSigningKey(options.crypto,options.securityCredentials.secretAccessKey,dateStamp,options.region,serviceN...
Critical Hardcoded runtime data exfiltrationCleared
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/bundle/chunks/kimi-coding.js View on unpkg · L1 Code excerpt · 2 lines Source sends the broad process environment to a literal external destination.
1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 var __require=(x=>typeof require<"u" ?require:typeof Proxy<"u" ?new Proxy (x,{get:(a,b)=>(typeof require<"u" ?require:a)[b]}):x)(function (x){if (typeof require<"u" )return require. (...
dist/bundle/chunks/chunk-6CYCI3EJ.js View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/bundle/chunks/chunk-6CYCI3EJ.js View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_alias_growth_limit_exceeded; limitedFiles = 4
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/resolve-config-value.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @phi-code-admin/phi-code@0.99.0
matchedPath = dist/core/resolve-config-value.js
matchedIdentity = npm:[redacted]:0.99.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
examples/extensions/notify.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @phi-code-admin/phi-code@0.99.0
matchedPath = examples/extensions/notify.ts
matchedIdentity = npm:[redacted]:0.99.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
examples/extensions/git-merge-and-resolve.ts View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
examples/extensions/git-merge-and-resolve.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @phi-code-admin/phi-code@0.99.0
matchedPath = examples/extensions/git-merge-and-resolve.ts
matchedIdentity = npm:[redacted]:0.99.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
examples/extensions/gondolin/index.ts View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
examples/extensions/gondolin/index.ts View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = @phi-code-admin/phi-code@0.99.0
matchedPath = [redacted].ts
matchedIdentity = npm:[redacted]:0.99.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/core/export-html/vendor/highlight.min.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/export-html/vendor/highlight.min.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = omnirush@1.0.2
matchedPath = core/dist/core/export-html/vendor/highlight.min.js
matchedIdentity = npm:b21uaXJ1c2g:1.0.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/core/export-html/vendor/marked.min.js View file High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/export-html/vendor/marked.min.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = omnirush@1.0.2
matchedPath = core/dist/core/export-html/vendor/marked.min.js
matchedIdentity = npm:b21uaXJ1c2g:1.0.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Package metadata 9 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
Code excerpt · 5 lines
1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 import {ArrayOptions,CODEMODE_TOOL_NAME,Clone,DEFAULT_MAX_AGENT_RETRY_DELAY_MS,DEFAULT_MAX_BYTES,DEFAULT_MAX_LINES,Evaluate,Flatten,Get,Instantiate,Intersect,IsArray,IsBigInt,IsBool...
3 `)||potentialValue.includes("\r")||potentialValue.includes("\0"))===!1}function parseReferrerPolicy(actualResponse){let policyHeader=(actualResponse.headersList.get("referrer-polic...
⋯
320 `))}function ExportSection(build){let body=build.UseUnevaluated()?` const context = new CheckContext ({}, {}); return ${build.Entry ()}`:` return ${build.Entry ()}`;return[Separator(),T...
321 `);return{External:build.External(),Code:code}}var Validator=class{constructor(context,type){this.hasC
High Copied package dependency bridgeCleared
Package metadata claims a different repository identity while copied source loads a runtime dependency bridge.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg · L534 Code excerpt · 4 lines package = @punch-bot/cli; repositoryIdentity = core; dependency = @silvia-odwyer/photon-node
534
535 `):void 0}getRegisteredProviderConfig(providerId){return this.extensionProviders.get(providerId)}getRegisteredProviderIds(){return[...new Set([...this.extensionProviders.keys(),......
536 `).replace(/\r/g,`
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg · L1 Code excerpt · 4 lines Cross-file remote execution chain: dist/bundle/chunks/chunk-FLX3SJDL.js spawns dist/bundle/chunks/anthropic.js; helper contains network access plus dynamic code execution.
1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 import {ArrayOptions,CODEMODE_TOOL_NAME,Clone,DEFAULT_MAX_AGENT_RETRY_DELAY_MS,DEFAULT_MAX_BYTES,DEFAULT_MAX_LINES,Evaluate,Flatten,Get,Instantiate,Intersect,IsArray,IsBigInt,IsBool...
3 `)||potentialValue.includes("\r")||potentialValue.includes("\0"))===!1}function parseReferrerPolicy(actualResponse){let policyHeader=(actualResponse.headersList.get("referrer-polic...
⋯
12 `);blobParts.push(chunk2,value,rn),typeof value.size=="number"?length+=chunk2.byteLength+value.size+rn.byteLength:hasUnkn
High Spawned bundled service listenerCleared
Source launches a detached bundled service that exposes a broad-bound HTTP listener.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg · L1 Code excerpt · 4 lines Detached bundled service listener: dist/bundle/chunks/chunk-FLX3SJDL.js launches a Node helper and exposes a broad-bound HTTP listener.
1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 import {ArrayOptions,CODEMODE_TOOL_NAME,Clone,DEFAULT_MAX_AGENT_RETRY_DELAY_MS,DEFAULT_MAX_BYTES,DEFAULT_MAX_LINES,Evaluate,Flatten,Get,Instantiate,Intersect,IsArray,IsBigInt,IsBool...
3 `)||potentialValue.includes("\r")||potentialValue.includes("\0"))===!1}function parseReferrerPolicy(actualResponse){let policyHeader=(actualResponse.headersList.get("referrer-polic...
⋯
12 `);blobParts.push(chunk2,value,rn),typeof value.size=="number"?length+=chunk2.byteLength+value.size+rn.byteLength:hasUnknownSizeValue=!0}let chunk=textEncode
High Trigger reachable command output exfiltrationCleared
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg · L266 Code excerpt · 6 lines Trigger-reachable command-output exfiltration chain: manifest.exports -> dist/bundle/rpc-entry.js -> dist/bundle/chunks/chunk-FLX3SJDL.js
266 `?yield*this.pushCount(1):ch==="\r"&&this.charAt(1)===`
267 `?yield*this.pushCount(2):0}*pushSpaces(allowTabs){let i=this.pos-1,ch;do ch=this.buffer[++i];while(ch===" "||allowTabs&&ch===" ");let n=i-this.pos;return n>0&&(yield this.buffer.s...
268 `)+1;for(;nl!==0;)this.onNewLine(this.offset+nl),nl=this.source.indexOf(`
⋯
270 `)+1;for(;nl!==0;)this.onNewLine(this.offset+nl),nl=this.source.indexOf(`
271 `,nl)+1}return{type,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(parent){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"dou...
272 at `+stack[i].toString();return str}function depd(
Medium Oversized source fileCleared
Package contains source files above the normal full-analysis size ceiling.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg Scanner record · 4 lines path = dist/bundle/chunks/chunk-FLX3SJDL.js
kind = oversized_source_file
sizeBytes = 4583400
magicHex = [redacted]
Low EvalCleared
Package source references a known benign dynamic code generation pattern.
dist/bundle/chunks/chunk-FLX3SJDL.js View on unpkg · L274 Code excerpt · 3 lines 274 at `+stack[i].toString();return formatted}return caller&&(formatted+=" at "+formatLocation(caller)),formatted}function formatColor(msg,caller,stack){var formatted="\x1B[36;1m"+this...
275 \x1B[36mat `+stack[i].toString()+"\x1B[39m";return formatted}return caller&&(formatted+=" \x1B[36m"+formatLocation(caller)+"\x1B[39m"),formatted}function formatLocation(callSite){r...
276 return function (`+args+` ) {log.call (deprecate, message, site)
"node:module"
const
__piCreateRequire
import
2 var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoO...
3 versions published after the first week of January 2027
9 More information can be found at: https://a.co/c895JFp`))}}}});var longPollMiddleware,longPollMiddlewareOptions,getLongPollPlugin,init_longPollMiddleware=__esm({"packages/ai/node_m...
10 `+hint}catch{!context.logger||context.logger?.constructor?.name==="NoOpLogger"?console.warn(hint):context.logger?.warn?.(hint)}typeof error2.$responseBodyText<"u"&&error2.$response...
11 `).slice(0,5).filter(s2=>!s2.includes("
26 To learn more about authentication and Google APIs, visit:
High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/bundle/chunks/chunk-FJPXW4TE.js View on unpkg · L1 Code excerpt · 6 lines 1 import { createRequire as __piCreateRequire } from "node:module" ; const require = __piCreateRequire (import .meta.url);
2 import {retryProviderRequest}from "./chunk-PMRZO46Y.js" ;import {getJsonSchemaToolParameters,resolveJsonSchemaStrictSampling,transformMessages}from "./chunk-5HTGPCR7.js" ;import {sanitize...
3 `)||message,code,status},res.data.error)}return Object.assign({message,code,status},res.data.error)}}return{message,code:res.status,status:res.statusText}}};exports.GaxiosError=Gax...
4 Content-Type: ${partContentType}\r
⋯
13 `+mind+"}":"{"+partial.join(",")+"}",gap=mind,v}}typeof JSON2.stringify!="function"&&(JSON2.stringify=function(value,replacer,space){var i;if(gap="",indent="",typeof space=="number...
14 `,r:"\r",t:" "},text,error=function(m){throw{name:"SyntaxError",m
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/bundle/chunks/chunk-FJPXW4TE.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = omnirush@1.0.2
matchedPath = core/dist/bundle/chunks/chunk-FUXEF6JQ.js
matchedIdentity = npm:b21uaXJ1c2g:1.0.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source
apply
High Known malware source similarityCleared
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/bundle/chunks/kimi-coding.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = omnirush@1.0.2
matchedPath = core/dist/bundle/chunks/kimi-coding.js
matchedIdentity = npm:b21uaXJ1c2g:1.0.2
similarity = 1.000
summary = normalized source hash matched finalized malicious source