PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/economy/training 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
520
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 bytes194,200
Previous version0.2.29
Published2026-06-05T15:32:34.304Z
SHA-25647d30f4d61d707d772795928f048c63337c1c3e104b7e7b210fd7c24179d1c26

Why flagged

What the scanner saw

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/economy/training 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.30Version
Status history (1 event)
  1. newavailable · risk high · score 25 · status changed

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/economy/training 2>/dev/null || true"20
Show all 2 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/economy/training 2>/dev/null || true"20
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/economy/training 2>/dev/null || true"5

Manifest

Package metadata

Scripts13
  • buildcd dashboard && bun run build && cd .. && bun build src/cli/index.ts --outdir dist/cli --target bun --packages external && bun build src/mcp/index.ts --outdir dist/mcp --target bun --packages external && bun build src/server/index.ts --outdir dist/server --target bun --packages external && bun build src/otel/index.ts --outdir dist/otel --target bun --packages external && bun build src/index.ts --outdir dist --target bun --packages external && tsc --emitDeclarationOnly --outDir dist
  • build:clibun build src/cli/index.ts --outdir dist/cli --target bun --packages external
  • build:dashboardcd dashboard && bun run build
  • build:libbun build src/index.ts --outdir dist --target bun --packages external
  • build:mcpbun build src/mcp/index.ts --outdir dist/mcp --target bun --packages external
  • build:serverbun build src/server/index.ts --outdir dist/server --target bun --packages external
  • dev:clibun run src/cli/index.ts
  • dev:mcpbun run src/mcp/index.ts
  • dev:otelbun run src/otel/index.ts
  • dev:servebun run src/server/index.ts
  • postinstallmkdir -p $HOME/.hasna/economy/training 2>/dev/null || true
  • testbun test
  • typechecktsc --noEmit
Dependencies7
  • @hasna/accounts0.1.6
  • @hasna/cloud^0.1.24
  • @hasna/projects0.1.51
  • @modelcontextprotocol/sdk^1.12.1
  • chalk^5.4.1
  • commander^13.1.0
  • zod^3.24.2