scanned 7 file(s), 4.35 MB of source, external domains: access.redhat.com, adoptium.net, api.limrun.com, api.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, 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 Cn__default, { statSync, readFileSync, writeFileSync, existsSync, mkdirSync, unlinkSync, renameSync, readdir, readdirSync, rmSync, appendFileSync, watch } from 'fs';
import xHe from 'readline';
import { createInterface } from 'node:readline';
import yO, { mkdtemp, writeFile, rm, readdir as readdir$1, stat, unlink } from 'fs/promises';
`)),i(" ",n(d));}}setMinLevel(e){typeof e=="string"?this.minLogLevel=Py[e]:this.minLogLevel=e;}setOutputStream(e){this.forcedStream=e;}log(...e){this.logWithLevel(30,Ua.reset,...e...
`)}function rY(t){return t instanceof Error&&"code"in t&&typeof t.code=="string"}function iY(t,e){let n
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 Cn__default, { statSync, readFileSync, writeFileSync, existsSync, mkdirSync, unlinkSync, renameSync, readdir, readdirSync, rmSync, appendFileSync, watch } from 'fs';
import yO, { mkdtemp, writeFile, rm, readdir as readdir$1, stat, unlink } from 'fs/promises';
|| ${a} === "boolean" || ${r} === null`).assign(s,(0, vt._)`[${r}]`);}}}function Z8e({gen:t,parentData:e,parentDataProperty:n},o){t.if((0, vt._)`${e} !== undefined`,()=>t.assign((0...
`}async function fH({dryRun:t,operation:e}){try{return await e()}catch(n){throw new Error($Te({err:n,dryRun:t}),{cause:n})}}function Hr(t){return t instanceof Error?t:new Error(W(t...
`)),i(" ",n(d));
HighEntrypoint Foreign Package Code Overwrite
Manifest-reachable source overwrites another installed package with package-defined remote behavior.
bin/cli.jsView on unpkg 176Original error: ${n}
L177: `}async function fH({dryRun:t,operation:e}){try{return await e()}catch(n){throw new Error($Te({err:n,dryRun:t}),{cause:n})}}function Hr(t){return t instanceof Error?t:new Error(W(t...
L178: `).map((o,r)=>r>0?`${n}${o}`:o).join(`
L179: `)}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...
L180: `).map((p,m)=>m>0?` ${p}`:p).join(`
L181: `)),i(" ",n(d));}}setMinLevel(e){typeof e=="string"?this.minLogLevel=Py[e]:this.minLogLevel=e;}setOutputStream(e){this.forcedStream=e;}log(...e){this.logWithLevel(30,Ua.reset,...e...
L182: `)){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 · L176 9import boe from 'truncate-json';
L10: import Ua, { supportsColorStderr, supportsColor, Chalk } from 'chalk';
L11: import sve from 'safe-stable-stringify';
...
L29: import { PostHog } from 'posthog-node';
L30: import * as dGe 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';
...
L131: var rSe=Object.create;var r2=Object.defineProperty;var iSe=Object.getOwnPropertyDescriptor;var aSe=Object.getOwnPropertyNames;var sSe=Object.getPrototypeOf,lSe=Object.prototype.has...
L132: `:""},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 176Trigger-reachable command-output exfiltration chain: manifest.bin -> bin/cli.js
L176: Original error: ${n}
L177: `}async function fH({dryRun:t,operation:e}){try{return await e()}catch(n){throw new Error($Te({err:n,dryRun:t}),{cause:n})}}function Hr(t){return t instanceof Error?t:new Error(W(t...
L178: `).map((o,r)=>r>0?`${n}${o}`:o).join(`
L179: `)}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...
L180: `).map((p,m)=>m>0?` ${p}`:p).join(`
L181: `)),i(" ",n(d));}}setMinLevel(e){typeof e=="string"?this.minLogLevel=Py[e]:this.minLogLevel=e;}setOutputStream(e){this.forcedStream=e;}log(...e){this.logWithLevel(30,Ua.reset,...e...
L182: `)){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 · L176 134|| (${a} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(s,(0, vt._)`+${r}`);return;case "boolean":o.elseIf((0, vt._)`${r} === "false" || ${r} === 0 || ${r} === null...
L135: || ${a} === "boolean" || ${r} === null`).assign(s,(0, vt._)`[${r}]`);}}}function Z8e({gen:t,parentData:e,parentDataProperty:n},o){t.if((0, vt._)`${e} !== undefined`,()=>t.assign((0...
L136: missingProperty: ${o},
LowEval
Package source references a known benign dynamic code generation pattern.
bin/cli.jsView on unpkg · L134 9import boe from 'truncate-json';
L10: import Ua, { supportsColorStderr, supportsColor, Chalk } from 'chalk';
L11: import sve from 'safe-stable-stringify';
...
L29: import { PostHog } from 'posthog-node';
L30: import * as dGe 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';
...
L131: var rSe=Object.create;var r2=Object.defineProperty;var iSe=Object.getOwnPropertyDescriptor;var aSe=Object.getOwnPropertyNames;var sSe=Object.getPrototypeOf,lSe=Object.prototype.has...
L132: `:""},this._ext
LowWeak Crypto
Package source references weak cryptographic algorithms.
bin/cli.jsView on unpkg · L9