T09 · Insecure Skill Coding Practices
- Location
SKILL.md:570- Finding
Unauthenticated record creation with unsafe mass assignment
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Next.js guide is mostly ordinary, but some sample API code could lead users to build unsafe unauthenticated create and delete endpoints.
Review this skill carefully before installing. It is markdown-only and does not appear to execute code, but users should not copy its Basic CRUD route-handler examples into a real app without adding authentication, authorization, strict input validation, field allowlisting, and safer deletion controls.
SKILL.md:570Unauthenticated record creation with unsafe mass assignment
SKILL.md:586Unauthenticated deletion of arbitrary records
The trigger list includes very broad terms such as 'Next', 'use server', and 'use client' that are likely to match many unrelated prompts and cause this skill to activate unexpectedly. Over-broad activation can route users into specialized guidance in the wrong context, increasing the chance of unsafe or irrelevant code generation and creating prompt-scope confusion.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
export default async function PostsPage() {
const posts = await fetch('https://api.example.com/posts').then(r => r.json())
return <ul>{posts.map(p => <li key={p.id}>{p.title}</li>)}</ul>
}
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
export default async function PostsPage() {
const posts = await fetch('https://api.example.com/posts').then(r => r.json())
return <ul>{posts.map(p => <li key={p.id}>{p.title}</li>)}</ul>
}
The root layout example sets <html lang="en">, which imposes an English locale in natural-language-facing output without any opt-in or note that this is only illustrative. Because the file is a skill guide, this can steer users toward a fixed language choice contrary to locale-flexible policy expectations.
No suspicious patterns detected.