PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/assistants/{logs,temp,messages,backups,connectors,workspaces,agents} 2>/dev/null || true; node scripts/patch-opentui.mjs 2>/dev/null || true"

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
1,121Niche · −30% score
Versions published
197
First published
Feb 2026
Publisher
andreihasna2

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

Recommended action

Block this update

Static evidence trips multiple high-signal indicators. Quarantine the release until the publisher validates the change or you can rule out the indicators below.

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":["@hasna/[email protected]"],"fail_on":"high"}'

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":["@hasna/[email protected]"],"fail_on":"high"}'
Publisherandreihasna2
Artifact bytes16,768,156
Previous version1.1.140
Published2026-05-26T18:09:45.010Z
SHA-256b3d15f0bd4dc22f28bf084f3f5cdc55bb6923de43c41a1e68897a5513603efde

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/assistants/{logs,temp,messages,backups,connectors,workspaces,agents} 2>/dev/null || true; node scripts/patch-opentui.mjs 2>/dev/null || true"

1 candidate cluster(s) currently reference this release.

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

Availability ledger

available

high
Last checked
highRisk
17Score
1.1.141Version
Status history (4 events)
  1. availableavailable · risk high · score 17 · status available -> available, risk high -> high, score 25 -> 17
  2. availableavailable · risk high · score 25 · status available -> available, risk high -> high, score 17 -> 25
  3. availableavailable · risk high · score 17 · status available -> available, risk high -> high, score 24 -> 17
  4. newavailable · risk high · score 24 · status changed

Related candidates

Linked campaigns and clusters

Publisher / release actor burstactive

andreihasna2

330 members · evidence strength 79
Publisher / release actor burstcandidate

andreihasna2

330 members · max score 75

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/assistants/{logs,temp,messages,backups,connectors,workspaces,agents} 2>/dev/null || true; node scripts/patch-opentui.mjs 2>/dev/null || true"20
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/assistants/{logs,temp,messages,backups,connectors,workspaces,agents} 2>/dev/null || true; node scripts/patch-opentui.mjs 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/assistants/{logs,temp,messages,backups,connectors,workspaces,agents} 2>/dev/null || true; node scripts/patch-opentui.mjs 2>/dev/null || true"5
lowLarge Javascript Payloadpackage/dist/index.js41472584 bytes0

Manifest

Package metadata

Scripts10
  • buildbun run build.ts
  • build:packagesturbo run build
  • cleanturbo run clean && rm -rf node_modules dist
  • devbun run packages/terminal/src/index.tsx
  • lintturbo run lint
  • postinstallmkdir -p $HOME/.hasna/assistants/{logs,temp,messages,backups,connectors,workspaces,agents} 2>/dev/null || true; node scripts/patch-opentui.mjs 2>/dev/null || true
  • prepublishOnlybun run build
  • testturbo run test
  • test:coverageturbo run test -- --coverage
  • typecheckturbo run typecheck
Dependencies3
  • @hasna/cloud^0.1.24
  • @opentui/core0.1.91
  • @opentui/react0.1.91