PkgRadar

Package evidence

@hasna/[email protected]

New Account With Lifecycle Hook: package first published 13 day(s) ago, 4 total version(s), has lifecycle hook

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
496
Versions published
4
First published
May 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,573,698
Previous version0.1.14
Published2026-05-28T15:51:23.256Z
SHA-256f57a10cd5d398a21226276224084177993f591ca6fdc2bf08b937a5cf53c3263

Why flagged

What the scanner saw

New Account With Lifecycle Hook: package first published 13 day(s) ago, 4 total version(s), has lifecycle hook

Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.

Availability ledger

available

high
Last checked
highRisk
35Score
0.1.15Version
Status history (2 events)
  1. availableavailable · risk high · score 35 · status available -> available, risk high -> high, score 85 -> 35
  2. newavailable · risk high · score 85 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highNew Account With Lifecycle Hookpackage.jsonpackage first published 13 day(s) ago, 4 total version(s), has lifecycle hook25
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/shield 2>/dev/null || true"20
Show all 6 findings (low-signal and informational)
SeverityKindPathDetailPoints
highNew Account With Lifecycle Hookpackage.jsonpackage first published 13 day(s) ago, 4 total version(s), has lifecycle hook25
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/shield 2>/dev/null || true"20
lowCredential file accesspackage/dist/cli/index.jsmatched "aws_secret_access_key"5
lowCredential file accesspackage/dist/index.jsmatched "aws_secret_access_key"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/shield 2>/dev/null || true"5
lowLarge Javascript Payloadpackage/dist/server/index.js2060035 bytes0

Manifest

Package metadata

Scripts15
  • buildbun run build:lib && bun run build:cli && bun run build:mcp && bun run build:server && bun run build:dashboard
  • build:clibun build src/cli/index.tsx --outfile dist/cli/index.js --target node
  • build:dashboardcd dashboard && bun run build
  • build:libbun build src/index.ts --outdir dist --target node
  • build:mcpbun build src/mcp/index.ts --outfile dist/mcp/index.js --target node
  • build:serverbun build src/server/index.ts --outfile dist/server/index.js --target node
  • cleanrm -rf dist dashboard/dist
  • dev:clibun run src/cli/index.tsx
  • dev:mcpbun run src/mcp/index.ts
  • dev:servebun run src/server/index.ts
  • lintbiome check src/
  • postinstallmkdir -p $HOME/.hasna/shield 2>/dev/null || true
  • testbun test
  • test:coveragebun test --coverage
  • typechecktsc --noEmit
Dependencies10
  • @hasna/cloud^0.1.24
  • @modelcontextprotocol/sdk^1.29.0
  • better-sqlite3^11.8.1
  • chalk^5.4.1
  • commander^13.1.0
  • express^5.1.0
  • ink^5.2.0
  • openai^4.86.2
  • react^19.1.0
  • zod^3.24.4