PkgRadar

Package evidence

@companion-ai/[email protected]

Js Hidden Powershell: Hidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.

Trust signals

Why this verdict

PkgRadar discounts a release’s score when public reputation argues against novel malware. The verdict above already reflects these — the panel just explains what was applied.

Weekly downloads
336
Versions published
59
First published
Mar 2026
Publisher
GitHub ActionsTrusted automation · −70% score

Effective trust discount applied: 70% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.

Recommended action

Review before promoting

Mixed signals: the package has indicators worth reading before allowing the update in automated dependency flows.

Block this release in CIcurl · GitHub Actions

Fail the build when this package version is added or upgraded. Replace $PKGRADAR_TOKEN with a Pro / Team API key from your dashboard.

curl -fsS https://pkgradar.com/gate/npm \
  -H "Authorization: Bearer $PKGRADAR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"specs":["@companion-ai/[email protected]"],"fail_on":"review"}'

GitHub Actions step:

- name: PkgRadar gate
  run: |
    curl -fsS https://pkgradar.com/gate/npm \
      -H "Authorization: Bearer ${{ secrets.PKGRADAR_TOKEN }}" \
      -H "Content-Type: application/json" \
      -d '{"specs":["@companion-ai/[email protected]"],"fail_on":"review"}'
Artifact bytes38,612,804
Previous version0.2.60
Published2026-06-11T21:39:24.582Z
SHA-2566b8a3dad4343037540467b12d1e9dfa190af4a6af2b4e5fe665384270f5e532a

Why flagged

What the scanner saw

Js Hidden Powershell: Hidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

review
Last checked
reviewRisk
18Score
0.2.61Version
Status history (1 event)
  1. newavailable · risk review · score 18 · status changed

Evidence

Static findings

5 static · 0 from release diff · showing high-signal first.

SeverityKindPathDetailPoints
highJs Hidden Powershellpackage/bin/feynman.jsHidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.45
highJs Hidden Powershellpackage/dist/system/node-version.jsHidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.45
highJs Hidden Powershellpackage/dist/system/self-update.jsHidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.45
Show all 5 findings (low-signal and informational)
SeverityKindPathDetailPoints
highJs Hidden Powershellpackage/bin/feynman.jsHidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.45
highJs Hidden Powershellpackage/dist/system/node-version.jsHidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.45
highJs Hidden Powershellpackage/dist/system/self-update.jsHidden / non-interactive PowerShell invocation in package code — `-WindowStyle Hidden`, `irm | iex`, `windowsHide: true`, or equivalent — used to download-and-run payloads on Windows installers.45
lowCredential file accesspackage/dist/model/commands.jsmatched "AWS_ACCESS_KEY"5
lowInstall-time lifecycle scriptpackage.jsonpreinstall="node ./scripts/check-node-version.mjs"5

Manifest

Package metadata

Scripts9
  • buildtsc -p tsconfig.build.json
  • build:native-bundlenode ./scripts/build-native-bundle.mjs
  • devtsx src/index.ts
  • preinstallnode ./scripts/check-node-version.mjs
  • prepacknode ./scripts/clean-publish-artifacts.mjs && npm run build && node ./scripts/prepare-runtime-workspace.mjs
  • starttsx src/index.ts
  • start:distnode ./bin/feynman.js
  • testnode --import tsx --test --test-concurrency=1 tests/*.test.ts
  • typechecktsc --noEmit
Dependencies6
  • @clack/prompts^1.5.1
  • @companion-ai/alpha-hub^0.1.3
  • @earendil-works/pi-ai0.74.2
  • @earendil-works/pi-coding-agent0.74.2
  • @sinclair/typebox^0.34.49
  • dotenv^17.4.2