laravel

Warn

Audited by Socket on Nov 9, 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
Nov 9, 2026, 05:47 PM
Package URL
pkg:socket/skills-sh/lynricsy%2Fhyperskills%2Flaravel%2F@695fc0c70f1739470e5da5b1988c7a6093fdcc7f5fdaca7c8a4232eb0f310491