fix: keep LINE group allowlists scoped [AI]#106056
Conversation
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs real behavior proof before merge. Reviewed July 13, 2026, 3:36 AM ET / 07:36 UTC. Summary PR surface: Source -4, Tests +22, Docs +1. Total +19 across 3 files. Reproducibility: yes. at source level: configure LINE with Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Make LINE group sender authorization use only per-group or Do we have a high-confidence way to reproduce the issue? Yes at source level: configure LINE with Is this the best way to solve the issue? Not yet. Scoping group authorization to group-specific entries is the narrow security fix, but the submitted path needs explicit upgrade handling and real LINE proof before it is the best merge-ready solution. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against afdc29c3dd43. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source -4, Tests +22, Docs +1. Total +19 across 3 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Maintainer pass before landing:
Proof:
|
Prevent LINE group allowlist policy from inheriting DM allowFrom entries, so open DMs do not broaden group access. Keep group-specific allowlists and per-group overrides as the only group admission sources, and document the scoped behavior. Co-authored-by: pgondhi987 <[email protected]>
Prevent LINE group allowlist policy from inheriting DM allowFrom entries, so open DMs do not broaden group access. Keep group-specific allowlists and per-group overrides as the only group admission sources, and document the scoped behavior. Co-authored-by: pgondhi987 <[email protected]>
Prevent LINE group allowlist policy from inheriting DM allowFrom entries, so open DMs do not broaden group access. Keep group-specific allowlists and per-group overrides as the only group admission sources, and document the scoped behavior. Co-authored-by: pgondhi987 <[email protected]> (cherry picked from commit ffff72c)
What Problem This Solves
Fixes an issue where LINE operators who leave DMs open but configure group access as an allowlist could have group messages admitted without any group-specific allowlist entries.
Why This Change Was Made
LINE group access now uses only the group-level allowlist sources when group policy is set to allowlist. The DM allowlist remains scoped to DMs, while group-specific overrides and account-level group allowlists continue to work through the existing channel ingress path.
User Impact
Operators can keep DM access open without that DM setting broadening access in LINE groups. Existing group allowlist entries still admit the intended senders, and empty group allowlists now deny group senders consistently.
Compatibility note: LINE group configurations that previously relied on top-level DM
allowFromentries should setgroupAllowFromor per-groupallowFromfor group senders.Evidence
cbx_93178783bc9f/run_8181ae25ce5f:corepack pnpm test extensions/line/src/bot-handlers.test.ts -- --reporter=verboseextensions/line/src/bot-handlers.test.tspassed, 29 tests.