PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/conversations $HOME/.hasna/conversations/training 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,123Niche · −30% score
Versions published
95
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 bytes998,106
Previous version0.2.49
Published2026-05-28T14:34:25.690Z
SHA-256dd39af17ed34e05abaeb0335c50e4413af5b8faeb37bdc54fea5ee75529b5571

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/conversations $HOME/.hasna/conversations/training 2>/dev/null || true"

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

Availability ledger

available

high
Last checked
highRisk
17Score
0.2.50Version
Status history (3 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 75 -> 25
  3. newavailable · risk high · score 75 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/conversations $HOME/.hasna/conversations/training 2>/dev/null || true"20
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/conversations $HOME/.hasna/conversations/training 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/conversations $HOME/.hasna/conversations/training 2>/dev/null || true"5

Manifest

Package metadata

Scripts7
  • buildbun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/hooks/blocker-hook.ts --outfile ./bin/hook.js --target bun && bun build ./src/index.ts --outdir ./dist --target bun && (tsc --emitDeclarationOnly --declaration --outDir dist || true)
  • build:dashboardcd dashboard && bun install && bun run build
  • devbun run ./src/cli/index.tsx
  • postinstallmkdir -p $HOME/.hasna/conversations $HOME/.hasna/conversations/training 2>/dev/null || true
  • prepublishOnlybun run build:dashboard && bun run build
  • testbun test
  • typechecktsc --noEmit
Dependencies11
  • @hasna/cloud^0.1.30
  • @modelcontextprotocol/sdk^1.26.0
  • chalk^5.3.0
  • commander^12.1.0
  • ink^5.0.1
  • ink-select-input^6.0.0
  • ink-spinner^5.0.0
  • ink-text-input^6.0.0
  • pg^8.20.0
  • react^18.2.0
  • zod^4.3.6