PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/coders 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
33
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 bytes4,673,240
Previous version0.2.4
Published2026-05-28T10:08:17.288Z
SHA-2565223adeece3a642f9b57546adcd55d671154a7c6ce5eb1528536e5c2a8ae78b4

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/coders 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.2.5Version
Status history (2 events)
  1. availableavailable · risk high · score 25 · status available -> available, risk high -> high, score 45 -> 25
  2. newavailable · risk high · score 45 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/coders 2>/dev/null || true"20
Show all 4 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/coders 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/coders 2>/dev/null || true"5
lowLarge Javascript Payloadpackage/dist/cli.mjs4417669 bytes0
lowLarge Javascript Payloadpackage/dist/coders-mcp.mjs4417934 bytes0

Manifest

Package metadata

Scripts10
  • buildtsx esbuild.config.ts
  • cleanrm -rf dist/
  • devtsx src/cli/index.ts
  • linteslint src/
  • postinstallmkdir -p $HOME/.hasna/coders 2>/dev/null || true
  • startnode dist/cli.js
  • testvitest run
  • test:coveragevitest run --coverage
  • test:watchvitest
  • typechecktsc --noEmit
Dependencies12
  • @anthropic-ai/sdk^0.52.0
  • @hasna/cloud^0.1.24
  • @modelcontextprotocol/sdk^1.12.0
  • axios1.13.6
  • better-sqlite3^12.8.0
  • commander^13.0.0
  • execa^9.5.0
  • fast-glob^3.3.0
  • ink^5.1.0
  • marked^15.0.0
  • react^18.3.0
  • zod^3.24.0
Optional dependencies14
  • @hasna/attachments*
  • @hasna/brains*
  • @hasna/configs*
  • @hasna/connectors*
  • @hasna/conversations*
  • @hasna/economy*
  • @hasna/mementos*
  • @hasna/prompts*
  • @hasna/recordings*
  • @hasna/sandboxes*
  • @hasna/sessions*
  • @hasna/skills*
  • @hasna/todos*
  • @hasna/wallets*