{"answers":{"affected":"2 open source packages ship an affected version, including @jsonbored/gittensory-mcp.","exploited":"There is no known exploitation of GHSA-382c-vx95-w3p5 in the wild and no public exploit code.","fix":"No fix has been published for GHSA-382c-vx95-w3p5 yet. Limit exposure of the affected software until one is available.","what":"GHSA-382c-vx95-w3p5 is a missing authorization vulnerability in @jsonbored/gittensory-mcp, published on 9 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-382c-vx95-w3p5 and fix it if it is affected.\n\nWhat it is: GHSA-382c-vx95-w3p5 is a missing authorization vulnerability in @jsonbored/gittensory-mcp, published on 9 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-382c-vx95-w3p5 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @jsonbored/gittensory-mcp (npm): affected all versions up to 0.1.0; no fix listed\n- @jsonbored/gittensory-mcp (npm): affected all versions up to 0.1.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-382c-vx95-w3p5/ (Markdown: https://insights.sbomify.com/GHSA-382c-vx95-w3p5/index.md)","id":"GHSA-382c-vx95-w3p5","markdown":"https://insights.sbomify.com/GHSA-382c-vx95-w3p5/index.md","name":"GHSA-382c-vx95-w3p5","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Gittensory API","requires_auth":"low_privilege","summary":"Authenticated users can access other contributors' financial data and hotkeys due to missing access control checks on the profile endpoint.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Summary\n \n`GET /v1/contributors/:login/profile` and the `gittensory_get_contributor_profile` MCP tool skip the contributor-scoped access check that every sibling endpoint enforces. Any authenticated session/API/MCP token holder can read any contributor's profile; for confirmed Gittensor miners that exposes `alphaPerDay`, `taoPerDay`, `usdPerDay` (and the `hotkey` on the REST path). Authenticated cross-contributor disclosure, CWE-284 / IDOR.\n \n### Details\n \nIn `src/api/routes.ts` the profile handler returns `buildContributorProfile(...)` with no `requireContributorAccess` call. Every sibling (`/decision-pack`, `/repos/:owner/:repo/decision`, etc.) gates and 403s on a cross-contributor request — the profile route is the only omission. `buildContributorProfile` (`src/signals/engine.ts`) embeds `hotkey` and the three `*PerDay` fields for any confirmed miner.\n \nThe MCP tool `getContributorProfile` (`src/mcp/server.ts`) also omits `requireContributorAccess`. Its `redactSensitiveForMcp` filter only strips keys matching `hotkey|coldkey|wallet|private_key|privateKey|mnemonic`, so the hotkey is dropped but `alphaPerDay`/`taoPerDay`/`usdPerDay` pass through.\n \nThe codebase treats these as secret everywhere else — `decision-pack.ts` destructures the hotkey out before serving, and three sanitizers scrub hotkey/wallet from AI/comment output — which is why this is an oversight, not by-design.\n \nExposure: REST → hotkey + 3 financial fields; MCP → 3 financial fields (hotkey redacted).\n \n### PoC\n \n1. Get any valid session/API/MCP token.\n2. Pick a target `login` that is a confirmed miner.\n3. `GET /v1/contributors/{target}/profile` → 200 with `gittensor.hotkey`, `alphaPerDay`, `taoPerDay`, `usdPerDay`.\n4. `GET /v1/contributors/{target}/decision-pack` (same token) → 403, proving the missing gate.\n5. MCP `gittensory_get_contributor_profile` with `{target}` → result includes the three `*PerDay` fields.\n### Impact\n \nAny token holder can enumerate other miners' daily TAO/alpha/USD revenue (plus hotkey via REST) without authorization. All miners with snapshot data are affected.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Gittensory: Missing contributor-scoped access control on profile endpoint and MCP tool leaks miner financial data","id":"GHSA-382c-vx95-w3p5","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.1.0"],"package":"@jsonbored/gittensory-mcp","purl":null,"source":"GHSA-382c-vx95-w3p5"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.1.0"],"package":"@jsonbored/gittensory-mcp","purl":"pkg:npm/%40jsonbored/gittensory-mcp","source":"GHSA-382c-vx95-w3p5"}],"products":null,"published":"2026-07-09","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Authenticated users can access other contributors' financial data and hotkeys due to missing access control checks on the profile endpoint.","url":"https://insights.sbomify.com/GHSA-382c-vx95-w3p5/"}