The skill directly manipulates the user's browser
Claims to do
Agent Component: Batteries-included agent component from [ui.inference.sh](https://ui.inference.sh).
Actually does
This skill installs a React/Next.js UI component and an SDK using `npx shadcn` and `npm install`. It configures a Next.js API proxy route that utilizes the `@inferencesh/sdk` to communicate with the `inference.sh` platform, authenticated via an `INFERENCE_API_KEY`. The UI component then interacts with this proxy to enable AI agent functionalities, potentially leveraging external AI models.
The agent is explicitly configured with client-side tools (`scan_ui`, `fill_field`) that allow it to interact directly with the user's browser UI. This poses a significant risk for unauthorized data extraction from the UI or performing actions (e.g., submitting forms) without explicit user consent, potentially bypassing human oversight.
system_prompt: 'You can fill forms using scan_ui and fill_field tools.', createScopedTools
The skill instructs users to install components and SDKs from external URLs (`ui.inference.sh`, `@inferencesh/sdk`) using `npx` and `npm`. A compromise of these external sources could lead to the injection and execution of arbitrary malicious code within the user's project.
npx shadcn@latest add https://ui.inference.sh/r/agent.json, npm install @inferencesh/sdk
The `allowFiles` and `allowImages` props enable the agent to handle file and image uploads. Without robust server-side validation and sanitization, this capability could be abused for data exfiltration, uploading malicious content, or consuming excessive resources.
allowFiles | boolean | Enable file uploads, allowImages | boolean | Enable image uploads
[](https://mondoo.com/ai-agent-security/skills/github/tool-belt/skills/agent-ui)<a href="https://mondoo.com/ai-agent-security/skills/github/tool-belt/skills/agent-ui"><img src="https://mondoo.com/ai-agent-security/api/badge/github/tool-belt/skills/agent-ui.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/github/tool-belt/skills/agent-ui.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.