review-implementation

Warn

Audited by Socket on Aug 14, 2026

1 alert found:

Security
SecurityMEDIUM
evals/fixtures/laravel-tenant.md

No indicators of intentional malware or obfuscation in the provided code fragment. However, the endpoint likely contains a high-impact multi-tenant authorization bypass (IDOR): it fetches orders by `id` without tenant scoping and without enforcing `OrderPolicy::view`, so authenticated users may retrieve and view orders belonging to other tenants. Add tenant-scoped query constraints and explicit policy authorization, and include negative tests for cross-tenant 404 and policy-denied cases.

Confidence: 78%Severity: 82%
Audit Metadata
Analyzed At
Aug 14, 2026, 04:27 PM
Package URL
pkg:socket/skills-sh/hburaktasyurek%2Fagent-skills-and-commands%2Freview-implementation%2F@31e1eec066c0eab1548498f96e50d15528ed27c89136a04c4d2dccf39ac91ce8
Security Audit — socket — review-implementation