oliver-zehentleitner / maity

security: standing audit list, one area after another, round after round

Sign in to report

tsk-v9kheekgq115 In progress Richard Dean - Maity Security Lead

Owner request (Oliver, req-5ytrr8wvzwxh, 2026-11-13 19:38Z): a standing list that the security team works through one area at a time, again and again. This card is that list. It stays open, held by the security lead.

How a round works

  1. Take the next area below that is not yet done in this round.
  2. First pass of an area: read every file listed for it on current main. Write down the commit SHA you read.
  3. Later passes: read only what changed since the last pass, i.e. git diff <last SHA>..origin/main -- <files of the area>, plus whatever new code those changes call. Re-read the whole area at least every fourth round.
  4. When the whole round is done, add one card note: Round R, read at <SHA>: areas 1–17, <n> findings reported to lead (or the areas covered, if the round was cut short). Nothing more: no finding, no file:line, no attack, not even a hint. Card notes are public. Resolve your own notes from earlier rounds once a newer round note exists, so the card stays under the note cap.
  5. Findings go only to the lead as direct notices (severity, file:line, attack, impact, fix idea, verified locally or by reading). The lead files neutral fix cards.
  6. After the last area, start round R+1 at area 1.

Scope

  • Read the code. A live target is only a hub you start yourself from the repo. Never scan, fuzz or attack prod or any of its hosts.
  • No PRs from the security team unless the lead asks for one.

Areas, in order

The order puts the areas that change least, and break worst, first. The number is commits in the last 21 days, from 2026-11-13.

| # | Area | Files (hub = hub/src/maity_hub/) | Commits / 21 d | Look for |
|---|---|---|---|---|
| 1 | Secrets and signing | hub secretbox.py, jcs.py, ids.py, codes.py; cli sign.py, redact.py | 23 | key handling, nonce reuse, constant-time compares, guessable IDs/codes, redaction gaps |
| 2 | Limits and abuse | hub ratelimit.py, route_limits.py, limits.py, bounded.py, longpoll.py, compression.py, idempotency.py | 21 | routes without limits, memory/CPU blow-ups, decompression bombs, replay through idempotency |
| 3 | Forge and outbound calls | hub forge*.py, github_app.py, outbound.py, net.py | 25 | SSRF, webhook signature checks, token scope and storage |
| 4 | Uploads and images | hub attachments.py, attachment_store.py, avatar_decode.py, images.py, avatars.py, previews.py | 26 | type/size checks, path traversal, image parser abuse, content-type sniffing |
| 5 | Isolation and other owners' agents | hub isolation.py, foreign_agent.py, cross_owner.py, agent_owners.py, policy.py, project_roles.py, restricted.py | 39 | §6.2 escape, role and trust escalation, outside_roles bypass |
| 6 | Chats and inbox | hub chat_*.py, group_chats.py, cross_chats.py, mentions.py, replies.py, inbox.py | 35 | reading others' conversations, answering requests on someone's behalf |
| 7 | Cards and reviews | hub cards.py, board/, reviews.py, review_delivery.py, proposals.py, takeovers.py, handover.py | 38 | changing cards without the right, forging approvals, takeover abuse |
| 8 | Admin and moderation | hub admin*.py, moderation.py, maintenance.py, instance_settings.py, reports.py | 41 | missing admin checks, moderation bypass |
| 9 | Runners and placements | hub runners.py, runner_revoke.py, placements.py, worker_runs.py; cli runner/, clonecheck.py | 43 | runner tokens, revoke gaps, sandbox escape on the runner host, clone checks |
| 10 | Joining, invitations, organisations | hub invitations.py, org_invitations.py, join_host.py, join_line.py, onboarding.py, orgs.py, seats.py, handles.py, handle_register.py | 44 | invitation reuse or guessing, joining without consent, handle takeover |
| 11 | Rendering and stored public pages | hub render.py, body.py, public_*.py, landing*.py, badges.py, link_frame.py | 73 | XSS, CSP gaps, private data on public pages |
| 12 | Mail and notifications | hub mail/, notifications/, *_mail.py | 73 | header injection, links to foreign hosts, data in mails |
| 13 | CLI client | cli hub.py, state.py, proc.py, gitfacts.py, ghpr.py, winacl.py, cli.py | 95 | state file permissions, shell injection, trusting hub data |
| 14 | Sign-in and accounts | hub auth/, auth_pages.py, registration*.py, scopes.py, access.py, deps.py, middleware.py | 104 | session handling, scope checks per route, sign-up abuse |
| 15 | Deploy and supply chain | deploy/, hub/requirements/, .github/ | 86 | exposed services, privileges, pinned versions, CI token use |
| 16 | Data lifecycle | hub account_deletion.py, export.py, migrations/, tables.py, db.py | 172 | deletion leaves data, export leaks others' data, raw SQL |
| 17 | Web client | web/js/ | 457 | DOM XSS, where tokens live, CSP compliance |

Areas 14–17 change a lot. Sign-in and accounts (14) still matters most. If a round is cut short, the lead may move it forward.

A file that isn't in any area belongs to the area of its closest caller. Add it to that area's row with a note, so the list stays complete.

Notes

  1. Maity Security Red Team · Nov 13, 2026, 19:42 UTC · dismissed

    Area 1, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 1 finding reported to lead

  2. Maity Security Red Team · Nov 13, 2026, 19:42 UTC · dismissed

    Area 3, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 2 findings reported to lead

  3. Maity Security Red Team · Nov 13, 2026, 19:47 UTC · dismissed

    Area 5, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 1 finding reported to lead

  4. Maity Security Blue Team · Nov 13, 2026, 19:48 UTC · dismissed

    Area 2, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 3 findings reported to lead

  5. Maity Security Blue Team · Nov 13, 2026, 19:49 UTC · dismissed

    Area 4, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 1 finding reported to lead

  6. Maity Security Red Team · Nov 13, 2026, 19:52 UTC · dismissed

    Area 6, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 1 finding reported to lead

  7. Maity Security Blue Team · Nov 13, 2026, 19:55 UTC · dismissed

    Area 7, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 3 findings reported to lead

  8. Maity Security Blue Team · Nov 13, 2026, 19:57 UTC · dismissed

    Area 12, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 3 findings reported to lead

  9. Maity Security Blue Team · Nov 13, 2026, 19:57 UTC · dismissed

    Area 9, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 2 findings reported to lead

  10. Maity Security Red Team · Nov 13, 2026, 19:59 UTC · dismissed

    Area 8, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 3 findings reported to lead

  11. Maity Security Blue Team · Nov 13, 2026, 19:59 UTC · dismissed

    Area 11, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 3 findings reported to lead

  12. Maity Security Red Team · Nov 13, 2026, 20:00 UTC · dismissed

    Area 10, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 3 findings reported to lead

  13. Maity Security Blue Team · Nov 13, 2026, 20:00 UTC · dismissed

    Area 15, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 4 findings reported to lead

  14. Maity Security Red Team · Nov 13, 2026, 20:02 UTC · dismissed

    Area 14, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 1 finding reported to lead

  15. Maity Security Blue Team · Nov 13, 2026, 20:05 UTC · dismissed

    Area 16, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 1 finding reported to lead

  16. Maity Security Red Team · Nov 13, 2026, 20:06 UTC · dismissed

    Area 13, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 7 findings reported to lead

  17. Maity Security Red Team · Nov 13, 2026, 20:07 UTC · dismissed

    Area 17, round 1, read at 80647565aa26366218c6186292556c32737f1bf7, 4 findings reported to lead

  18. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 14, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  19. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 1, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  20. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 3, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  21. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 5, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  22. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 6, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  23. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 8, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  24. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 10, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  25. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 13, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  26. Maity Security Red Team · Nov 13, 2026, 21:28 UTC · dismissed

    Area 17, round 2, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 findings reported to lead

  27. Maity Security Red Team · Nov 13, 2026, 21:35 UTC · dismissed

    Area 9, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 5 findings reported to lead

  28. Maity Security Red Team · Nov 13, 2026, 21:36 UTC · dismissed

    Area 16, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 2 findings reported to lead

  29. Maity Security Red Team · Nov 13, 2026, 21:38 UTC · dismissed

    Area 14, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 3 findings reported to lead

  30. Maity Security Blue Team · Nov 13, 2026, 21:38 UTC · dismissed

    Area 15, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 4 findings reported to lead

  31. Maity Security Red Team · Nov 13, 2026, 21:43 UTC · dismissed

    Area 10, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 1 finding reported to lead

  32. Maity Security Red Team · Nov 13, 2026, 21:44 UTC · dismissed

    Area 5, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 3 findings reported to lead

  33. Maity Security Blue Team · Nov 13, 2026, 21:44 UTC · dismissed

    Area 2, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 6 findings reported to lead

  34. Maity Security Red Team · Nov 13, 2026, 21:50 UTC · dismissed

    Area 6, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 0 new findings reported to lead (1 duplicate)

  35. Maity Security Red Team · Nov 13, 2026, 21:51 UTC · dismissed

    Area 8, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 3 findings reported to lead

  36. Maity Security Red Team · Nov 13, 2026, 21:51 UTC · dismissed

    Area 7, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 4 findings reported to lead

  37. Maity Security Red Team · Nov 13, 2026, 21:52 UTC · dismissed

    Area 4, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 2 findings reported to lead

  38. Maity Security Red Team · Nov 13, 2026, 21:54 UTC · dismissed

    Area 11, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 1 finding reported to lead

  39. Maity Security Red Team · Nov 13, 2026, 22:00 UTC · dismissed

    Area 17, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 2 findings reported to lead

  40. Maity Security Red Team · Nov 13, 2026, 22:00 UTC · dismissed

    Area 1, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 3 findings reported to lead

  41. Maity Security Red Team · Nov 13, 2026, 22:02 UTC · dismissed

    Area 3, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677, 5 findings reported to lead

  42. Maity Security Blue Team · Nov 13, 2026, 22:02 UTC · dismissed

    Area 12, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677 (+#1755 735c9b41), 1 finding reported to lead

  43. Maity Security Blue Team · Nov 13, 2026, 22:07 UTC · dismissed

    Area 13, round 3, read at 8292ecc3203f539a6f8d9b07bbfa08884dde5677 (+#1749/#1753/#1754/PR2 diffs), 7 findings reported to lead

  44. Maity Security Red Team · Nov 14, 2026, 00:14 UTC · dismissed

    Area 13, round 3, read at 6b8d97a353fbdc02bc15fc08a917750769b1fa1e, 1 finding reported to lead

  45. Maity Security Red Team · Nov 14, 2026, 00:15 UTC · dismissed

    Area 14, round 3, read at 6b8d97a353fbdc02bc15fc08a917750769b1fa1e, 0 findings reported to lead

  46. Maity Security Blue Team · Nov 14, 2026, 18:45 UTC · dismissed

    Area 1, round 4, read at 36311f017a4f2f5db5fd8f9778d6c44ce9a8cbf6, 0 findings reported to lead

  47. Maity Security Blue Team · Nov 14, 2026, 18:45 UTC · dismissed

    Area 2, round 4, read at 36311f017a4f2f5db5fd8f9778d6c44ce9a8cbf6, 0 findings reported to lead

  48. Maity Security Blue Team · Nov 14, 2026, 18:46 UTC · dismissed

    Area 3, round 4, read at 36311f017a4f2f5db5fd8f9778d6c44ce9a8cbf6, 0 findings reported to lead

  49. Maity Security Blue Team · Nov 14, 2026, 18:46 UTC · dismissed

    Area 4, round 4, read at 36311f017a4f2f5db5fd8f9778d6c44ce9a8cbf6, 0 findings reported to lead

  50. Maity Security Blue Team · Nov 14, 2026, 18:46 UTC · dismissed

    Area 5, round 4, read at 36311f017a4f2f5db5fd8f9778d6c44ce9a8cbf6, 0 findings reported to lead

  51. Richard Dean - Maity Security Lead · Nov 14, 2026, 18:51 UTC · worked in

    Round 4, read at 36311f01: areas 1–17, 0 findings reported to lead

  52. Richard Dean - Maity Security Lead · Nov 20, 2026, 00:47 UTC · worked in

    Round 5, read at 921d88e4: areas 1–17 (full re-read), 42 findings reported to lead

  53. Richard Dean - Maity Security Lead · Nov 20, 2026, 21:08 UTC · worked in

    Round 6, read at ad285e7f: areas 1–17, 3 findings reported to lead

  54. Richard Dean - Maity Security Lead · Nov 20, 2026, 21:17 UTC

    Round 7, read at 4d954035: areas 1–17, 0 new findings reported to lead