npm rhachet-roles-bhrain @0.31.0
score
0.65
med
flagged
2026-07-21 06:48
Signals fired
| signal | weight | rationale |
|---|---|---|
| topology | ||
| typosquat | 1.0 | combosquat of 'rhachet' |
| dependency_added_unknown | 0.6 | 1 new non-watchlisted dep(s): ['diff'] |
Prior profile (what it deviated from)
{
"had_install_script": false,
"maintainers": [
"uladkasach"
],
"versions": 138
}
Evidence (package doc at flag time)
{
"dependencies_count": 23,
"dist": {
"integrity": "sha512-c9dxIarERG7bR//eUSQYxkAneF0eouolIlSGtAO62dEAzGWPn/bzxn/Obdfa1fHOBOJmC4V1/rtepxL3sKhIMw==",
"tarball": "https://registry.npmjs.org/rhachet-roles-bhrain/-/rhachet-roles-bhrain-0.31.0.tgz",
"unpackedSize": 3003583
},
"dist-tags": {
"latest": "0.31.0"
},
"latest_version": "0.31.0",
"maintainers": [
{
"email": "UladKasach@gmail.com",
"name": "uladkasach"
}
],
"num_versions": 139,
"repository": {
"type": "git",
"url": "git+https://github.com/ehmpathy/rhachet-roles-bhrain.git"
},
"scripts": {
"build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present",
"build:clean": "npm run build:clean:tsc && npm run build:clean:bun",
"build:clean:bun": "rm -f ./bin/*.bc",
"build:clean:tsc": "(chmod -R u+w dist 2>/dev/null || true) && rm -rf dist/",
"build:compile": "npm run build:compile:tsc && npm run build:compile:bun --if-present",
"build:compile:tsc": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
"build:complete": "npm run build:complete:dist && npm run build:complete:repo",
"build:complete:dist": "rsync -a --prune-empty-dirs --exclude='.test' --exclude='.route' --exclude='.scratch' --exclude='.behavior' --exclude='*.test.*' --include='*/' --include='briefs/**' --include='skills/**' --include='inits/**' --include='templates/**' --include='**/readme.md' --include='**/boot.yml' --include='**/keyrack.yml' --exclude='*' src/ dist/",
"build:complete:repo": "npx rhachet repo introspect",
"build:ts": "tsc -p ./tsconfig.build.json",
"commit:with-cli": "npx cz",
"fix": "npm run fix:format && npm run fix:lint",
"fix:format": "npm run fix:format:biome",
"fix:format:biome": "biome check --write",
"fix:lint": "biome check --write",
"postversion": "git push origin HEAD --tags --no-verify",
"prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi",
"prepare:husky": "husky install && chmod ug+x .husky/*",
"prepare:rhachet": "npm run build && rhachet init --keys --hooks --roles mechanic behaver driver reviewer librarian ergonomist architect dispatcher learner",
"prepublish": "npm run build",
"prepush": "npm run test && npm run build",
"preversion": "npm run prepush",
"test": "eval $(ECHO=true npm run --silent test:auth) && npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
"test:acceptance": "set -eu && npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"test:acceptance:locally": "set -eu && npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"test:auth": "[ \"$ECHO\" = 'true' ] && echo '. .agent/repo=.this/role=any/skills/use.apikeys.sh' || . .agent/repo=.this/role=any/skills/use.apikeys.sh",
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
"test:format": "npm run test:format:biome",
"test:format:biome": "biome format",
"test:integration": "set -eu && jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"test:lint": "npm run test:lint:biome && npm run test:lint:deps",
"test:lint:biome": "biome check --diagnostic-level=error",
"test:lint:biome:all": "biome check",
"test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
"test:types": "tsc -p ./tsconfig.json --noEmit",
"test:unit": "set -eu && jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
"upgrade:rhachet": "rhachet upgrade"
},
"signal_details": {
"dependency_added_unknown": "1 new non-watchlisted dep(s): ['diff']",
"typosquat": "combosquat of 'rhachet'"
},
"time": {
"created": "2025-12-22T18:46:41.185Z",
"modified": "2026-07-21T11:48:32.311Z"
}
}