security(line): synthesize auth boundary hardening for webhook and replay paths#32545
security(line): synthesize auth boundary hardening for webhook and replay paths#32545Takhoffman merged 18 commits intomainfrom
Conversation
|
🤖 We're reviewing this PR with Aisle We're running a security check on the changes in this PR now. This usually takes a few minutes. ⌛ Progress:
Latest run failed. Keeping previous successful results. Trace ID: Last updated on: 2026-03-03T04:40:54Z Latest run failed. Keeping previous successful results. Trace ID: Last updated on: 2026-03-03T04:52:52Z Latest run failed. Keeping previous successful results. Trace ID: Last updated on: 2026-03-03T05:21:25Z Latest run failed. Keeping previous successful results. Trace ID: Last updated on: 2026-03-03T06:19:34Z |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0e0bc14f83
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Greptile SummaryThis PR synthesizes LINE inbound auth hardening across four areas: account-scoped pairing-store lookups, explicit group-vs-DM policy separation, fail-closed webhook startup validation when Key findings:
Confidence Score: 3/5
Last reviewed commit: 0e0bc14 |
|
Addressed the replay-dedupe review findings in 4739b97. Changes made:
Verification:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4739b979cd
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7d2cf3a875
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Addressed the remaining webhook ACK review concern in 6520161. What changed:
Also included earlier in this branch:
|
6520161 to
e84267d
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2ee17c8217
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Addressed the new in-flight replay continuity review concern in be7ad01. What changed:
Regression coverage added:
Verification run:
|
|
Merged as dbccc73. Post-merge cleanup completed:
|
Summary
Describe the problem and fix in 2–5 bullets:
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
channelSecretis blank/whitespace.Security Impact (required)
No)No)No)No)Yes)Yes, explain risk + mitigation:Repro + Verification
Environment
dmPolicy/groupPolicyvariants; webhook signed/unsigned probesSteps
pnpm build,pnpm check).Expected
Actual
Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
webhookEventIdbut same message id; cross-account allowlist scoping.Compatibility / Migration
Yes)No)No)Failure Recovery (if this breaks)
src/line/bot-handlers.ts,src/line/webhook.ts,src/line/webhook-node.ts, plus related tests.Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.