Source profileQuality 77/100

LazyAGI/LazyMind/skills/.curated/ui-secure-review/SKILL.md

ui-secure-review

Review frontend and UI changes for concrete security risks such as XSS, unsafe URL handling, token leakage, missing origin checks, and client-side authorization gaps. Use when users ask for a UI code review focused on safety and reliability.

Source repository stars
55
Declared platforms
0
Static risk flags
0
Last source update
2026-07-28
Source checked
2026-07-28

Decision brief

What it does—and where it fits

Use this skill when the user asks for a frontend review with a security-first lens.

Best for

  • 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.

Not for

  • Pure visual polish work with no logic or data handling changes.
  • Backend-only or infra-only changes.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/LazyAGI/LazyMind --skill "skills/.curated/ui-secure-review"
Safe inspection promptEditorial

Inspect the Agent Skill "ui-secure-review" from https://github.com/LazyAGI/LazyMind/blob/b63cc44f8c68603bc9e802b56d8e243fef2481aa/skills/.curated/ui-secure-review/SKILL.md at commit b63cc44f8c68603bc9e802b56d8e243fef2481aa. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Review workflow

    1. Map changed files and rank risk by feature type. 2. Run quick pattern scans for dangerous APIs and sinks. 3. Read high-risk files in detail and trace data from input to render. 4. Confirm exploitability, impact, and realistic attack path. 5. Report findings ordered by severit…

    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.
  2. 02

    When to use

    Reviewing PRs that touch UI rendering, routing, auth, storage, or API calls.

    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.
  3. 03

    When not to use

    Pure visual polish work with no logic or data handling changes.

    Pure visual polish work with no logic or data handling changes.Backend-only or infra-only changes.- Pure visual polish work with no logic or data handling changes. - Backend-only or infra-only changes.
  4. 04

    High-risk patterns to check

    HTML injection: dangerouslySetInnerHTML, v-html, innerHTML, outerHTML.

    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.

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score77/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars55SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
LazyAGI/LazyMind
Skill path
skills/.curated/ui-secure-review/SKILL.md
Commit
b63cc44f8c68603bc9e802b56d8e243fef2481aa
License
Apache-2.0
Collected
2026-07-28
Default branch
main
View the original SKILL.md

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

  1. Map changed files and rank risk by feature type.
  2. Run quick pattern scans for dangerous APIs and sinks.
  3. Read high-risk files in detail and trace data from input to render.
  4. Confirm exploitability, impact, and realistic attack path.
  5. Report findings ordered by severity with exact file and line references.
  6. 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" missing rel="noopener noreferrer".
  • Token exposure: auth tokens in query params, logs, localStorage, or error traces.
  • Cross-origin trust: postMessage without strict origin and source checks.
  • 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.

Output contract

  • Findings first, ordered by severity.
  • Include file path, line, risk, exploit scenario, and concrete fix.
  • Explicitly say "No high-confidence findings" if nothing actionable is found.
  • Mention residual test gaps or assumptions.

Alternatives

Compare before choosing