PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/sessions 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.

Versions published
69
First published
Mar 2026
Publisher
andreihasna2

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 bytes114,369
Previous version0.11.22
Published2026-05-28T15:56:38.550Z
SHA-256d8c23b98475c28c280d4a9eb6f3419cecd9448161cf94d68483873f780cbc666

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/sessions 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
25Score
0.11.23Version
Status history (2 events)
  1. availableavailable · risk high · score 25 · status available -> available, risk high -> high, score 17 -> 25
  2. newavailable · risk high · score 17 · 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/sessions 2>/dev/null || true"20
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/sessions 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/sessions 2>/dev/null || true"5

Manifest

Package metadata

Scripts10
  • buildbun run build:cli && bun run build:mcp && bun run build:server && bun run build:lib && tsc --emitDeclarationOnly --outDir dist
  • build:clibun build src/cli/index.tsx --outdir dist/cli --target bun --packages external
  • build:libbun build src/index.ts --outdir dist --target bun --packages external
  • build:mcpbun build src/mcp/index.ts --outdir dist/mcp --target bun --packages external
  • build:serverbun build src/server/index.ts --outdir dist/server --target bun --packages external
  • dev:clibun run src/cli/index.tsx
  • dev:ingestbun run src/cli/index.tsx ingest --verbose
  • postinstallmkdir -p $HOME/.hasna/sessions 2>/dev/null || true
  • testbun test
  • typechecktsc --noEmit
Dependencies9
  • @hasna/cloud^0.1.24
  • @inkjs/ui^2.0.0
  • @modelcontextprotocol/sdk^1.27.1
  • chalk^5.6.2
  • commander^13.0.0
  • ink^6.8.0
  • openai^6.32.0
  • react^19.2.4
  • zod^4.3.6