security: review commerce tools for payment data exposure #29
Labels
No labels
P1
P2
P3
PHP
agent-ready
bug
clotho
discovery
docs
refactor
review
security
testing
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/php-mcp#29
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Four commerce tools exist (
CreateCoupon,ListInvoices,GetBillingStatus,UpgradePlan) that interact with billing systems. These require a dedicated security review.Concerns
CreateCoupon— could enable discount abuse if not properly authorisedListInvoices— must not expose invoices across workspaces/tenantsGetBillingStatus— leaking plan details could enable enumeration attacksUpgradePlan— must require explicit user confirmation, not AI-autonomous executionRequired Review
UpgradePlanrequires explicit user confirmationCreateCouponrequires admin-level permissionsListInvoicesscoping (does it return only current workspace invoices?)Files
src/Mcp/Tools/Commerce/(all files)