PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/wallets 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
9
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 bytes210,933
Previous version0.1.6
Published2026-03-23T15:33:17.195Z
SHA-256cc08af0e239f0a5ab3b5f05b37e2eac56eb0f257500096936e747d77a539141b

Why flagged

What the scanner saw

New Lifecycle Script Vs Previous: postinstall added in 0.1.7 vs 0.1.6: "mkdir -p $HOME/.hasna/wallets 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
65Score
0.1.7Version
Status history (1 event)
  1. newavailable · risk high · score 65 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.7 vs 0.1.6: "mkdir -p $HOME/.hasna/wallets 2>/dev/null || true"40
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/wallets 2>/dev/null || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 88 day(s) ago, 9 total version(s), has lifecycle hook10
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Lifecycle Script Vs Previouspackage.jsonpostinstall added in 0.1.7 vs 0.1.6: "mkdir -p $HOME/.hasna/wallets 2>/dev/null || true"40
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/wallets 2>/dev/null || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 88 day(s) ago, 9 total version(s), has lifecycle hook10
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/wallets 2>/dev/null || true"5

Manifest

Package metadata

Scripts6
  • buildbun build src/cli/index.ts --outdir dist/cli --target bun --external chalk --external commander --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk && bun build src/index.ts --outdir dist --target bun && tsc --emitDeclarationOnly --outDir dist
  • dev:clibun run src/cli/index.ts
  • dev:mcpbun run src/mcp/index.ts
  • postinstallmkdir -p $HOME/.hasna/wallets 2>/dev/null || true
  • testbun test
  • typechecktsc --noEmit
Dependencies5
  • @hasna/cloud^0.1.1
  • @modelcontextprotocol/sdk^1.12.1
  • chalk^5.4.1
  • commander^13.1.0
  • zod^3.24.2