nextjs-developer
Warn
Audited by Gen Agent Trust Hub on Apr 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONSAFE
Full Analysis
- [COMMAND_EXECUTION]: The server action example for file uploads in
references/server-actions.mdis vulnerable to path traversal. It usesfile.namefrom untrusted input directly inpath.join(process.cwd(), 'public', 'uploads', file.name)without any sanitization, which could allow a malicious actor to overwrite arbitrary files on the server. - [SAFE]: The deployment documentation in
references/deployment.mdfollows security best practices by recommending theAuthorizationheader for revalidation secrets instead of query parameters. - [SAFE]: The skill correctly identifies the risks of using
dangerouslySetInnerHTMLand recommends using sanitization libraries likeDOMPurify. - [SAFE]: The skill references industry-standard and trusted tools from providers such as Vercel, Prisma, and Sentry.
Audit Metadata