laravel-billing
Audited by Socket on Sep 29, 2026
3 alerts found:
SecurityAnomalyx2No evidence of intentional malware or supply-chain sabotage is present. The code contains significant application security risks involving missing role and object-level authorization, cross-team member reassignment/removal, unbounded seat previews, and race conditions in seat enforcement. These should be fixed before production use by enforcing team ownership/admin permissions, validating target membership and team assignment, applying billing limits consistently, and locking or otherwise atomically coordinating seat changes.
No malicious behavior or supply-chain malware is evident. The code performs expected Stripe checkout and billing portal operations. Security concerns are payment-flow integrity issues: arbitrary price IDs are accepted, checkout success sessions are not tied to the current user, and session-verification failures are treated as success. These should be corrected by allowlisting configured price IDs, verifying session customer/user ownership and expected purchase attributes, and failing closed when verification fails.
No clear malicious behavior, credential theft, unauthorized network activity, persistence, command execution, or obfuscation is present. The code performs expected Stripe billing operations. It has material operational risks: Redis KEYS can block Redis, concurrent cache aggregation can lose or duplicate usage, and repeatedly reporting cumulative storage may overcharge depending on Stripe usage semantics. These issues should be reviewed before production use.