Package evidence
@hasna/[email protected]
Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ \"$SKIP_DASHBOARD\" = \"1\" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)"
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
- 2,020Niche · −30% score
- Versions published
- 124
- First published
- Feb 2026
- Publisher
- andreihasna2
Effective trust discount applied: −30% (max across signals — discounts don’t stack). New install-lifecycle deltas vs the previous release would clear the discount.
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
Install Lifecycle Suppresses Failure: postinstall="mkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ \"$SKIP_DASHBOARD\" = \"1\" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)"
Not observed: package install, lifecycle script execution, or sandbox execution. PkgRadar only inspects on-disk artifacts.
Availability ledger
available
Status history (3 events)
- available → available · risk high · score 38 · status available -> available, risk high -> high, score 55 -> 38
- available → available · risk high · score 55 · status available -> available, risk high -> high, score 161 -> 55
- new → available · risk high · score 161 · status changed
Evidence
Static findings
8 static · 0 from release diff · showing high-signal first.
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="mkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ \"$SKIP_DASHBOARD\" = \"1\" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)" | 20 |
Show all 8 findings (low-signal and informational)
| Severity | Kind | Path | Detail | Points |
|---|---|---|---|---|
| high | Install Lifecycle Suppresses Failure | package.json | postinstall="mkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ \"$SKIP_DASHBOARD\" = \"1\" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)" | 20 |
| low | Credential file access | package/connectors/aws/src/utils/config.ts | matched "AWS_ACCESS_KEY" | 5 |
| low | Credential file access | package/connectors/googlecloud/src/utils/config.ts | matched "GOOGLE_APPLICATION_CREDENTIALS" | 5 |
| low | Credential file access | package/connectors/aws/src/api/index.ts | matched "AWS_ACCESS_KEY" | 5 |
| low | Credential file access | package/connectors/aws/src/cli/index.ts | matched "AWS_ACCESS_KEY" | 5 |
| low | Credential file access | package/connectors/googlecloud/src/api/index.ts | matched "GOOGLE_APPLICATION_CREDENTIALS" | 5 |
| low | Credential file access | package/connectors/googlecloud/src/cli/index.ts | matched "GOOGLE_APPLICATION_CREDENTIALS" | 5 |
| low | Install-time lifecycle script | package.json | postinstall="mkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ \"$SKIP_DASHBOARD\" = \"1\" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)" | 5 |
Manifest
Package metadata
Scripts8
buildcd dashboard && bun run build && cd .. && bun build ./src/cli/index.tsx --outdir ./bin --target bun --external ink --external react --external chalk --external conf && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/serve.js --target bun && bun build ./src/index.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --outDir ./distbuild:dashboardcd dashboard && bun run builddevbun run ./src/cli/index.tsxpostinstallmkdir -p $HOME/.hasna/connectors 2>/dev/null || true; [ "$SKIP_DASHBOARD" = "1" ] || [ ! -f dashboard/package.json ] || [ -d dashboard/node_modules ] || (cd dashboard && bun install)prepublishOnlybun run build && bun testsdk:buildcd sdk && bun run buildtestbun testtypechecktsc --noEmit
Dependencies13
@hasna/cloud^0.1.24@modelcontextprotocol/sdk^1.26.0chalk^5.3.0commander^12.1.0conf^13.0.1fast-xml-parser^5.5.3ink^5.0.1ink-select-input^6.0.0ink-spinner^5.0.0ink-text-input^6.0.0open^11.0.0react^18.2.0zod3