scanned 7 file(s), 4.32 MB of source, external domains: access.redhat.com, adoptium.net, api.limrun.com, api.momentic.ai, app.momentic.ai, avatars.githubusercontent.com, bit.ly, cdn.jsdelivr.net, cloudflare-ipfs.com, commonmark.org, developer.android.com, developer.mozilla.org, docs.mongodb.com, docs.sentry.io, en.wikipedia.org, example.com, fakerjs.dev, github.com, hosted-run-viewer-files.s3.us-east-2.amazonaws.com, i.ytimg.com, ingest.us.signoz.cloud, ipecho.net, loremflickr.com, momentic.ai, p.momentic.ai, picsum.photos, raw.githubusercontent.com, react.dev, redux-toolkit.js.org, redux.js.org, registry.npmjs.org, remarkable-hackwork.info, semver.org, slow-timer.info, stackoverflow.com, via.placeholder.com, www.terrible-idea.com, www.w3.org, www.youtube-nocookie.com, yarnpkg.com
•Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
bin/cli.js:
import Ro__default, { statSync, readFileSync, writeFileSync, existsSync, mkdirSync, unlinkSync, renameSync, readdir, readdirSync, rmSync, appendFileSync, watch } from 'fs';
import $Ve from 'readline';
import { createInterface } from 'node:readline';
import WI, { mkdtemp, writeFile, rm as rm$1, readdir as readdir$1, stat, unlink } from 'fs/promises';
`)),i(" ",n(d));}}setMinLevel(e){typeof e=="string"?this.minLogLevel=sy[e]:this.minLogLevel=e;}setOutputStream(e){this.forcedStream=e;}log(...e){this.logWithLevel(30,Na.reset,...e...
`)}function _8(t){return t instanceof Error&&"code"in t&&typeof t.code=="string"}function P8(t,
HighCredential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
bin/cli.jsView on unpkg •Manifest-reachable source resolves another installed package, overwrites its runtime code, and injects package-defined remote behavior.
bin/cli.js:
import Ro__default, { statSync, readFileSync, writeFileSync, existsSync, mkdirSync, unlinkSync, renameSync, readdir, readdirSync, rmSync, appendFileSync, watch } from 'fs';
import WI, { mkdtemp, writeFile, rm as rm$1, readdir as readdir$1, stat, unlink } from 'fs/promises';
|| ${a} === "boolean" || ${r} === null`).assign(s,(0, Et._)`[${r}]`);}}}function a9e({gen:t,parentData:e,parentDataProperty:n},o){t.if((0, Et._)`${e} !== undefined`,()=>t.assign((0...
`}async function z2({dryRun:t,operation:e}){try{return await e()}catch(n){throw new Error(USe({err:n,dryRun:t}),{cause:n})}}function na(t){return t instanceof Error?t:new Error(G(t...
`)),i("
HighEntrypoint Foreign Package Code Overwrite
Manifest-reachable source overwrites another installed package with package-defined remote behavior.
bin/cli.jsView on unpkg 173Original error: ${n}
L174: `}async function z2({dryRun:t,operation:e}){try{return await e()}catch(n){throw new Error(USe({err:n,dryRun:t}),{cause:n})}}function na(t){return t instanceof Error?t:new Error(G(t...
L175: `).map((o,r)=>r>0?`${n}${o}`:o).join(`
L176: `)}logWithLevelHelper(e,n,...o){if(e<this.minLogLevel)return;let r=this.forcedStream??(e>=40?"stderr":"stdout"),i=(...u)=>{let d=t.redactedValues.length===0?u:u.map(p=>typeof p=="s...
L177: `).map((p,m)=>m>0?` ${p}`:p).join(`
L178: `)),i(" ",n(d));}}setMinLevel(e){typeof e=="string"?this.minLogLevel=sy[e]:this.minLogLevel=e;}setOutputStream(e){this.forcedStream=e;}log(...e){this.logWithLevel(30,Na.reset,...e...
L179: `)){let[o,r]=n.trim().split(/\s+/,2);if(!o||!r)continue;let i=Number.parseInt(r,10);Number.isFinite(i)&&(e[o]
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
bin/cli.jsView on unpkg · L173 9import xne from 'truncate-json';
L10: import Na, { supportsColorStderr, supportsColor, Chalk } from 'chalk';
L11: import iEe from 'safe-stable-stringify';
...
L29: import { PostHog } from 'posthog-node';
L30: import * as CHe from 'child_process';
L31: import { execFile, execSync, exec, execFileSync } from 'child_process';
...
L36: import { registerInstrumentations } from '@opentelemetry/instrumentation';
L37: import { UndiciInstrumentation } from '@opentelemetry/instrumentation-undici';
L38: import { resourceFromAttributes, defaultResource } from '@opentelemetry/resources';
...
L128: var nye=Object.create;var PV=Object.defineProperty;var oye=Object.getOwnPropertyDescriptor;var rye=Object.getOwnPropertyNames;var iye=Object.getPrototypeOf,aye=Object.prototype.has...
L129: `:""},this._ext
HighSandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
bin/cli.jsView on unpkg · L9 173Trigger-reachable command-output exfiltration chain: manifest.bin -> bin/cli.js
L173: Original error: ${n}
L174: `}async function z2({dryRun:t,operation:e}){try{return await e()}catch(n){throw new Error(USe({err:n,dryRun:t}),{cause:n})}}function na(t){return t instanceof Error?t:new Error(G(t...
L175: `).map((o,r)=>r>0?`${n}${o}`:o).join(`
L176: `)}logWithLevelHelper(e,n,...o){if(e<this.minLogLevel)return;let r=this.forcedStream??(e>=40?"stderr":"stdout"),i=(...u)=>{let d=t.redactedValues.length===0?u:u.map(p=>typeof p=="s...
L177: `).map((p,m)=>m>0?` ${p}`:p).join(`
L178: `)),i(" ",n(d));}}setMinLevel(e){typeof e=="string"?this.minLogLevel=sy[e]:this.minLogLevel=e;}setOutputStream(e){this.forcedStream=e;}log(...e){this.logWithLevel(30,Na.reset,...e...
L179: `)){let[o,r]=n.trim().split(/
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
bin/cli.jsView on unpkg · L173 131|| (${a} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(s,(0, Et._)`+${r}`);return;case "boolean":o.elseIf((0, Et._)`${r} === "false" || ${r} === 0 || ${r} === null...
L132: || ${a} === "boolean" || ${r} === null`).assign(s,(0, Et._)`[${r}]`);}}}function a9e({gen:t,parentData:e,parentDataProperty:n},o){t.if((0, Et._)`${e} !== undefined`,()=>t.assign((0...
L133: missingProperty: ${o},
LowEval
Package source references a known benign dynamic code generation pattern.
bin/cli.jsView on unpkg · L131 9import xne from 'truncate-json';
L10: import Na, { supportsColorStderr, supportsColor, Chalk } from 'chalk';
L11: import iEe from 'safe-stable-stringify';
...
L29: import { PostHog } from 'posthog-node';
L30: import * as CHe from 'child_process';
L31: import { execFile, execSync, exec, execFileSync } from 'child_process';
...
L36: import { registerInstrumentations } from '@opentelemetry/instrumentation';
L37: import { UndiciInstrumentation } from '@opentelemetry/instrumentation-undici';
L38: import { resourceFromAttributes, defaultResource } from '@opentelemetry/resources';
...
L128: var nye=Object.create;var PV=Object.defineProperty;var oye=Object.getOwnPropertyDescriptor;var rye=Object.getOwnPropertyNames;var iye=Object.getPrototypeOf,aye=Object.prototype.has...
L129: `:""},this._ext
LowWeak Crypto
Package source references weak cryptographic algorithms.
bin/cli.jsView on unpkg · L9