PkgRadar

Package evidence

@hasna/[email protected]

Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/todos $HOME/.hasna/todos/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
893
Versions published
173
First published
Feb 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 bytes2,451,919
Previous version0.11.52
Published2026-06-11T09:29:09.076Z
SHA-2565dadea2e5f434ccf5e4855ac9b0791eccdf35d3e98f5ea3a91e4f6c556c8358e

Why flagged

What the scanner saw

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

Evidence

Static findings

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

SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/todos $HOME/.hasna/todos/training 2>/dev/null || true"20
Show all 7 findings (low-signal and informational)
SeverityKindPathDetailPoints
highInstall Lifecycle Suppresses Failurepackage.jsonpostinstall="mkdir -p $HOME/.hasna/todos $HOME/.hasna/todos/training 2>/dev/null || true"20
lowCredential file accesspackage/dist/contracts.jsmatched "aws_access_key"5
lowCredential file accesspackage/dist/registry.jsmatched "aws_access_key"5
lowCredential file accesspackage/dist/storage.jsmatched "aws_access_key"5
lowInstall-time lifecycle scriptpackage.jsonpostinstall="mkdir -p $HOME/.hasna/todos $HOME/.hasna/todos/training 2>/dev/null || true"5
lowLarge Javascript Payloadpackage/dist/cli/index.js2484609 bytes0
lowLarge Javascript Payloadpackage/dist/server/index.js3053925 bytes0

Manifest

Package metadata

Scripts11
  • buildrm -rf dist dashboard/dist && cd dashboard && bun install --frozen-lockfile && bun run build && cd .. && bun build src/cli/index.tsx --outdir dist/cli --target bun --external ink --external react --external chalk --external @modelcontextprotocol/sdk && bun build src/mcp/index.ts --outdir dist/mcp --target bun --external @modelcontextprotocol/sdk && bun build src/server/index.ts --outdir dist/server --target bun && bun build src/sdk/index.ts --outdir dist/sdk --target bun && bun build src/index.ts src/mcp.ts src/registry.ts src/contracts.ts src/storage.ts --outdir dist --target bun && tsc --emitDeclarationOnly --outDir dist
  • build:dashboardcd dashboard && bun install --frozen-lockfile && bun run build
  • dev:clibun run src/cli/index.tsx
  • dev:mcpbun run src/mcp/index.ts
  • dev:servebun run src/server/index.ts
  • postinstallmkdir -p $HOME/.hasna/todos $HOME/.hasna/todos/training 2>/dev/null || true
  • prepublishOnlybun run verify:release
  • testbun test
  • test:no-cloudbun test src/no-cloud-boundary.test.ts src/local-first.test.ts src/lib/public-release-gate.test.ts
  • typechecktsc --noEmit
  • verify:releasebun run scripts/verify-public-release.ts
Dependencies6
  • @modelcontextprotocol/sdk^1.12.1
  • chalk^5.4.1
  • commander^13.1.0
  • ink^5.2.0
  • react^18.3.1
  • zod^3.24.2