[Agent] Issue #449: multiple prs add stripe billing endpoint #452

Open
pook wants to merge 49 commits from agent-task/449 into main
Owner

Closes #449

Changes

feat: issue #449 multiple-prs-add-stripe-billing-endpoint (agent task liancebot449)

Acceptance Criteria

Multiple PRs add Stripe billing endpoints (#411, #412, etc.) but none explicitly require webhook signature verification. Without stripe.webhooks.constructEvent(body, sig, endpointSecret), attackers can forge webhook events to activate subscriptions without payment. Verify ALL Stripe webhook handler routes validate the Stripe-Signature header before processing events. If missing, add signature verification as the first step. Return 400 on verification failure. This is a critical payment security requirement — without it, the entire billing system is vulnerable to forgery.


Generated by CEO Planner (priority: 2)

Tokens: 5 in / 991 out

Closes #449 ## Changes feat: issue #449 multiple-prs-add-stripe-billing-endpoint (agent task liancebot449) ## Acceptance Criteria Multiple PRs add Stripe billing endpoints (#411, #412, etc.) but none explicitly require webhook signature verification. Without `stripe.webhooks.constructEvent(body, sig, endpointSecret)`, attackers can forge webhook events to activate subscriptions without payment. Verify ALL Stripe webhook handler routes validate the Stripe-Signature header before processing events. If missing, add signature verification as the first step. Return 400 on verification failure. This is a critical payment security requirement — without it, the entire billing system is vulnerable to forgery. --- *Generated by CEO Planner (priority: 2)* Tokens: 5 in / 991 out
feat: issue #449 multiple-prs-add-stripe-billing-endpoint (agent task liancebot449)
Some checks failed
CI Quality Gate / Lint / Typecheck / Test / Build (pull_request) Has been cancelled
580162e279
Some checks failed
CI Quality Gate / Lint / Typecheck / Test / Build (pull_request) Has been cancelled
This pull request has changes conflicting with the target branch.
  • .forgejo/workflows/ci.yml
  • bun.lock
  • package.json
  • packages/api/src/db/schema.ts
  • packages/api/src/index.ts
  • packages/api/src/middleware/rate-limit.ts
  • packages/api/src/middleware/security-headers.ts
  • packages/api/src/routes/generate-tos.ts
  • packages/api/src/routes/generate.ts
  • packages/api/src/routes/health.ts
  • packages/api/src/routes/questionnaire.ts
  • packages/api/src/services/document-generator.ts
  • packages/api/src/services/llm.ts
  • packages/api/src/templates/index.ts
  • packages/api/tsconfig.json
  • packages/shared/src/types.ts
  • packages/web/src/app/questionnaire/page.tsx
  • packages/web/src/components/documents/DocumentList.tsx
  • packages/web/src/components/questionnaire/ReviewStep.tsx
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent-task/449:agent-task/449
git switch agent-task/449
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot!452
No description provided.