PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/secrets 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
26
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 bytes417,373
Previous version0.1.22
Published2026-05-28T13:11:17.481Z
SHA-25651b93cd782f24eb1d6b9ea22020e2d175c27c6bbe119f64b9d5643ca94fa7e8c

Why flagged

What the scanner saw

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

Manifest

Package metadata

Scripts5
  • buildbun build src/index.ts --outdir dist --target bun --format esm && chmod +x dist/index.js
  • build:binbun build src/index.ts --compile --outfile dist/secrets
  • postinstallmkdir -p $HOME/.hasna/secrets 2>/dev/null || true
  • prepublishOnlybun run build
  • testbun test
Dependencies3
  • @aws-sdk/client-secrets-manager^3.1008.0
  • @hasna/cloud^0.1.30
  • @modelcontextprotocol/sdk^1.27.1