npm @hasna/cloud @0.1.34
score
0.53
med
flagged
2026-06-07 13:26
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)
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 |
| topology | ||
| no_repo | 0.3 | package.json has no repository field |
| mass_publish_burst | 0.8 | publisher 'andreihasna2' pushed 27 packages in the last 15min on npm |
Prior profile (what it deviated from)
{
"had_install_script": false,
"maintainers": [],
"versions": 0
}
Evidence (package doc at flag time)
{
"dependencies_count": 4,
"dist": {
"integrity": "sha512-5mXZynHrBJR3w2ijlZ0B//BJ40JKbdhLZz74FfkLImikYqIovzWfAN72xsFhtUbuxYcKq3lUXxK3qxPSluCh+Q==",
"tarball": "https://registry.npmjs.org/@hasna/cloud/-/cloud-0.1.34.tgz",
"unpackedSize": 2194560
},
"dist-tags": {
"latest": "0.1.34"
},
"latest_version": "0.1.34",
"maintainers": [
{
"email": "andrei@hasna.com",
"name": "andreihasna2"
}
],
"num_versions": 35,
"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 && printf '#!/usr/bin/env bun\\nimport \"./index.js\";\\n' > dist/mcp/bin.js && 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)"
],
"install_script_payload": "install/lifecycle script matches payload regex",
"mass_publish_burst": "publisher 'andreihasna2' pushed 27 packages in the last 15min on npm",
"new_install_script": "first time ['postinstall'] present",
"no_repo": "package.json has no repository field"
},
"time": {
"created": "2026-03-23T13:27:05.564Z",
"modified": "2026-05-28T14:23:04.473Z"
}
}