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 updateStatic 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"}'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
Status history (2 events)
- available → available · risk high · score 35 · status available -> available, risk high -> high, score 85 -> 35
- new → available · risk high · score 85 · status changed
Evidence
Static findings
6 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Account With Lifecycle Hook | package.json | package first published 13 day(s) ago, 4 total version(s), has lifecycle hook | 25 |
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="mkdir -p $HOME/.hasna/shield 2>/dev/null || true" | 20 |
Show all 6 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | New Account With Lifecycle Hook | package.json | package first published 13 day(s) ago, 4 total version(s), has lifecycle hook | 25 |
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="mkdir -p $HOME/.hasna/shield 2>/dev/null || true" | 20 |
| low | Credential file access | package/dist/cli/index.js | matched "aws_secret_access_key" | 5 |
| low | Credential file access | package/dist/index.js | matched "aws_secret_access_key" | 5 |
| low | Install-time lifecycle script | package.json | postinstall="mkdir -p $HOME/.hasna/shield 2>/dev/null || true" | 5 |
| low | Large Javascript Payload | package/dist/server/index.js | 2060035 bytes | 0 |
Manifest
Package metadata
Scripts15
buildbun run build:lib && bun run build:cli && bun run build:mcp && bun run build:server && bun run build:dashboardbuild:clibun build src/cli/index.tsx --outfile dist/cli/index.js --target nodebuild:dashboardcd dashboard && bun run buildbuild:libbun build src/index.ts --outdir dist --target nodebuild:mcpbun build src/mcp/index.ts --outfile dist/mcp/index.js --target nodebuild:serverbun build src/server/index.ts --outfile dist/server/index.js --target nodecleanrm -rf dist dashboard/distdev:clibun run src/cli/index.tsxdev:mcpbun run src/mcp/index.tsdev:servebun run src/server/index.tslintbiome check src/postinstallmkdir -p $HOME/.hasna/shield 2>/dev/null || truetestbun testtest:coveragebun test --coveragetypechecktsc --noEmit
Dependencies10
@hasna/cloud^0.1.24@modelcontextprotocol/sdk^1.29.0better-sqlite3^11.8.1chalk^5.4.1commander^13.1.0express^5.1.0ink^5.2.0openai^4.86.2react^19.1.0zod^3.24.4