PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/styles 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
311
Versions published
6
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 bytes708,446
Previous version0.1.3
Published2026-05-28T10:04:36.926Z
SHA-256a816f85ac13448ffd2c5023044cb85075cd0ecf79c4cb218fbc9d76154eb9d1a

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/styles 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.4Version
Status history (2 events)
  1. availableavailable · risk high · score 25 · status available -> available, risk high -> high, score 55 -> 25
  2. newavailable · risk high · score 55 · 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/styles 2>/dev/null || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 79 day(s) ago, 6 total version(s), has lifecycle hook10
Show all 3 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/styles 2>/dev/null || true"20
mediumNew Account With Lifecycle Hookpackage.jsonpackage first published 79 day(s) ago, 6 total version(s), has lifecycle hook10
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/styles 2>/dev/null || true"5

Manifest

Package metadata

Scripts12
  • buildbun run clean && bun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk --external playwright && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun --external playwright --external ink --external react --external react-devtools-core && bun build ./src/index.ts --outdir ./dist --target bun --external playwright && (tsc --emitDeclarationOnly --declaration --outDir dist || true) && for f in ./bin/index.js ./bin/mcp.js; do if [ -f "$f" ] && ! head -1 "$f" | grep -q '^#!'; then printf '#!/usr/bin/env bun\n' | cat - "$f" > "$f.tmp" && mv "$f.tmp" "$f" && chmod +x "$f"; fi; done
  • cleanrm -rf bin/ dist/
  • dashboard:buildcd dashboard && bun install && bun run build
  • dashboard:devcd dashboard && bun run dev
  • devbun run ./src/cli/index.tsx
  • dev:mcpbun --watch run ./src/mcp/index.ts
  • postinstallmkdir -p $HOME/.hasna/styles 2>/dev/null || true
  • prepublishOnlybun run build
  • serverbun run src/server/serve.ts
  • server:devbun --watch run src/server/serve.ts
  • testbun test
  • typechecktsc --noEmit
Dependencies11
  • @hasna/cloud^0.1.24
  • @modelcontextprotocol/sdk^1.26.0
  • chalk^5.3.0
  • commander^12.1.0
  • ink^5.0.1
  • ink-select-input^6.0.0
  • ink-spinner^5.0.0
  • ink-text-input^6.0.0
  • playwright^1.58.2
  • react^18.2.0
  • zod^4.3.6