laravel

Warn

Audited by Socket on Sep 11, 2026

1 alert found:

Security
SecurityMEDIUM
evals/files/PostController.php

The code is not indicative of malware, but it contains a high-confidence SQL injection vulnerability in `search()` because both `q` and `dir` are interpolated into raw SQL. It also presents mass-assignment and potentially authorization risks through unrestricted request data in `store()` and `update()`. Use bound query parameters, allowlist the sort direction, validate only intended fields, use explicit model fillable attributes, and enforce authorization policies.

Confidence: 99%Severity: 84%
Audit Metadata
Analyzed At
Sep 11, 2026, 03:16 PM
Package URL
pkg:socket/skills-sh/lynricsy%2Fhyperskills%2Flaravel%2F@bb6bf24446d65073b31dc6e543d78c15cc7ab9df27b19a0b3276fbe594434cba
Security Audit — socket — laravel