GHSA-382c-vx95-w3p5: Gittensory: Missing contributor-scoped access control on profile endpoint and MCP tool leaks miner financial data
Gittensory's `GET /v1/contributors/:login/profile` route and the `gittensory_get_contributor_profile` MCP tool skip the contributor access check, so any authenticated token holder can read another miner's daily TAO, alpha and USD earnings. The REST route also returns the hotkey. `@jsonbored/gittensory-mcp` 0.1.0 and earlier is affected, with no patched version listed.
Published Jul 9, 2026 · Analysis Nov 1, 2026
What an attacker can do
In src/api/routes.ts the profile handler returns buildContributorProfile(...) without calling requireContributorAccess. Every sibling route, such as /decision-pack, answers 403 to a cross-contributor request. This one does not. buildContributorProfile in src/signals/engine.ts embeds hotkey, alphaPerDay, taoPerDay and usdPerDay for confirmed miners.
The MCP tool in src/mcp/server.ts has the same omission. Its redactSensitiveForMcp filter strips keys matching hotkey|coldkey|wallet|private_key|privateKey|mnemonic. The hotkey is removed, but the three *PerDay fields pass through.
An attacker needs only a valid session, API or MCP token for any account (CVSS PR:L), then picks a login that is a confirmed miner. They can enumerate every miner with snapshot data. The loss is confidentiality of revenue figures, plus the hotkey through REST. Nothing is modified.
Who is affected
@jsonbored/gittensory-mcp 0.1.0 and earlier, per the advisory. The flaw is in the server's REST route and MCP tool, so any deployment that exposes either to authenticated users is affected. Check the installed version:
npm ls @jsonbored/gittensory-mcpTo confirm exposure, request GET /v1/contributors/{other-login}/profile with a token for a different user. A 200 response means the check is missing. /decision-pack returning 403 for the same request shows the intended behavior.
@jsonbored/gittensory-mcp
- Ecosystem
- npm
- Affected
- <= 0.1.0
- Fixed in
- No patched version yet
- Check
npm ls @jsonbored/gittensory-mcp
How to fix it
The advisory lists no patched version. The fix is in commit 811ef5f in the Gittensory repository. It adds requireContributorAccess to the REST profile route and the MCP tool, and extends redactSensitiveForMcp to strip alphaPerDay, taoPerDay and usdPerDay. Regression tests cover the REST 403 and the MCP forbidden path. The sources do not say which release includes it, so build from a revision at or after that commit, or check the package for a newer release than 0.1.0. No workaround is given in the sources. Limiting who receives tokens reduces the exposure.
How to tell if you were hit
Review API and MCP access logs for GET /v1/contributors/{login}/profile calls where the token's owner differs from {login}, and for repeated calls that walk many logins. Also look for gittensory_get_contributor_profile MCP calls with a login other than the caller's. Miners should treat their hotkey and earnings as exposed if such access shows up. The advisory publishes no log format.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
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.
Details
In 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.
The 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.
The 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.
Exposure: REST → hotkey + 3 financial fields; MCP → 3 financial fields (hotkey redacted).
PoC
- Get any valid session/API/MCP token.
- Pick a target
loginthat is a confirmed miner. GET /v1/contributors/{target}/profile→ 200 withgittensor.hotkey,alphaPerDay,taoPerDay,usdPerDay.GET /v1/contributors/{target}/decision-pack(same token) → 403, proving the missing gate.- MCP
gittensory_get_contributor_profilewith{target}→ result includes the three*PerDayfields.
Impact
Any token holder can enumerate other miners' daily TAO/alpha/USD revenue (plus hotkey via REST) without authorization. All miners with snapshot data are affected.
Credited to homanp.
Questions
- What data does the Gittensory profile leak expose?
Daily earnings in alpha, TAO and USD for confirmed miners, and the hotkey on the REST route. The MCP tool redacts the hotkey but still returns the three earnings fields.
- Do attackers need admin access?
No. Any valid session, API or MCP token is enough. The profile route never calls
requireContributorAccess, so it does not compare the token's owner with the requested login.- Is there a fixed release of @jsonbored/gittensory-mcp?
The advisory lists none. The fix is commit 811ef5f, and the sources do not name a release containing it.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Other MCP servers and tools vulnerabilities
All Other MCP servers and tools entriesCVE-2026-102943
Dagu MCP DAG specification read bypasses path containment and workspace isolation
medium6.5Nov 10, 2026CVE-2026-102610
fast-agent: `fast-agent serve` binds HTTP to 0.0.0.0 with no authentication by default; with --shell this is unauthenticated remote command execution
medium6.4Nov 9, 2026CVE-2026-63655
tsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS
high7.5Nov 9, 2026CVE-2026-76892
tsParticles: Malformed JSON requests can terminate the @tsparticles/mcp-server HTTP process
high8.7Nov 9, 2026CVE-2026-76893
tsParticles: A single anonymous MCP session can monopolize HTTP mode and deny new clients
medium6.9Nov 9, 2026CVE-2026-77604
Code Graph RAG: MCP paginated read_file path traversal / arbitrary file read
high7.5Nov 9, 2026
