php-development

Warn

Audited by Socket on Sep 17, 2026

1 alert found:

Security
SecurityMEDIUM
references/php-8-4-api-patterns-2026.md

The fragment does not indicate malware or supply-chain sabotage. It does contain a critical authentication flaw: bearer tokens are unsigned base64-encoded JSON, and the administrator role is trusted directly from the token. A forged token can therefore potentially obtain administrative access. Tokens should use a verified signed format such as a properly validated JWT or an opaque server-side session, with required claims and types validated. Development error-display settings must not be enabled in production.

Confidence: 98%Severity: 94%
Audit Metadata
Analyzed At
Sep 17, 2026, 06:18 AM
Package URL
pkg:socket/skills-sh/practicalswan%2Fagent-skills%2Fphp-development%2F@44b49298eb98b0ec5d0bc5420e5aabe96f1b8e6916fade91bb2fa09320b845fc
Security Audit — socket — php-development