Skip to content

Sync with upstream#9

Merged
ArtyomSavchenko merged 3 commits into
developfrom
sync-upstream-10-jul
Jul 11, 2026
Merged

Sync with upstream#9
ArtyomSavchenko merged 3 commits into
developfrom
sync-upstream-10-jul

Conversation

@ArtyomSavchenko

Copy link
Copy Markdown
Member

No description provided.

ArtyomSavchenko and others added 3 commits July 10, 2026 17:32
Signed-off-by: Artyom Savchenko <armisav@gmail.com>
* Fix export

Signed-off-by: Artyom Savchenko <armisav@gmail.com>

* Fix copyright error

Signed-off-by: Artyom Savchenko <armisav@gmail.com>

* Potential fix for pull request finding 'CodeQL / Uncontrolled data used in path expression'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Artyom Savchenko <armisav@gmail.com>

* Format fixes

Signed-off-by: Artyom Savchenko <armisav@gmail.com>

* Sanitize names

Signed-off-by: Artyom Savchenko <armisav@gmail.com>

* Fix file format

Signed-off-by: Artyom Savchenko <armisav@gmail.com>

* Update copyright year

Signed-off-by: Artyom Savchenko <armisav@gmail.com>

---------

Signed-off-by: Artyom Savchenko <armisav@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@ArtyomSavchenko
ArtyomSavchenko merged commit 0e8f8cb into develop Jul 11, 2026
23 of 24 checks passed
ArtyomSavchenko pushed a commit that referenced this pull request Jul 21, 2026
Backend blockers found during review of the office/video port:

- rpc.ts (#1 broken access control, #2 modifiedBy spoofing): the six
  direct /api/v1/{create,addCollection,update,createMixin,updateMixin,
  remove} endpoints build their client via wrapPipeline(...,true), which
  runs as the system account and bypasses space/role/read-only checks.
  Gate them to system/service accounts (the only legitimate caller, e.g.
  the love service which connects with a system token). Regular clients
  must use the permission-checked /api/v1/tx path. This also stops
  non-system callers from spoofing modifiedBy.

- guests.ts (#3 guest-token secret): sign/verify the guest platform
  token with the platform SECRET instead of the LiveKit API secret, so
  it validates against the transactor without conflating the two secrets.

- transient.ts (#4 TransientMiddleware): clear the ttlChecker interval in
  a new close() override (timer leak); detect removes via tx._class
  (was tx.objectClass, never TxRemoveDoc, so removes re-added the object
  with a fresh TTL); delete expired entries from ttlObjectMap in checkTTL
  (map grew unbounded and re-broadcast every second).

- FloorPreview.svelte (#9 committed debug scaffolding): remove the
  dev-only Debug/Clear-AI-Bot/Search-Accounts menu actions and their
  functions, which hardcoded personal emails and logged PII.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BZnVtCWH1hTH7EisaBdT7T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant