方針を決めたい:任意オリジンの JS 実行・public の置き物・拡大の禁止・bubble-space との関係
Maintainers usually reply within 12 days
@ninjamasa is already working on this.
Since Oct 7, 2026.
Assessment
This issue has not been assessed yet.
Description
実装を直す前に、方針として決めたいものです。
1. 任意オリジンの JS を無確認で実行し、以後の起動でも自動で再実行する
- 場所:
apps/bublys-os/app/launcher/BublyLoaderBubble.tsx:66-84、BublyOriginStore.ts - 良い点:読み込み元は利用者の入力だけで、URL や postMessage から来る経路は無い(grep で確認)
- 気になる点:
- 許可リストも、「このオリジンのコードは OS の全データに触れる」という警告も無い
bublys.loaded-bubly-originsは起動のたびに cache-bust 付きで取り直して実行するので、同一オリジン上の何か(読み込み済みのバブリ自身も含む)が localStorage に 1 行書ければ、恒久的にコードを実行できる。配信側が差し替えれば、利用者の同意なしに中身が変わる- スキームを省くと
http://を補う。https 配信の本番では mixed content でブロックされ、http では改ざんされ得る - 入力をそのまま残す候補(
bublyOriginCandidatesの raw)にはdata:URL なども通る
- 決めること:プラグインの仕組みとして、同意・警告・許可リストをどこまで持つか
2. 本番に出す必要の無いページ
apps/bublys-os/public/のbubble-layout-v6.html(16k 行)・z-or-not.html(14k 行)・bubble-layout-lab.html(2k 行)、合計約 1.5MB。fb80c11e で入れたあと未更新のビルド済み成果物で、生成元のスクリプトもリンクも無い。危険な読み込みは無いが、本番の同一オリジンで配信され、ライブラリと食い違ったまま古くなるapp/shore-fit(検証台)とapp/bubble-layout(静的なbubbleRoutesを使うので、動的に読んだバブリは出ない)も本番ルートとして公開されている- 決めること:
docs/へ移すか、開発時だけのルートにするか
3. ブラウザの拡大を切っている
apps/bublys-os/app/layout.tsxの viewport がuserScalable: false, maximumScale: 1。意図は注釈にある(100vh に貼り付いた 1 枚の場で、ピンチは海の操作に使う)が、アクセシビリティ(ピンチでの拡大)を潰している- 決めること:このまま行くか、拡大の代わりになる口を用意するか
4. bublys-libs/bubble-space(DOM 版)との関係
bubble-layout系は、その後継の実装(docs/bubble-space-prototype/DECISIONS.mdで 9/19 以降の決定を引き継いでいる)- 手元の
bublys-libs/bubble-spaceは dist だけが残った抜け殻(git では追跡されていない) - 決めること:どちらを正とするかを README / CLAUDE.md に明示する
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 0
- Avg merge
- 9d 13h
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fumicode/bublys-org
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
fumicode/bublys-org#261 ·
Maintainers usually reply within 12 days
-
enhancement Shiftonton
Difficulty 5/5 Over a week Newbie friendliness 15/100
fumicode/bublys-org#259 ·
Maintainers usually reply within 12 days
-
enhancement Shiftonton
Difficulty 3/5 1-2 days Newbie friendliness 42/100
fumicode/bublys-org#258 ·
Maintainers usually reply within 12 days
-
enhancement Shiftonton
Difficulty 4/5 3-5 days Newbie friendliness 25/100
fumicode/bublys-org#257 ·
Maintainers usually reply within 12 days
-
enhancement Shiftonton
Difficulty 4/5 3-5 days Newbie friendliness 55/100
fumicode/bublys-org#256 ·
Maintainers usually reply within 12 days
All issues in fumicode/bublys-org
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
External sources always come back in English: `lc` isn't passed to `/api/v3/external_sources`Possibly taken @Anurag1428 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
openfoodfacts/openfoodfacts-explorer#2264 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
cloudflare/workers-sdk#17139 ·
Maintainers usually reply within 1 day
-
area: editor P3 type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
halisonworks/mod-codeling#290 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
colinhacks/zod#6776 ·
Maintainers usually reply within 1 day