Ai Sdk Ui
Analysis
The skill is mostly a coherent AI SDK UI guide, but it includes an unsafe raw-HTML chat rendering example that users should review before copying into an app.
Findings (4)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
<div dangerouslySetInnerHTML={{ __html: formatMessage(message.content) }} />The example renders chat message content as raw HTML after simple string replacement, with no escaping or sanitizer shown. In an AI chat UI, message.content may contain untrusted user or model-generated text.
latest=$(npm view "$package" version 2>/dev/null) ... npm install ai@latest @ai-sdk/openai@latest @ai-sdk/anthropic@latest @ai-sdk/google@latest react@latest react-dom@latest next@latest zod@latest
The user-directed helper script checks npm for latest package versions and prints an @latest install command. This is aligned with a dependency-template skill, but it relies on live package registry state rather than pinned versions.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
OPENAI_API_KEY=sk-... ANTHROPIC_API_KEY=sk-ant-... GOOGLE_GENERATIVE_AI_API_KEY=...
The examples show provider API keys for the user's app. This is expected for AI SDK integration and there is no artifact evidence of logging, hardcoding real secrets, or unrelated transmission.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
initialMessages: loadFromLocalStorage(chatId), ... saveToLocalStorage(chatId, messages);
The skill documents persisting chat messages in browser localStorage. This is purpose-aligned for chat history, but retained conversations may include sensitive prompts, responses, or tool outputs.
