Atlas / Skills / vercel-labs / json-render

json-renderCAUTION

skills/vercel-labs/json-render-core

The Generative UI framework

Verdict
CAUTION
Grade
B
Trust score
86 /100
Version
—
Hosts
5 documented
License
Apache-2.0
Stars
18,812
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

The Generative UI framework.

Generate dynamic, personalized UIs from prompts without sacrificing reliability. Predefined components and actions for safe, predictable output.

# for React
npm install @json-render/core @json-render/react
# for React with pre-built shadcn/ui components
npm install @json-render/shadcn
# or for React Native
npm install @json-render/core @json-render/react-native
# or for video
npm install @json-render/core @json-render/remotion
# or for PDF documents
npm install @json-render/core @json-render/react-pdf
# or for HTML email
npm install @json-render/core @json-render/react-email @react-email/components @react-email/render
# or for Vue
npm install @json-render/core @json-render/vue
# or for Svelte
npm install @json-render/core @json-render/svelte
# or for SolidJS
npm install @json-render/core @json-render/solid
# or for terminal UIs
npm install @json-render/core @json-render/ink ink react
# or for full Next.js apps (routes, layouts, SSR, metadata)
npm install @json-render/core @json-render
Read from source at commit 282bb92843f0OBSERVED · 2026-10-28
Advertisement
02

Install

Commands as the repository documents them. They are shown, not run.

npm install @json-render/core @json-render/react
npm install @json-render/shadcn
npm install @json-render/core @json-render/react-native
npm install @json-render/core @json-render/remotion
npm install @json-render/core @json-render/react-pdf
npm install @json-render/core @json-render/react-email @react-email/components @react-email/render
03

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
claude-codementioned
claude-desktopmentioned
codexmentioned
copilotmentioned
cursormentioned
04

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: codegen
description: Code generation utilities for json-render. Use when generating code from UI specs, building custom code exporters, traversing specs, or serializing props for @json-render/codegen.
---

# @json-render/codegen

Framework-agnostic utilities for generating code from json-render UI trees. Use these to build custom code exporters for Next.js, Remix, or other frameworks.

## Installation

```bash
npm install @json-render/codegen
```

## Tree Traversal

```typescript
import {
  traverseSpec,
  collectUsedComponents,
  collectStatePaths,
  collectActions,
} from "@json-render/codegen";

// Walk the spec depth-first
traverseSpec(spec, (element, key, depth, parent) => {
  console.log(`${" ".repeat(depth * 2)}${key}: ${element.type}`);
});

// Get all component types used
const components = collectUsedComponents(spec);
// Set { "Card", "Metric", "Button" }

// Get all state paths referenced
const statePaths = collectStatePaths(spec);
// Set { "analytics/revenue", "user/name" }

// Get all action names
const actions = collectActions(spec);
// Set { "submit_form", "refresh_data" }
```

## Serialization

```typescript
import {
  serializePropValue,
  serializeProps,
  escapeString,
  type SerializeOptions,
} from "@json-render/codegen";

// Serialize a single value
serializePropValue("hello");
// { value: '"hello"', needsBraces: false }

serializePropValue({ $state: "/user/name" });
// { value: '{ $state: "/user/name" }', needsBraces: true }

// Serialize props for JSX
serializeProps({ title: "Dashboard", columns: 3, disabled: true });
// 'title="Dashboard" columns={3} disabled'

// Escape strings for code
escapeString('hello "world"');
// 'hello \"world\"'
```

### SerializeOptions

```typescript
interface SerializeOptions {
  quotes?: "single" | "double";
  indent?: number;
}
```

## Types

```typescript
import type { GeneratedFile, CodeGenerator } from "@json-render/codegen";

const myGenerator: CodeGenerator = {
  generate(spec) {
    return [
      { path: "package.json", content: "..." },
      { path: "app/page.tsx", content: "..." },
    ];
  },
};
```

## Building a Custom Generator

```typescript
import {
  collectUsedComponents,
  collectStatePaths,
  traverseSpec,
  serializeProps,
  type GeneratedFile,
} from "@json-render/codegen";
import type { Spec } from "@json-render/core";

export function generateNextJSProject(spec: Spec): GeneratedFile[] {
  const files: GeneratedFile[] = [];
  const components = collectUsedComponents(spec);
  // Generate package.json, component files, main page...
  return files;
}
```
05

Trust audit

CAUTIONgrade B · trust 86/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (6 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (15)

HIGHPrompt injection · prompt.zero_width · CWE-94, CWE-1427
skills/remotion-best-practices/rules/maps.md:85
style: 'mapbox://styles/mapbox/standard',
Why it matters. invisible characters in instruction text
Fix. strip non-printing characters
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
apps/web/scripts/test-routes.mjs:45
const url = `http://127.0.0.1:${port}`;
LOWInventory / provenance · inv.hidden_file · CWE-1104
.node-version
.node-version
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
packages/codegen/src/serialize-keys.test.ts:6
return new Function(`return (${code});`)() as Record<string, unknown>;
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/react-native/app/api/generate+api.ts:4
import { catalog, customRules } from "../../lib/render/catalog";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/stripe-app/drawer-app/src/lib/render/catalog/actions.ts:1
import { stripe, formatAmount, formatDate } from "../../stripe";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
examples/stripe-app/fullpage-app/src/lib/render/catalog/actions.ts:1
import { stripe, formatAmount, formatDate } from "../../stripe";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/core/src/repeat-schema-parity.test.ts:3
import { schema as imageSchema } from "../../image/src/schema";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
packages/core/src/repeat-schema-parity.test.ts:4
import { schema as inkSchema } from "../../ink/src/schema";
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
apps/web/package.json
@ai-sdk/gateway, @mdx-js/mdx, @radix-ui/react-dialog, @radix-ui/react-slot, @radix-ui/react-tabs, @upstash/ratelimit, @upstash/redis, @vercel/analytics
Why it matters. 31 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/chat/package.json
@ai-sdk/gateway, @ai-sdk/react, @react-three/drei, @react-three/fiber, @streamdown/code, ai, class-variance-authority, clsx
Why it matters. 26 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/dashboard/package.json
@ai-sdk/gateway, ai, class-variance-authority, clsx, drizzle-orm, lucide-react, next-themes, postgres
Why it matters. 27 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/devtools/package.json
@ai-sdk/gateway, @ai-sdk/react, ai, next, react, react-dom, @types/node, @types/react
Why it matters. 11 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
examples/game-engine/package.json
@ai-sdk/gateway, @react-three/drei, @react-three/fiber, @react-three/postprocessing, @react-three/rapier, @upstash/ratelimit, @upstash/redis, @vercel/blob
Why it matters. 21 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
pnpm-lock.yaml
pnpm-lock.yaml
Why it matters. 1306355 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-28 · audit v0.4.1 · source sha 282bb92843f0full audit observations/trust-audit/skill/vercel-labs__json-render-core.json · Report an issue / request a re-scan
06

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-28282bb92843f0CAUTIONB86first audit
07

Questions

What does the json-render-core — vercel-labs/json-render skill do?

The Generative UI framework

Is json-render-core — vercel-labs/json-render safe to install?

With care. The audit graded it B (86/100) and found 15 things worth knowing before you trust this skill, listed below with the exact line each was found on.

What can json-render-core — vercel-labs/json-render access on my machine?

The audit observed that it reaches the network. Each of those is consistent with what it says it does. Secrets in the source: none found.

Which assistants does json-render-core — vercel-labs/json-render work with?

Its documentation mentions claude-code, claude-desktop, codex, copilot and cursor. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (282bb92843f0), read on 2026-10-28. The repository is watched, and a new audit runs when it changes — this is the first audit.

Add this badge to your README

Shows this page's audit result and links back to it. It updates when the audit does.

ModelsAtlas audit badge

Markdown
[![ModelsAtlas audit: json-render](https://modelsatlas.com/skills/vercel-labs/json-render-core/badge.svg)](https://modelsatlas.com/skills/vercel-labs/json-render-core/)

Not your listing, or something out of date? Claim or update your listing.

Advertisement