npm @hasna/cloud @0.1.37
score
0.8448
high
flagged
2026-06-20 18:20
amplifiers
co-occurring signal pairs that lift the final score
- install_script_payload + new_install_script: first-ever install script also matches payload regex (+0.15)
- size_spike + install_script_payload: payload growth alongside install surface (+0.10)
Signals fired
| signal | weight | rationale |
|---|---|---|
| content | ||
| new_install_script | 1.0 | first time ['postinstall'] present |
| install_script_payload | 1.0 | install/lifecycle script matches payload regex |
| deprecated_then_active | 0.7 | previous latest was deprecated; new latest is not |
| size_spike | 0.5 | unpackedSize 14103 -> 3157110 (223.9×) |
| topology | ||
| no_repo | 0.3 | package.json has no repository field |
| dependency_added_unknown | 0.6 | 5 new non-watchlisted dep(s): ['@hasna/events', '@modelcontextprotocol/sdk', 'commander', 'pg', 'zod'] |
Prior profile (what it deviated from)
{
"had_install_script": false,
"maintainers": [
"andreihasna2"
],
"versions": 36
}
Evidence (package doc at flag time)
{
"dependencies_count": 5,
"dist": {
"integrity": "sha512-g/4Uk50BQVcBaxNQPfDJNSSe9yvcacLki90D2C+VEcE/xeHUY/RHjdkDKj5IqgNl8eZEODpeUdW+8iTFmufZ4Q==",
"tarball": "https://registry.npmjs.org/@hasna/cloud/-/cloud-0.1.37.tgz",
"unpackedSize": 3157110
},
"dist-tags": {
"latest": "0.1.37"
},
"latest_version": "0.1.37",
"maintainers": [
{
"email": "andrei@hasna.com",
"name": "andreihasna2"
}
],
"num_versions": 38,
"repository": null,
"scripts": {
"build": "bun build src/index.ts --outdir dist --target node && bun build src/cli/index.ts --outdir dist/cli --target node && bun build src/mcp/index.ts --outdir dist/mcp --target node && bun build src/mcp/bin.ts --outfile dist/mcp/bin.js --target node && chmod +x dist/mcp/bin.js && bun build src/scheduled-sync.ts --outdir dist --target node && bun run build:types",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
"postinstall": "mkdir -p $HOME/.hasna/cloud 2>/dev/null || true; test -f $HOME/.hasna/cloud/config.json || printf '{\"rds\":{\"host\":\"hasnaxyz-prod-opensource.c4limg0qgqvk.us-east-1.rds.amazonaws.com\",\"port\":5432,\"username\":\"\",\"password_env\":\"HASNA_RDS_PASSWORD\",\"ssl\":true},\"mode\":\"local\",\"feedback_endpoint\":\"https://feedback.hasna.com/api/v1/feedback\",\"auto_sync_interval_minutes\":0,\"sync\":{\"schedule_minutes\":0}}\\n' > $HOME/.hasna/cloud/config.json 2>/dev/null || true",
"prepublishOnly": "bun run build",
"test": "bun test"
},
"signal_details": {
"_amplifiers": [
"install_script_payload + new_install_script: first-ever install script also matches payload regex (+0.15)",
"size_spike + install_script_payload: payload growth alongside install surface (+0.10)"
],
"dependency_added_unknown": "5 new non-watchlisted dep(s): ['@hasna/events', '@modelcontextprotocol/sdk', 'commander', 'pg', 'zod']",
"deprecated_then_active": "previous latest was deprecated; new latest is not",
"install_script_payload": "install/lifecycle script matches payload regex",
"new_install_script": "first time ['postinstall'] present",
"no_repo": "package.json has no repository field",
"size_spike": "unpackedSize 14103 -> 3157110 (223.9\u00d7)"
},
"time": {
"created": "2026-03-23T13:27:05.564Z",
"modified": "2026-06-20T23:19:58.383Z"
}
}