Package evidence
@hasna/[email protected]
Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/domains 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
- 900
- Versions published
- 19
- First published
- Mar 2026
- Publisher
- andreihasna2
Recommended action
Block this updateStatic 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"}'Why flagged
What the scanner saw
Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/domains 2>/dev/null || true"
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (1 event)
- new → available · risk high · score 30 · status changed
Evidence
Static findings
3 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="mkdir -p $HOME/.hasna/domains 2>/dev/null || true" | 20 |
Show all 3 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="mkdir -p $HOME/.hasna/domains 2>/dev/null || true" | 20 |
| low | Credential file access | package/dist/index.js | matched "AWS_ACCESS_KEY" | 5 |
| low | Install-time lifecycle script | package.json | postinstall="mkdir -p $HOME/.hasna/domains 2>/dev/null || true" | 5 |
Manifest
Package metadata
Scripts7
buildbun build src/cli/index.ts --outdir dist/cli --target bun --external ink --external react --external chalk --external ink-text-input --external @modelcontextprotocol/sdk --external @hasna/cloud && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk --external @hasna/cloud && bun build src/index.ts --outdir dist --target bun --external @hasna/cloud && tsc --emitDeclarationOnly --outDir distdev:clibun run src/cli/index.tsdev:mcpbun run src/mcp/index.tspostinstallmkdir -p $HOME/.hasna/domains 2>/dev/null || trueprepublishOnlybun run buildtestbun testtypechecktsc --noEmit
Dependencies12
@aws-sdk/client-route-53^3.1017.0@aws-sdk/client-route-53-domains^3.1017.0@hasna/cloud^0.1.24@hasna/contacts^0.6.16@hasna/wallets^0.1.7@modelcontextprotocol/sdk^1.12.1chalk^5.4.1commander^13.1.0ink^5.2.0ink-text-input^6.0.0react^18.3.1zod^3.24.2