PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/signatures/{documents,signed,signatures,cache} 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
7
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 bytes1,282,879
Previous version0.1.4
Published2026-04-01T19:48:45.878Z
SHA-256951e47dde85bce6779eb61e88c081dab8815792f9e9a92d7fc4b3346e441f54d

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/signatures/{documents,signed,signatures,cache} 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.1.5Version
Status history (1 event)
  1. newavailable · risk high · score 25 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/signatures/{documents,signed,signatures,cache} 2>/dev/null || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 79 day(s) ago, 7 total version(s), has lifecycle hook10
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/signatures/{documents,signed,signatures,cache} 2>/dev/null || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 79 day(s) ago, 7 total version(s), has lifecycle hook10
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/signatures/{documents,signed,signatures,cache} 2>/dev/null || true"5

Manifest

Package metadata

Scripts6
  • buildbun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external @hasna/attachments && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @hasna/attachments && bun build src/server/index.ts --outdir dist/server --target bun --external @hasna/attachments && bun build src/index.ts --outdir dist --target bun --external @hasna/attachments
  • dev:mcpbun run src/mcp/index.ts
  • dev:servebun run src/server/index.ts
  • postinstallmkdir -p $HOME/.hasna/signatures/{documents,signed,signatures,cache} 2>/dev/null || true
  • testbun test
  • typechecktsc --noEmit
Dependencies10
  • @hasna/attachmentslatest
  • @hasna/cloud^0.1.24
  • @modelcontextprotocol/sdk^1.0.0
  • chalk^5.3.0
  • commander^12.0.0
  • ink^5.0.0
  • nanoid^5.0.7
  • pdf-lib^1.17.1
  • react^18.2.0
  • zod^3.22.4