Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LazyAGI/LazyMind --skill ui-secure-reviewgit clone --depth 1 https://github.com/LazyAGI/LazyMindWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lazyagi/lazymind/ui-secure-review)<a href="https://agentmods.dev/skills/lazyagi/lazymind/ui-secure-review"><img src="https://agentmods.dev/badge/skills/lazyagi/lazymind/ui-secure-review/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lazyagi/lazymind/ui-secure-review"><img src="https://agentmods.dev/badge/skills/lazyagi/lazymind/ui-secure-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.00614 |
| Opus 5.5 | $0.00020 | $0.00246 |
| Sonnet 5.5 | $0.00010 | $0.00123 |
| Haiku 4.5 | $0.00005 | $0.00061 |
Grade A, and why
ui-secure-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UI Secure Review
Use this skill when the user asks for a frontend review with a security-first lens.
When to use
- Reviewing PRs that touch UI rendering, routing, auth, storage, or API calls.
- Auditing React, Vue, or plain JavaScript UI code for exploitable patterns.
- Hardening existing UI code before release.
When not to use
- Pure visual polish work with no logic or data handling changes.
- Backend-only or infra-only changes.
Review workflow
- Map changed files and rank risk by feature type.
- Run quick pattern scans for dangerous APIs and sinks.
- Read high-risk files in detail and trace data from input to render.
- Confirm exploitability, impact, and realistic attack path.
- Report findings ordered by severity with exact file and line references.
- Suggest minimum safe fix and regression tests for each finding.
High-risk patterns to check
- HTML injection:
dangerouslySetInnerHTML,v-html,innerHTML,outerHTML. - Script execution:
eval,new Function, string-based timers. - URL and navigation sinks: dynamic
href,window.open, router redirects from untrusted params. - Tabnabbing risk: external links with
target="_blank"missingrel="noopener noreferrer". - Token exposure: auth tokens in query params, logs, localStorage, or error traces.
- Cross-origin trust:
postMessagewithout strictoriginandsourcechecks. - Client-only authorization assumptions that can be bypassed in browser devtools.
- Sensitive data persistence in cache, URL, or browser storage.
Quick scan commands
Use these patterns as a first pass, then manually verify context.
rg -n "dangerouslySetInnerHTML|v-html|innerHTML|outerHTML|eval\(|new Function\(" frontend/src
rg -n "window\.open|postMessage|target=\"_blank\"|localStorage|sessionStorage" frontend/src
rg -n "token|authorization|auth|redirect|location\.href|router\.push" frontend/src
Fix guidance
- Prefer safe templating and escaped rendering over raw HTML insertion.
- Validate and normalize all dynamic URLs before navigation.
- Keep tokens in secure httpOnly cookies when architecture allows.
- Add strict allowlists for cross-origin messaging and navigation targets.
- Enforce authorization on the server even if UI hides actions.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 58 lines · 51 tokens per session scan A 33c753c5d855
ui-secure-review is a skill published in the GitHub repository LazyAGI/LazyMind (589 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 614 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ui-secure-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-secure-reviewLazyAGI/LazyMind | Skill | 589 | yesterday | Apache-2.0 | A | 51 | Claude Code, Codex |
| unified-llm-apiPrism-Shadow/penguin-harness | Skill | 3.2k | yesterday | Apache-2.0 | A | 43 | Claude Code, Codex |
| remote-compute-modalUnicomAI/wanwu | Skill | 2.4k | 14d ago | Apache-2.0 | A | 65 | Claude Code, Codex |
| customizeUnicomAI/wanwu | Skill | 2.4k | 14d ago | Apache-2.0 | A | 88 | Claude Code, Codex |
| smart-data-analysisUnicomAI/wanwu | Skill | 2.4k | 14d ago | Apache-2.0 | A | 208 | Claude Code |
| claude-apiUnicomAI/wanwu | Skill | 2.4k | 14d ago | Apache-2.0 | A | 84 | Claude Code, Codex |
| compute-env-setupUnicomAI/wanwu | Skill | 2.4k | 14d ago | Apache-2.0 | A | 134 | Claude Code, Codex |