PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/deployment 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
371
Versions published
11
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 bytes518,216
Previous version0.0.9
Published2026-05-28T14:37:58.216Z
SHA-256f7a7d53f487521fae35e748767a93386f5ad0415e07c669fef9385dd738c14f3

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/deployment 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
50Score
0.0.10Version
Status history (2 events)
  1. availableavailable · risk high · score 50 · status available -> available, risk high -> high, score 145 -> 50
  2. newavailable · risk high · score 145 · 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/deployment 2>/dev/null || true"20
mediumCredential file accesspackage/dist/server/index.jsmatched "AWS_ACCESS_KEY"10
Show all 6 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/deployment 2>/dev/null || true"20
mediumCredential file accesspackage/dist/server/index.jsmatched "AWS_ACCESS_KEY"10
lowCredential file accesspackage/dist/cli/index.jsmatched "AWS_ACCESS_KEY"5
lowCredential file accesspackage/dist/index.jsmatched "AWS_ACCESS_KEY"5
lowCredential file accesspackage/dist/mcp/index.jsmatched "AWS_ACCESS_KEY"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/deployment 2>/dev/null || true"5

Manifest

Package metadata

Scripts10
  • buildbun build src/cli/index.ts --outdir dist/cli --target bun --external commander --external chalk --external @modelcontextprotocol/sdk --external hono --external @hasna/secrets && 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 --external hono && bun build src/index.ts --outdir dist --target bun && tsc --emitDeclarationOnly --outDir dist
  • build:dashboardcd dashboard && bun run build
  • dev:clibun run src/cli/index.ts
  • dev:mcpbun run src/mcp/index.ts
  • dev:servebun run src/server/index.ts
  • postinstallmkdir -p $HOME/.hasna/deployment 2>/dev/null || true
  • prepublishOnlybun run build
  • testbun test
  • test:coveragebun test --coverage
  • typechecktsc --noEmit
Dependencies6
  • @hasna/cloud^0.1.24
  • @modelcontextprotocol/sdk^1.12.1
  • chalk^5.4.1
  • commander^13.1.0
  • hono^4.7.4
  • zod^3.24.2