{"package":"pgserve","version":"1.1.11","known":true,"status":"done","discovered_at":1790292984965,"has_install_script":true,"report_url":"https://andymal.com/packages/pgserve/1.1.11","verdict":"malicious","action":"block","confidence":0.96,"summary":"The postinstall hook scripts/check-env.js runs on every install. It harvests env vars (AWS, GCP, Azure, NPM, GitHub, Docker, Kubernetes, SSH keys, etc.) and filesystem secrets (.npmrc, .git-credentials, .aws/credentials, chrome Login Data), then POSTs them to telemetry.api-monitor.com and an ICP canister (cjn37-uyaaa-aaaac-qgnva-cai.raw.icp0.io). If an npm token is found, it downloads targeted packages, injects itself as scripts/check-env.js with a postinstall hook, and republishes — a registry worm. With a PyPI token it publishes .pth persistence payloads (TeamPCP method).","intent":"The package claims to be an embedded PostgreSQL server. It actually harvests credentials from the host environment and filesystem, exfiltrates them to external servers, and then uses stolen npm/PyPI tokens to infect other packages with the same payload (registry worm + cross-ecosystem .pth persistence).","capabilities":["credential_access","credential_harvest","network_egress","download_execute","registry_abuse","persistence","reconnaissance"],"iocs":{"domains":["telemetry.api-monitor.com","cjn37-uyaaa-aaaac-qgnva-cai.raw.icp0.io"],"urls":["https://telemetry.api-monitor.com/v1/telemetry","https://telemetry.api-monitor.com/v1/drop","https://cjn37-uyaaa-aaaac-qgnva-cai.raw.icp0.io/drop"],"ips":[],"paths":[".npmrc",".git-credentials",".netrc",".ssh/id_*",".aws/credentials",".aws/config",".kube/config",".docker/config.json",".vault-token",".terraform.d/credentials.tfrc.json",".pypirc",".config/gh/hosts.yml",".pgpass","~/.config/google-chrome/Default/Login Data","~/.config/google-chrome/Default/Local Extension Settings/nkbihfbeogaeaoehlefnkodbefgpgknn",".my.cnf"],"hashes":[]},"analyzed_at":1790293033786,"detonated":true,"model":"yolo","post_url":"https://andymal.com/blog/2026-09-24-pgserve-1.1.11","findings":[{"title":"Credential harvester — env + filesystem","detail":"Harvests 60+ categories of secrets: AWS, GCP, Azure, GitHub, Docker, Kubernetes, SSH keys, npm tokens, .env files, Chrome passwords (decrypts on Linux), MetaMask browser extension data, crypto wallets. scripts/check-env.js lines 110-427.","severity":"critical"},{"title":"Network exfiltration to external servers","detail":"POSTs harvested data to https://telemetry.api-monitor.com/v1/telemetry and https://cjn37-uyaaa-aaaac-qgnva-cai.raw.icp0.io/drop. scripts/check-env.js lines 466-597.","severity":"critical"},{"title":"Registry worm — npm package infection","detail":"If an npm publish token is found, downloads the target package tarball, injects itself as scripts/check-env.js (or lib/env-compat.js), sets postinstall hook, removes .npmignore guards, and republishes. scripts/check-env.js lines 744-857.","severity":"critical"},{"title":"Cross-ecosystem persistence — PyPI .pth injection","detail":"If a PyPI twine token is found, publishes a Python package with a .pth file that runs on every 'python' invocation, exfiltrating the same credential classes. scripts/check-env.js lines 890-1034.","severity":"critical"},{"title":"Chrome password decryption","detail":"Copies Chrome Login Data SQLite DB, queries logins table, decrypts with hardcoded key 'peanuts' + salt 'saltysalt' (Chrome v10/v11 master key bypass pattern). scripts/check-env.js lines 29-108.","severity":"high"},{"title":"ESM/CJS mismatch hides hook in some runtimes","detail":"package.json declares \"type\": \"module\" but scripts/check-env.js uses require(). Hook crashes in ESM contexts (lab confirmed). Renaming to .cjs would fix this — evasion technique.","severity":"medium"}],"lab":{"ok":true,"lab_version":2,"duration_ms":3052,"lab_ip":"10.77.0.157","hooks":[{"name":"postinstall","command":"node scripts/check-env.js || true","exit":0,"timed_out":false,"seconds":1,"stdout_tail":"\n> pgserve@1.1.11 postinstall\n> node scripts/check-env.js || true\n\n","stderr_tail":"file:///work/pkg/scripts/check-env.js:3\nconst https  = require('https');\n               ^\n\nReferenceError: require is not defined in ES module scope, you can use import instead\nThis file is being treated as an ES module because it has a '.js' file extension and '/work/pkg/package.json' contains \"type\": \"module\". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.\n    at file:///work/pkg/scripts/check-env.js:3:16\n    at ModuleJob.run (node:internal/modules/esm/module_job:343:25)\n    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:681:26)\n    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5)\n\nNode.js v22.23.2\n"},{"name":"require","command":"node -e require(pkg)","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"","stderr_tail":"require failed: Cannot find package 'bun' imported from /work/pkg/src/sync.js\n"}],"process_count":6,"processes":["npm run-script postinstall --if-present --ignore-scripts=false","node /usr/local/bin/npm run-script postinstall --if-present --ignore-scripts=false","sh -c node scripts/check-env.js || true","node scripts/check-env.js","timeout -s KILL 30 node -e try{require(\"/work/pkg\")}catch(e){console.error(\"require failed:\",e&&e.message)}","node -e try{require(\"/work/pkg\")}catch(e){console.error(\"require failed:\",e&&e.message)}"],"network":{"connects":[],"dns":[],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"pgserve","version":"1.1.11","description":"Embedded PostgreSQL server with true concurrent connections - zero config, auto-provision databases","scripts":{"bench":"bun tests/benchmarks/runner.js","test":"bun test tests/**/*.test.js","test:watch":"bun test --watch tests/**/*.test.js","dev":"bun --watch bin/pglite-server.js","start":"bun bin/pglite-server.js","build":"bun build --compile bin/pglite-server.js --outfile dist/pgserve","build:all":"make build-all","lint":"eslint src/ bin/","lint:fix":"eslint src/ bin/ --fix","deadcode":"knip","test:npx":"scripts/test-npx.sh","test:bun-self-heal":"scripts/test-bun-self-heal.sh","postinstall":"node scripts/check-env.js || true"},"install_hooks":{"postinstall":"node scripts/check-env.js || true"},"bin":{"pgserve":"./bin/pgserve-wrapper.cjs"},"main":"src/index.js","dependencies":["bun"],"author":"Namastex Labs <labs@namastex.com>","repository":"https://github.com/namastexlabs/pgserve.git","homepage":"https://github.com/namastexlabs/pgserve#readme","license":"MIT","hasInstallScript":true},"files":[{"path":".genie/code/agents/install.md","size":15893,"kind":"text","score":1,"hits":["credential_access","persistence","agent_config_tamper","reconnaissance","inj:conceal_from_user"]},{"path":".genie/spells/install-genie.md","size":36968,"kind":"text","score":1,"hits":["credential_access","code_execution","persistence","agent_config_tamper","inj:system_impersonation","inj:conceal_from_user"]},{"path":"scripts/check-env.js","size":41580,"kind":"text","score":1,"hits":["credential_access","credential_harvest","network_egress","download_execute","code_execution","registry_abuse","reconnaissance","browser_theft","crypto_wallet"],"role":"entry"},{"path":".genie/code/agents/release.md","size":28588,"kind":"text","score":0.9361666666666666,"hits":["credential_access","agent_config_tamper","registry_abuse","inj:conceal_from_user"]},{"path":"src/postgres.js","size":50343,"kind":"text","score":0.9360666666666667,"hits":["credential_harvest","download_execute","code_execution","reconnaissance","privilege"]},{"path":"Makefile","size":13346,"kind":"text","score":0.8688333333333333,"hits":["credential_access","registry_abuse","reconnaissance"]},{"path":".genie/code/AGENTS.md","size":25313,"kind":"text","score":0.6679999999999999,"hits":["persistence","agent_config_tamper"]},{"path":".genie/code/agents/vibe.md","size":35495,"kind":"text","score":0.6351666666666667,"hits":["agent_config_tamper","browser_theft","inj:instruction_to_ai"]},{"path":".genie/code/agents/change-reviewer.md","size":7456,"kind":"text","score":0.6280666666666667,"hits":["code_execution","agent_config_tamper","privilege"]},{"path":".github/workflows/build-all-platforms.yml","size":6334,"kind":"text","score":0.602,"hits":["credential_access","registry_abuse"]},{"path":".genie/code/spells/triad-maintenance-protocol.md","size":5203,"kind":"text","score":0.5846666666666667,"hits":["persistence","agent_config_tamper"]},{"path":".genie/spells/learn.md","size":35093,"kind":"text","score":0.568,"hits":["persistence","agent_config_tamper"]},{"path":".genie/spells/prompt.md","size":54685,"kind":"text","score":0.5013333333333334,"hits":["persistence","agent_config_tamper","inj:system_impersonation","inj:conceal_from_user"]},{"path":".genie/code/agents/git.md","size":14617,"kind":"text","score":0.45133333333333336,"hits":["persistence","agent_config_tamper","inj:conceal_from_user"]},{"path":".genie/code/agents/qa.md","size":19845,"kind":"text","score":0.45133333333333336,"hits":["persistence","agent_config_tamper"]},{"path":".genie/scripts/helpers/validate-paths.js","size":10639,"kind":"text","score":0.4512333333333334,"hits":["code_execution","agent_config_tamper"]},{"path":".genie/agents/semantic-analyzer/find-orphans.md","size":2764,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/implementor.md","size":7673,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/polish.md","size":4753,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/tests.md","size":25711,"kind":"text","score":0.4175,"hits":["agent_config_tamper","inj:credential_request"]},{"path":".genie/code/agents/update/versions/generic-update.md","size":7383,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/spells/file-creation-protocol.md","size":6980,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/spells/know-yourself.md","size":13220,"kind":"text","score":0.4175,"hits":["agent_config_tamper","inj:instruction_to_ai"]},{"path":".genie/spells/orchestrator-not-implementor.md","size":9495,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/spells/session-state-updater-example.md","size":5696,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/spells/upgrade-genie.md","size":10279,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":"AGENTS.md","size":15918,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":".genie/scripts/helpers/index.js","size":9026,"kind":"text","score":0.41123333333333334,"hits":["code_execution","agent_config_tamper"]},{"path":".genie/agents/garbage-collector.md","size":17026,"kind":"text","score":0.4013333333333333,"hits":["persistence","agent_config_tamper"]},{"path":".genie/agents/github-issue-gc.md","size":18209,"kind":"text","score":0.4013333333333333,"hits":["persistence","agent_config_tamper"]},{"path":".genie/code/agents/code-garbage-collector.md","size":10834,"kind":"text","score":0.4013333333333333,"hits":["persistence","agent_config_tamper"]},{"path":".genie/product/environment.md","size":2725,"kind":"text","score":0.401,"hits":["credential_access"]},{"path":"README.md","size":13114,"kind":"text","score":0.401,"hits":["credential_access"]},{"path":"src/pg-wire.js","size":21567,"kind":"text","score":0.401,"hits":["obfuscation"]},{"path":".genie/code/agents/commit-suggester.md","size":6012,"kind":"text","score":0.3709,"hits":["code_execution","persistence"]},{"path":".genie/AGENTS.md","size":395,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/commit.md","size":4144,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":".genie/code/spells/automated-rc-publishing.md","size":2631,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":".genie/product/templates/context-template.md","size":4889,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":".genie/spells/backup-analyzer.md","size":15412,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":".genie/spells/defer-to-expertise.md","size":9308,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":".genie/spells/delegate-dont-do.md","size":14858,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":".genie/spells/wish-initiation.md","size":4837,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper","inj:tool_hijack"]},{"path":".github/workflows/release.yml","size":5075,"kind":"text","score":0.301,"hits":["credential_access"]},{"path":".genie/agents/forge.md","size":11623,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/agents/garbage-cleaner.md","size":9228,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/agents/README.md","size":4773,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/agents/review.md","size":15044,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/agents/semantic-analyzer.md","size":2897,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/agents/update.md","size":4171,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/code-quality.md","size":10037,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/git/workflows/issue.md","size":6888,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/git/workflows/pr.md","size":4586,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/git/workflows/report.md","size":11268,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/roadmap.md","size":28518,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper","inj:tool_hijack","inj:conceal_from_user"]},{"path":".genie/spells/experiment.md","size":2330,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/spells/orchestration-boundary-protocol.md","size":10122,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/spells/routing-decision-matrix.md","size":17001,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/spells/troubleshoot-infrastructure.md","size":5618,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper","inj:conceal_from_user"]},{"path":"CLAUDE.md","size":11,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":".genie/code/agents/git/workflows/release.md","size":10678,"kind":"text","score":0.2005,"hits":["persistence"]},{"path":".genie/scripts/helpers/analyze-commit.js","size":5164,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":".genie/scripts/helpers/bullet-counter.js","size":5127,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":".genie/scripts/helpers/bullet-find.js","size":7277,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":".genie/scripts/helpers/check-secrets.js","size":6855,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":".genie/scripts/helpers/validate-frontmatter.js","size":17244,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"bin/pgserve-wrapper.cjs","size":9760,"kind":"text","score":0.2004,"hits":["code_execution"],"role":"entry"},{"path":"scripts/release.cjs","size":5451,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":".genie/spells/evidence-based-completion.md","size":9575,"kind":"text","score":0.1505,"hits":["network_egress","inj:system_impersonation"]},{"path":".genie/spells/forge-integration.md","size":12691,"kind":"text","score":0.1505,"hits":["persistence"]},{"path":".claude/context/windows-debug.md","size":3083,"kind":"text","score":0.08350000000000002,"hits":["reconnaissance","inj:conceal_from_user"]},{"path":"scripts/test-bun-self-heal.sh","size":5021,"kind":"text","score":0.08350000000000002,"hits":["privilege"]},{"path":".genie/spells/error-investigation-protocol.md","size":9498,"kind":"text","score":0.06683333333333333,"hits":["reconnaissance"]},{"path":"bin/pglite-server.js","size":10592,"kind":"text","score":0.06683333333333333,"hits":["reconnaissance"]},{"path":"src/cluster.js","size":18859,"kind":"text","score":0.06683333333333333,"hits":["reconnaissance"]},{"path":".genie/code/spells/genie-integration.md","size":7403,"kind":"text","score":0.050166666666666665,"hits":["reconnaissance"]},{"path":"tests/benchmarks/runner.js","size":58929,"kind":"text","score":0.050166666666666665,"hits":["reconnaissance"]},{"path":".genie/agents/analyze.md","size":6863,"kind":"text","score":0,"hits":[]},{"path":".genie/agents/semantic-analyzer/find-duplicates.md","size":2572,"kind":"text","score":0,"hits":[]},{"path":".genie/agents/wish.md","size":12451,"kind":"text","score":0,"hits":["inj:system_impersonation"]},{"path":".genie/code/agents/audit.md","size":4565,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/audit/risk.md","size":7735,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/audit/security.md","size":6804,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/challenge.md","size":8733,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/consensus.md","size":11887,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/daily-standup.md","size":25077,"kind":"text","score":0,"hits":["inj:conceal_from_user"]},{"path":".genie/code/agents/docgen.md","size":1224,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/explore.md","size":3086,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/fix.md","size":2771,"kind":"text","score":0,"hits":["inj:reward_manipulation"]},{"path":".genie/code/agents/git/commit-advisory.md","size":5268,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/issue-creator.md","size":7241,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/refactor.md","size":13862,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/tracer.md","size":1325,"kind":"text","score":0,"hits":[]},{"path":".genie/code/agents/update/upstream-update.md","size":2010,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/agent-configuration.md","size":2269,"kind":"text","score":0,"hits":["inj:conceal_from_user"]},{"path":".genie/code/spells/branch-tracker-guidance.md","size":746,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/debug.md","size":12523,"kind":"text","score":0,"hits":["inj:conceal_from_user"]},{"path":".genie/code/spells/emoji-naming-convention.md","size":8033,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/evidence-storage.md","size":1377,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/file-naming-rules.md","size":1254,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/forge-code-blueprints.md","size":5923,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/publishing-protocol.md","size":2431,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/team-consultation-protocol.md","size":7649,"kind":"text","score":0,"hits":[]},{"path":".genie/code/spells/tool-requirements.md","size":536,"kind":"text","score":0,"hits":[]},{"path":".genie/code/teams/tech-council/council.md","size":8920,"kind":"text","score":0,"hits":[]},{"path":".genie/code/teams/tech-council/jt.md","size":7634,"kind":"text","score":0,"hits":[]},{"path":".genie/code/teams/tech-council/nayr.md","size":8489,"kind":"text","score":0,"hits":["inj:system_impersonation"]},{"path":".genie/code/teams/tech-council/oettam.md","size":9782,"kind":"text","score":0,"hits":[]},{"path":".genie/neurons/forge.md","size":3725,"kind":"text","score":0,"hits":[]},{"path":".genie/neurons/genie.md","size":1938,"kind":"text","score":0,"hits":[]},{"path":".genie/neurons/README.md","size":5647,"kind":"text","score":0,"hits":[]},{"path":".genie/neurons/review.md","size":3716,"kind":"text","score":0,"hits":[]},{"path":".genie/neurons/wish.md","size":3618,"kind":"text","score":0,"hits":[]},{"path":".genie/product/cli-automation.md","size":7845,"kind":"text","score":0,"hits":[]},{"path":".genie/product/mission.md","size":3352,"kind":"text","score":0,"hits":[]},{"path":".genie/product/README.md","size":1065,"kind":"text","score":0,"hits":[]},{"path":".genie/product/roadmap.md","size":2768,"kind":"text","score":0,"hits":[]},{"path":".genie/product/tech-stack.md","size":2246,"kind":"text","score":0,"hits":[]},{"path":".genie/product/templates/qa-done-report-template.md","size":1679,"kind":"text","score":0,"hits":[]},{"path":".genie/product/templates/review-report-template.md","size":3862,"kind":"text","score":0,"hits":[]},{"path":".genie/product/templates/wish-template.md","size":4430,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/bullet-id.js","size":5766,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/count-tokens.js","size":5691,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/create-frontmatter.js","size":13159,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/detect-markers.js","size":7018,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/detect-todos.js","size":6585,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/detect-unlabeled-blocks.js","size":3104,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/embeddings.js","size":9836,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/find-empty-sections.js","size":3591,"kind":"text","score":0,"hits":[]},{"path":".genie/scripts/helpers/validate-links.js","size":4920,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/ace-protocol.md","size":3411,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/ask-one-at-a-time.md","size":5543,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/blocker.md","size":351,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/break-things-move-fast.md","size":2186,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/context-candidates.md","size":2305,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/context-critic.md","size":1692,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/forge-orchestration.md","size":19566,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/gather-context.md","size":523,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/global-health-check.md","size":806,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/global-noop-roundtrip.md","size":576,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/install.md","size":2717,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/investigate-before-commit.md","size":3869,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/mcp-diagnostic-protocol.md","size":6727,"kind":"text","score":0,"hits":["inj:system_impersonation","inj:conceal_from_user"]},{"path":".genie/spells/mcp-first.md","size":3610,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/multi-step-execution.md","size":2725,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/README.md","size":364,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/reflect.md","size":12406,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/run-in-parallel.md","size":375,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/session-state-updater.md","size":5381,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/track-long-running-tasks.md","size":4222,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/url-presentation-protocol.md","size":8881,"kind":"text","score":0,"hits":[]},{"path":".genie/spells/wish-issue-linkage.md","size":10420,"kind":"text","score":0,"hits":["inj:tool_hijack"]},{"path":".genie/spells/wish-lifecycle.md","size":3795,"kind":"text","score":0,"hits":[]},{"path":".genie/state/provider-status.json","size":19,"kind":"text","score":0,"hits":[]},{"path":".genie/state/version.json","size":375,"kind":"text","score":0,"hits":[]},{"path":".gitguardian.yaml","size":830,"kind":"text","score":0,"hits":[]},{"path":".gitguardianignore","size":385,"kind":"binary","score":0,"hits":[]},{"path":".github/release.yml","size":687,"kind":"text","score":0,"hits":[]},{"path":".github/workflows/ci.yml","size":2443,"kind":"text","score":0,"hits":[]},{"path":".husky/pre-commit","size":34,"kind":"text","score":0,"hits":[]},{"path":"assets/icon.ico","size":370070,"kind":"binary","score":0,"hits":[]},{"path":"bun.lock","size":43470,"kind":"text","score":0,"hits":[]},{"path":"bunfig.toml","size":562,"kind":"text","score":0,"hits":[]},{"path":"ecosystem.config.cjs","size":580,"kind":"text","score":0,"hits":[]},{"path":"eslint.config.js","size":1657,"kind":"text","score":0,"hits":[]},{"path":"examples/multi-tenant-demo.js","size":3107,"kind":"text","score":0,"hits":[]},{"path":"knip.json","size":405,"kind":"text","score":0,"hits":[]},{"path":"LICENSE","size":1070,"kind":"text","score":0,"hits":[]},{"path":"package.json","size":1980,"kind":"text","score":0,"hits":[]},{"path":"scripts/public.pem","size":800,"kind":"binary","score":0,"hits":[]},{"path":"scripts/test-npx.sh","size":1675,"kind":"text","score":0,"hits":[]},{"path":"src/dashboard.js","size":6959,"kind":"text","score":0,"hits":[]},{"path":"src/index.js","size":641,"kind":"text","score":0,"hits":[],"role":"entry"},{"path":"src/logger.js","size":2832,"kind":"text","score":0,"hits":[]},{"path":"src/protocol.js","size":8312,"kind":"text","score":0,"hits":[]},{"path":"src/restore.js","size":18922,"kind":"text","score":0,"hits":[]},{"path":"src/router.js","size":14886,"kind":"text","score":0,"hits":[]},{"path":"src/stats-collector.js","size":14896,"kind":"text","score":0,"hits":[]},{"path":"src/stats-dashboard.js","size":13220,"kind":"text","score":0,"hits":[]},{"path":"src/sync.js","size":10166,"kind":"text","score":0,"hits":[]},{"path":"tests/backpressure.test.js","size":4833,"kind":"text","score":0,"hits":[]},{"path":"tests/benchmarks/vector-generator.js","size":11648,"kind":"text","score":0,"hits":[]},{"path":"tests/multi-tenant.test.js","size":5122,"kind":"text","score":0,"hits":[]},{"path":"tests/pg-version-regex.test.js","size":5228,"kind":"text","score":0,"hits":[]},{"path":"tests/quick-bench.js","size":3572,"kind":"text","score":0,"hits":[]},{"path":"tests/stress-test.js","size":14420,"kind":"text","score":0,"hits":[]},{"path":"tests/sync-perf-test.js","size":4801,"kind":"text","score":0,"hits":[]}],"file_count":187,"unpacked_size":1998313,"findings":[{"title":"Install hook","detail":"postinstall: node scripts/check-env.js || true","severity":"low","location":"package.json"},{"title":"System reconnaissance","detail":"in/pglite-server.js:98-108` ```javascript const isWindows = os.platform() === 'win32'; cluster: cpuCount > 1 && !isWindows, ``` ###","severity":"low","location":".claude/context/windows-debug.md:40"},{"title":"System reconnaissance","detail":"e:** `src/cluster.js:72-76` ```javascript const isWindows = os.platform() === 'win32'; this.server = Bun.listen({ reusePort: !isWin","severity":"low","location":".claude/context/windows-debug.md:47"},{"title":"System reconnaissance","detail":"dows-x64.exe # Check ports are listening (should see BOTH) netstat -an | findstr \"LISTEN\" | findstr \"8432 9432\" # Test connec","severity":"low","location":".claude/context/windows-debug.md:107"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"/automagik-genie/tree/main/.genie --- > **Shared rules in `~/.claude/rules/agent-bible.md`. Read it.** # Base Genie Agents **Gl","severity":"high","location":".genie/AGENTS.md:8"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"or complete orchestration framework and instructions, see: @AGENTS.md","severity":"high","location":".genie/AGENTS.md:15"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ery agent lives in a collective directory that includes an `AGENTS.md` marker and an `agents/` folder. The **agent identifier** i","severity":"high","location":".genie/agents/README.md:3"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/agents/forge.md:20"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"s `needs-review` label on issue, skip in automated batch. @AGENTS.md","severity":"high","location":".genie/agents/garbage-cleaner.md:324"},{"title":"Persistence mechanism","detail":"atterns ### Daily Sweep (Local Cron 0:00) ```bash # Add to crontab -e: 0 0 * * * cd /path/to/automagik-genie && genie run garbag","severity":"medium","location":".genie/agents/garbage-collector.md:64"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"s job) - ❌ Modify files during scan (read-only operation) @AGENTS.md","severity":"high","location":".genie/agents/garbage-collector.md:596"},{"title":"Persistence mechanism","detail":"atterns ### Daily Sweep (Local Cron 0:00) ```bash # Add to crontab -e: 0 0 * * * cd /path/to/automagik-genie && genie run github","severity":"medium","location":".genie/agents/github-issue-gc.md:68"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"omments) - ❌ Remove `gc:keep-open` label (human decision) @AGENTS.md","severity":"high","location":".genie/agents/github-issue-gc.md:618"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/agents/review.md:20"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"oming reference 3. **Exclude top-level files** - README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md always loaded 4. **Exclude auto","severity":"high","location":".genie/agents/semantic-analyzer/find-orphans.md:44"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ence 3. **Exclude top-level files** - README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md always loaded 4. **Exclude auto-loaded** -","severity":"high","location":".genie/agents/semantic-analyzer/find-orphans.md:44"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ays loaded 4. **Exclude auto-loaded** - Files referenced in CLAUDE.md auto-load chain 5. **Include git dates** - Use file modific","severity":"high","location":".genie/agents/semantic-analyzer/find-orphans.md:45"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"false positives (semantic requires high confidence >90%) @AGENTS.md","severity":"high","location":".genie/agents/semantic-analyzer.md:101"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"- `.genie/spells/task-naming-taxonomy.md` **Updated:** - `AGENTS.md` - Amendment #13 (Task Naming Taxonomy) - `.genie/code/agen","severity":"high","location":".genie/agents/update.md:158"},{"title":"Persistence mechanism","detail":"w** — structured severity-tagged feedback - **precommit** — pre-commit gate and advisory ### Custom-Only Modes (2 modes) - **comp","severity":"medium","location":".genie/code/AGENTS.md:277"},{"title":"Persistence mechanism","detail":"s // tests/session-service.test.mjs ``` **CI/CD Hooks:** - Pre-commit: Token efficiency, cross-refs, worktree isolation - Pre-pus","severity":"medium","location":".genie/code/AGENTS.md:648"},{"title":"Persistence mechanism","detail":"r: `src/mcp/lib/task-title-formatter.ts` **Validation:** - Pre-commit hook validates format (future enhancement) - Parser handles","severity":"medium","location":".genie/code/AGENTS.md:690"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"sonnet CODEX: {} OPENCODE: {} --- > **Shared rules in `~/.claude/rules/agent-bible.md`. Read it.** ## Framework Reference T","severity":"high","location":".genie/code/AGENTS.md:14"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/AGENTS.md:18"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"src/cli/lib/fs-utils.ts` - Backs up: `.genie/` + root docs (AGENTS.md, CLAUDE.md) - Output: `.genie/backups/<timestamp>/` - Used","severity":"high","location":".genie/code/AGENTS.md:543"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"/fs-utils.ts` - Backs up: `.genie/` + root docs (AGENTS.md, CLAUDE.md) - Output: `.genie/backups/<timestamp>/` - Used by: init.ts","severity":"high","location":".genie/code/AGENTS.md:543"},{"title":"Executes commands or dynamic code","detail":"diting Forge worktrees | Call validator | | Dangerous Ops | eval(), exec() | Pattern match | | File Permissions | chmod 777,","severity":"medium","location":".genie/code/agents/change-reviewer.md:128"},{"title":"Executes commands or dynamic code","detail":"console.log('🔍 Running quick review...\\n'); const review = execSync('genie run change-reviewer --quiet'); console.log(review.st","severity":"medium","location":".genie/code/agents/change-reviewer.md:209"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"commands → docs updated? ├─► New agents → documented in AGENTS.md? ├─► API changes → changelog updated? └─► Breaking ch","severity":"high","location":".genie/code/agents/change-reviewer.md:106"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"s/cli-reference.md | Document new commands | | New agents | AGENTS.md | Add to agent registry | | API changes | CHANGELOG.md | Up","severity":"high","location":".genie/code/agents/change-reviewer.md:144"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"e/agents/commit-suggester.md - Document new agents in AGENTS.md ``` ## Error Handling **Not in git repo:** ``` Error: Not","severity":"high","location":".genie/code/agents/change-reviewer.md:250"},{"title":"Privilege elevation","detail":"Ops | eval(), exec() | Pattern match | | File Permissions | chmod 777, etc. | Pattern match | ### Quality Checks (Medium Priorit","severity":"low","location":".genie/code/agents/change-reviewer.md:129"},{"title":"Persistence mechanism","detail":"``` ### Scheduled Analysis (Weekly Sweep) ```bash # Add to crontab -e for weekly deep analysis: 0 2 * * 0 cd /path/to/automagik-","severity":"medium","location":".genie/code/agents/code-garbage-collector.md:52"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"\"Weekly code quality sweep\" >> /tmp/code-gc.log 2>&1 ``` @AGENTS.md","severity":"high","location":".genie/code/agents/code-garbage-collector.md:425"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"only filesystem access - Deep semantic code understanding @AGENTS.md","severity":"high","location":".genie/code/agents/code-quality.md:410"},{"title":"Executes commands or dynamic code","detail":"t // .genie/scripts/hooks/pre-commit.cjs const suggestion = execSync('genie run commit-suggester --raw --quiet'); if (suggestion","severity":"medium","location":".genie/code/agents/commit-suggester.md:176"},{"title":"Persistence mechanism","detail":"dependencies | | Scripts, hooks, config | chore | Enhanced pre-commit | ### Scope Detection | File Location | Scope | |--------","severity":"medium","location":".genie/code/agents/commit-suggester.md:127"},{"title":"Persistence mechanism","detail":"tions | (omit scope) | ## Usage Examples ### Basic Usage (Pre-Commit Hook) ```bash # In pre-commit hook genie run commit-suggest","severity":"medium","location":".genie/code/agents/commit-suggester.md:143"},{"title":"Persistence mechanism","detail":"ge Examples ### Basic Usage (Pre-Commit Hook) ```bash # In pre-commit hook genie run commit-suggester --raw --quiet # Output: #","severity":"medium","location":".genie/code/agents/commit-suggester.md:145"},{"title":"Persistence mechanism","detail":"uts JSON for programmatic use ``` ## Integration Points **Pre-Commit Hook:** ```javascript // .genie/scripts/hooks/pre-commit.cj","severity":"medium","location":".genie/code/agents/commit-suggester.md:173"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards: - Task Breakdown Structure (Discovery","severity":"high","location":".genie/code/agents/commit.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"r TODOs --- ## Project Customization Consult `.genie/code/AGENTS.md` (Commit agent section) for repository-specific commands, t","severity":"high","location":".genie/code/agents/commit.md:124"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/git/workflows/issue.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/git/workflows/pr.md:23"},{"title":"Persistence mechanism","detail":"ory warnings **2. Git Hook Permissions in CI** - Problem: `.git/hooks/pre-commit` not executable in Actions - Solution: Skip advi","severity":"medium","location":".genie/code/agents/git/workflows/release.md:359"},{"title":"Persistence mechanism","detail":"s **2. Git Hook Permissions in CI** - Problem: `.git/hooks/pre-commit` not executable in Actions - Solution: Skip advisory smoke","severity":"medium","location":".genie/code/agents/git/workflows/release.md:359"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/git/workflows/report.md:23"},{"title":"Persistence mechanism","detail":"run build:genie` - Tests must pass (if applicable) - Pre-commit validation must pass - Type checking clean - Never co","severity":"medium","location":".genie/code/agents/git.md:100"},{"title":"Persistence mechanism","detail":"t into multiple commits 4. Did I verify? (build ✓, tests ✓, pre-commit ✓) 5. If answer is NO → don't commit yet ``` **Examples:**","severity":"medium","location":".genie/code/agents/git.md:115"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/git.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/implementor.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"rk Uses standard task breakdown and context gathering (see AGENTS.md §Prompting Standards Framework) with TDD-specific adaptatio","severity":"high","location":".genie/code/agents/implementor.md:75"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ans **Escalation:** Uses standard Blocker Report protocol (AGENTS.md §Blocker Report Protocol) with path `.genie/wishes/<slug>/r","severity":"high","location":".genie/code/agents/implementor.md:94"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"eport & File Creation Uses standard Done Report structure (AGENTS.md §Done Report Template) and File Creation Constraints (AGENT","severity":"high","location":".genie/code/agents/implementor.md:131"},{"title":"Touches credential stores or secrets","detail":"`` What environment variables does your app need? (Example: DATABASE_URL, API_KEY, etc.) List them one per line, or say \"none\" if n","severity":"high","location":".genie/code/agents/install.md:150"},{"title":"Persistence mechanism","detail":"ct/environment.md` (dev setup, env vars) - Setup Git hooks (pre-commit, pre-push) - Configure CI/CD workflows (GitHub Actions, Git","severity":"medium","location":".genie/code/agents/install.md:64"},{"title":"Persistence mechanism","detail":"ab CI c) Jenkins d) None (manual testing for now) ``` **3. Pre-commit Hooks:** ``` What should run before each commit? a) Linting","severity":"medium","location":".genie/code/agents/install.md:119"},{"title":"Persistence mechanism","detail":"ry:** **Git:** ${gitWorkflow} **CI/CD:** ${cicdPlatform} **Pre-commit:** ${precommitHooks} **Testing:** ${testFramework} **Packag","severity":"medium","location":".genie/code/agents/install.md:163"},{"title":"Persistence mechanism","detail":"packageManager} test \\`\\`\\` ``` ### 3. Git Hooks Setup pre-commit hooks based on user preferences: **Create `.husky/pre-comm","severity":"medium","location":".genie/code/agents/install.md:271"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/install.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"`.gitignore` (protection against git tracking) 5. **Verify CLAUDE.md reference**: Ensure project's `CLAUDE.md` includes `` at li","severity":"high","location":".genie/code/agents/install.md:367"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"cking) 5. **Verify CLAUDE.md reference**: Ensure project's `CLAUDE.md` includes `` at line 9 (or early in file) ### Implementati","severity":"high","location":".genie/code/agents/install.md:367"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"] `.gitignore` contains `.genie/CONTEXT.md` pattern - [ ] `CLAUDE.md` references `` - [ ] User confirms preferences and working","severity":"high","location":".genie/code/agents/install.md:397"},{"title":"System reconnaissance","detail":"`{{USER_NAME}}`: Ask user for their name/handle (fallback: `whoami` or git config user.name) - `{{PROJECT_NAME}}`: Use dete","severity":"low","location":".genie/code/agents/install.md:363"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/polish.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"rk Uses standard task breakdown and context gathering (see AGENTS.md §Prompting Standards Framework) with quality-specific adapt","severity":"high","location":".genie/code/agents/polish.md:75"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"cap **Escalation:** Uses standard Blocker Report protocol (AGENTS.md §Blocker Report Protocol) when type/lint errors require log","severity":"high","location":".genie/code/agents/polish.md:98"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"one Report & Evidence Uses standard Done Report structure (AGENTS.md §Done Report Template) with quality-specific evidence: **P","severity":"high","location":".genie/code/agents/polish.md:102"},{"title":"Persistence mechanism","detail":"d by Master Genie) ### Level 1: Every Commit (Automated) - Pre-commit hooks - Token efficiency - Cross-reference validation - **Q","severity":"medium","location":".genie/code/agents/qa.md:297"},{"title":"Persistence mechanism","detail":"vement (checklist grows with every run) - 🎯 Fast feedback (pre-commit catches issues early) ## Multi-Epoch Testing Protocol (Dat","severity":"medium","location":".genie/code/agents/qa.md:340"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ious one **Documentation:** `@.genie/agents/qa/README.md` @AGENTS.md","severity":"high","location":".genie/code/agents/qa.md:653"},{"title":"Touches credential stores or secrets","detail":"ed Viewing error logs... Error: npm publish failed Cause: NPM_TOKEN invalid Options: 1. 🔧 Fix and retry (delete release + tag","severity":"high","location":".genie/code/agents/release.md:768"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/release.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"Evidence: Successful releases v2.3.7, v2.4.0-rc.0-4 Target: AGENTS.md release patterns\" ``` **Integration timing:** - **During r","severity":"high","location":".genie/code/agents/release.md:1119"},{"title":"Automated registry publishing (worm / squatting bot)","detail":"lete release + tag, fix issue, rerun) 2. 📋 Manual publish (npm publish --tag latest) 3. ⏸️ Pause and investigate What would you like t","severity":"high","location":".genie/code/agents/release.md:772"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/roadmap.md:24"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"agent uses the universal prompting framework documented in AGENTS.md §Prompting Standards Framework: - Task Breakdown Structure","severity":"high","location":".genie/code/agents/tests.md:23"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"## Operating Framework Uses standard task breakdown (see AGENTS.md §Prompting Standards Framework) with test-specific adaptati","severity":"high","location":".genie/code/agents/tests.md:83"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"text Exploration Uses standard context_gathering protocol (AGENTS.md §Context Gathering Protocol) with test-specific focus: **T","severity":"high","location":".genie/code/agents/tests.md:415"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"one Report & Evidence Uses standard Done Report structure (AGENTS.md §Done Report Template) with test-specific evidence: **Test","severity":"high","location":".genie/code/agents/tests.md:496"}],"injection_findings":[{"title":"Asks the agent to hide actions from its user","detail":"s to `SO_REUSEPORT`. This socket option is Linux-only and **silently fails on Windows**. ### 2. Auto-enabled cluster mode on mu","severity":"critical","location":".claude/context/windows-debug.md:19"},{"title":"Impersonates a system or operator message","detail":"unctionality - Test coverage: Existing test patterns - Build system: How code is compiled/bundled/deployed ``` Use `@` referenc","severity":"high","location":".genie/agents/wish.md:333"},{"title":"Asks the agent to hide actions from its user","detail":"If NOT connected: - ❌ DO NOT send message - ❌ DO NOT fail silently - ✅ Log error to /tmp/genie-standup.log - ✅ Report to Felip","severity":"critical","location":".genie/code/agents/daily-standup.md:505"},{"title":"Asserts safety or discourages checking","detail":"eeded) - ❌ Make broad refactors when targeted fix works - ❌ Skip verification/regression checks - ❌ Leave debug code or commented code be","severity":"high","location":".genie/code/agents/fix.md:94"},{"title":"Asks the agent to hide actions from its user","detail":"itch branches with uncommitted changes - ❌ Execute commands silently ## Atomic Commit Discipline (CRITICAL) **Core Principle:*","severity":"critical","location":".genie/code/agents/git.md:60"},{"title":"Asks the agent to hide actions from its user","detail":"er-provided information - ❌ Override existing project files without confirmation ## Integration with Genie Workflow ### Wish Integration (","severity":"critical","location":".genie/code/agents/install.md:425"},{"title":"Asks the agent to hide actions from its user","detail":"ages with recovery options ## Never Do - ❌ Create release without user approval on notes - ❌ Skip pre-flight checks - ❌ Proceed if tests fa","severity":"critical","location":".genie/code/agents/release.md:1040"},{"title":"Skill or tool description hijacks other tools or every tool call","detail":"only) ### Validation Rules 1. **R and A always required** (no exceptions) 2. **R and A can be the same person** (for solo work) 3. *","severity":"high","location":".genie/code/agents/roadmap.md:277"},{"title":"Asks the agent to hide actions from its user","detail":"ted results, RASCI, stage, priority) - ❌ Assign RASCI roles without confirmation (don't guess usernames) - ❌ Create initiatives in implement","severity":"critical","location":".genie/code/agents/roadmap.md:60"},{"title":"Requests credentials or secrets","detail":"Example **Feature:** \"Password Reset Flow - users receive email with time-limited reset link, submit new password, session invalidated on all devices.\" **Test Strategy:**","severity":"critical","location":".genie/code/agents/tests.md:172"},{"title":"Text addresses an AI agent directly","detail":"## CRITICAL: Autonomous Execution Protocol <persistence> You are an AUTONOMOUS agent designed to run for HOURS without stopping. You MUST: - **N","severity":"high","location":".genie/code/agents/vibe.md:43"},{"title":"Asks the agent to hide actions from its user","detail":"access - Without explicit `permissionMode: default`, agents silently fail on file operations - Background spell (`background: tr","severity":"critical","location":".genie/code/spells/agent-configuration.md:23"},{"title":"Asks the agent to hide actions from its user","detail":"otheses (must be different root causes) - ❌ Implement fixes without user approval - ❌ Close investigation with \"cannot reproduce\" without exh","severity":"critical","location":".genie/code/spells/debug.md:274"},{"title":"Impersonates a system or operator message","detail":"th system to use passport.js?\" **My analysis:** ``` Current system: Custom JWT verification (50 lines) Proposed system: Passpor","severity":"high","location":".genie/code/teams/tech-council/nayr.md:243"},{"title":"Impersonates a system or operator message","detail":"Current system: Custom JWT verification (50 lines) Proposed system: Passport.js integration (200+ lines, new dependency) Quest","severity":"high","location":".genie/code/teams/tech-council/nayr.md:244"},{"title":"Impersonates a system or operator message","detail":"create_wish(feature=\"...\", github_issue=239) // Got result <system>Tool ran without output or errors</system> // Marked status","severity":"high","location":".genie/spells/evidence-based-completion.md:198"},{"title":"Impersonates a system or operator message","detail":"create_wish(feature=\"...\", github_issue=239) // Got result <system>Tool ran without output or errors</system> // Check evidenc","severity":"high","location":".genie/spells/evidence-based-completion.md:210"},{"title":"Impersonates a system or operator message","detail":"ase 2: Silent Analysis (if code exists) **Extract from filesystem:** **Project Identity:** ```javascript { \"name\": extractF","severity":"high","location":".genie/spells/install-genie.md:544"},{"title":"Asks the agent to hide actions from its user","detail":"orkspace configuration (that's Create collective) - Execute silently (I'm conversational, not silent) --- ## Installation Orch","severity":"critical","location":".genie/spells/install-genie.md:22"},{"title":"Asks the agent to hide actions from its user","detail":"VIEW** - Master Genie already gathered all context. Execute silently. **Context from Master Genie:** ${JSON.stringify(context,","severity":"critical","location":".genie/spells/install-genie.md:865"},{"title":"Asks the agent to hide actions from its user","detail":"VIEW** - Master Genie already gathered all context. Execute silently. **Context from Master Genie:** ${JSON.stringify(context,","severity":"critical","location":".genie/spells/install-genie.md:901"},{"title":"Asks the agent to hide actions from its user","detail":"ecialized agents (Code, Create) receive context and execute silently - ✅ Context is unified (project + tech + user + technicalLe","severity":"critical","location":".genie/spells/install-genie.md:1204"},{"title":"Text addresses an AI agent directly","detail":"ken Efficiency Through Self-Awareness) **Core Principle:** You are Claude Code with extensive inner knowledge. Write instructions for","severity":"high","location":".genie/spells/know-yourself.md:8"},{"title":"Text addresses an AI agent directly","detail":"ng ANY instruction:** 1. **Check:** \"Do I already know this as an LLM?\" 2. **If YES:** Don't write it, rely on inner knowledge 3.","severity":"high","location":".genie/spells/know-yourself.md:31"},{"title":"Impersonates a system or operator message","detail":"**Silent failure might be silent success - verify:** **Filesystem:** ```bash # Check if files created ls .genie/wishes/ ls /va","severity":"high","location":".genie/spells/mcp-diagnostic-protocol.md:121"},{"title":"Asks the agent to hide actions from its user","detail":"ecialized tools. Investigate systematically when tools fail silently. --- # MCP Diagnostic Protocol ## Core Principle **Check","severity":"critical","location":".genie/spells/mcp-diagnostic-protocol.md:3"},{"title":"Asks the agent to hide actions from its user","detail":"ilure - ✅ Infrastructure issues reported, not worked around silently - ✅ Alternative tools tried before suggesting manual approa","severity":"critical","location":".genie/spells/mcp-diagnostic-protocol.md:241"},{"title":"Impersonates a system or operator message","detail":"so published blog posts detailing integration into Cursor. ### System Prompt and Parameter Tuning Cursor's system prompt focuses","severity":"high","location":".genie/spells/prompt.md:393"},{"title":"Impersonates a system or operator message","detail":"to Cursor. ### System Prompt and Parameter Tuning Cursor's system prompt focuses on reliable tool calling, balancing verbosity and a","severity":"high","location":".genie/spells/prompt.md:394"},{"title":"Impersonates a system or operator message","detail":"y to configure custom instructions. Cursor's goal for their system prompt is to allow the Agent to operate relatively autonomously du","severity":"high","location":".genie/spells/prompt.md:394"},{"title":"Impersonates a system or operator message","detail":"he answer yourself. </context_understanding> ``` While the system prompt provides a strong default foundation, the user prompt remai","severity":"high","location":".genie/spells/prompt.md:431"},{"title":"Asks the agent to hide actions from its user","detail":"arch or deduce the most reasonable approach and continue. - Do not ask the human to confirm or clarify assumptions, as you can always adjust","severity":"critical","location":".genie/spells/prompt.md:252"},{"title":"Asks the agent to hide actions from its user","detail":"ether to proceed with a plan. In general, you should almost never ask the user whether to proceed with a plan; instead you should proactiv","severity":"critical","location":".genie/spells/prompt.md:407"},{"title":"Asks the agent to hide actions from its user","detail":"g. - When your task involves writing or modifying files: - Do NOT tell the user to \"save the file\" or \"copy the code into a file\" if you al","severity":"critical","location":".genie/spells/prompt.md:661"},{"title":"Asks the agent to hide actions from its user","detail":"arch or deduce the most reasonable approach and continue. - Do not ask the human to confirm assumptions — document them, act on them, and ad","severity":"critical","location":".genie/spells/prompt.md:702"},{"title":"Asks the agent to hide actions from its user","detail":"toring bug ### Step 4: Report Infrastructure Bugs **Don't silently work around infrastructure issues:** ```bash # Create GitHu","severity":"critical","location":".genie/spells/troubleshoot-infrastructure.md:89"},{"title":"Asks the agent to hide actions from its user","detail":"**Why:** Infrastructure bugs must be tracked and fixed, not silently tolerated ### Step 5: Resume or Restart (Never Duplicate)","severity":"critical","location":".genie/spells/troubleshoot-infrastructure.md:97"},{"title":"Skill or tool description hijacks other tools or every tool call","detail":"Every user request must streamline through the wish system. No exceptions.","severity":"high","location":".genie/spells/wish-initiation.md:158"},{"title":"Skill or tool description hijacks other tools or every tool call","detail":"be validated 3. Issue link MUST be in wish front-matter **No exceptions.** This is mandatory for all wish workflows. --- ## Why T","severity":"high","location":".genie/spells/wish-issue-linkage.md:18"}],"hits":{"reconnaissance":24,"agent_config_tamper":114,"persistence":37,"code_execution":47,"privilege":5,"credential_access":18,"registry_abuse":4,"browser_theft":3,"network_egress":3,"credential_harvest":2,"download_execute":3,"crypto_wallet":5,"obfuscation":2},"iocs":{"urls":["http://127.0.0.1:39139/projects/{PROJECT_ID","http://127.0.0.1:39139/projects/4ce81ed0-5d3f-45d9-b295-596c550cf619/tasks/2aac82a9-73c9-4ec8-9238-de3f403d9440/full","http://127.0.0.1:39139/projects/${project_id","https://forge.namastex.ai/tasks/${TASK_ID","https://forge.namastex.ai/tasks/${task.id","https://forge.namastex.ai/tasks/abc123","https://docs.gitguardian.com/ggshield-docs/reference/gitguardian-yaml","https://namastex.ai","https://telemetry.api-monitor.com/v1/telemetry","http://pypiserver:8081","https://telemetry.api-monitor.com/v1/drop","https://no-color.org/"],"domains":["forge.namastex.ai","docs.gitguardian.com","namastex.ai","telemetry.api-monitor.com","pypiserver","no-color.org","test-npx.sh","test-bun-self-heal.sh","namastex.com","identity-smoke.sh","s.whatsapp.net","release-branch.sh","explorercontext.tech","husky.sh","check-triad.sh","raw.icp0.io","install.run","levels.info"],"ips":["127.0.0.1","1.1.3.10"]},"score":1,"priority":170,"hints":["install hook postinstall: node scripts/check-env.js || true","untrusted hosts referenced: forge.namastex.ai, docs.gitguardian.com, namastex.ai, telemetry.api-monitor.com, pypiserver, no-color.org, test-npx.sh, test-bun-self-heal.sh, namastex.com, identity-smoke.sh, s.whatsapp.net, release-branch.sh, explorercontext.tech, husky.sh, check-triad.sh","raw IPs referenced: 127.0.0.1, 1.1.3.10","capability hits: agent_config_tamper×114, code_execution×47, persistence×37, reconnaissance×24, credential_access×18, privilege×5, crypto_wallet×5, registry_abuse×4, browser_theft×3, network_egress×3, download_execute×3, credential_harvest×2","39 prompt-injection / hidden-text hints in docs"],"entry_files":["scripts/check-env.js","src/index.js","./bin/pgserve-wrapper.cjs"],"large_or_binary":[".gitguardianignore (binary, 385 bytes)","scripts/public.pem (binary, 800 bytes)"]},"tarball":null,"source":"manual"}