The skill allows arbitrary code execution and state manipulation through
Claims to do
@json-render/next: Next.js renderer that converts JSON specs into full Next.js applications with routes, pages, layouts, metadata, and SSR support.
Actually does
This skill provides a TypeScript library (`@json-render/next`) that enables developers to define Next.js application structures (routes, layouts, metadata, pages) using a JSON-like specification. It offers functions like `createNextApp` and components such as `Page` and `NextAppProvider` to render this specification within a Next.js application, supporting server-side rendering, data loading, and client-side navigation. It does not directly call external tools, access data, run commands, or contact URLs itself, but facilitates these actions within the generated Next.js application.
The skill allows defining server-side asynchronous functions (`loaders`) that execute arbitrary code before rendering. If an attacker can influence the `spec` (e.g., via AI prompt injection), they can inject malicious code into these loaders, leading to command execution or data exfiltration.
loaders: { loadPost: async ({ slug }) => { const post = await getPost(slug as string); return { post }; } }The skill is designed for 'AI-generated multi-page applications' and provides a `schema` for 'AI catalog generation'. This implies an AI might produce the `NextAppSpec`, creating a supply chain vulnerability where a compromised AI could generate malicious `loaders` or configurations.
description: 'creating AI-generated multi-page applications.', 'schema -- Custom schema for Next.js apps (for AI catalog generation)'
The skill allows defining and manipulating global application state via the `state` field and built-in actions (`setState`, `pushState`, `removeState`). If an attacker can inject into the `spec` or control action parameters, they could poison the application's state, leading to data corruption or unintended behavior.
`state`: Global initial state shared across all routes, Built-in Actions: `setState`, `pushState`, `removeState`
[](https://mondoo.com/ai-agent-security/skills/github/vercel-labs/json-render/next)<a href="https://mondoo.com/ai-agent-security/skills/github/vercel-labs/json-render/next"><img src="https://mondoo.com/ai-agent-security/api/badge/github/vercel-labs/json-render/next.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/vercel-labs/json-render/next.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.