PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/emails 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,946Niche · −30% score
Versions published
97
First published
Mar 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 bytes9,789,545
Previous version0.6.2
Published2026-06-05T07:38:42.984Z
SHA-2560a78a8f84091859db41537c3b15d4945dd694faf83789d2c693dab9718cf550a

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/emails 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.6.3Version
Status history (1 event)
  1. newavailable · risk high · score 17 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/emails 2>/dev/null || true"20
Show all 6 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/emails 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/emails 2>/dev/null || true"5
lowLarge Javascript Payloadpackage/dist/cli/index.js39004393 bytes0
lowLarge Javascript Payloadpackage/dist/index.js34117954 bytes0
lowLarge Javascript Payloadpackage/dist/mcp/index.js38745901 bytes0
lowLarge Javascript Payloadpackage/dist/server/index.js36447753 bytes0

Manifest

Package metadata

Scripts6
  • buildbun build src/cli/index.tsx --outdir dist/cli --target bun --external @opentui/core --external @opentui/react --external react --external chalk --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun && bun build src/index.ts --outdir dist --target bun && bun build src/db/pg-migrations.ts --outdir dist/db --target bun && tsc --emitDeclarationOnly --outDir dist
  • dev:clibun run src/cli/index.tsx
  • dev:mcpbun run src/mcp/index.ts
  • dev:servebun run src/server/index.ts
  • postinstallmkdir -p $HOME/.hasna/emails 2>/dev/null || true
  • testbun test
Dependencies22
  • @aws-sdk/client-iam^3.1020.0
  • @aws-sdk/client-s3^3.1020.0
  • @aws-sdk/client-ses^3.1020.0
  • @aws-sdk/client-sesv2^3.0.0
  • @aws-sdk/client-sns3.1017.0
  • @aws-sdk/client-sqs3.1017.0
  • @aws-sdk/client-sts3.1017.0
  • @aws-sdk/credential-provider-ini^3.972.27
  • @hasna/cloud^0.1.24
  • @hasna/connectors^1.3.30
  • @hasna/domains0.0.14
  • @modelcontextprotocol/sdk^1.12.1
  • @opentui/core0.3.2
  • @opentui/react0.3.2
  • chalk^5.4.1
  • commander^13.1.0
  • googleapis^171.4.0
  • mailparser^3.9.6
  • marked14.1.4
  • react19.2.0
  • resend^4.0.0
  • zod^3.24.2