evidence-backed-review
Warn
Audited by Socket on Sep 5, 2026
1 alert found:
SecuritySecurityevals/fixtures/review-endpoint-returning-records-by-id-plus-an-upload/setup.sh
MEDIUMSecurityMEDIUM
evals/fixtures/review-endpoint-returning-records-by-id-plus-an-upload/setup.sh
The module does not show signs of supply-chain malware (no obfuscation, no persistence, no exfiltration), but it contains high-impact application security vulnerabilities: (1) likely IDOR in getInvoiceById due to missing ownership validation against req.user.id and (2) path traversal / unsafe file-write risk in uploadReceiptAttachment due to unsanitized user-controlled filename used to form a filesystem destination passed to storage.save. These issues can directly lead to unauthorized data access and potentially arbitrary file writes, depending on storage behavior.
Confidence: 80%Severity: 72%
Audit Metadata