本文へスキップ
Kitbay
スキル公式

experience-lwc-security-validate

Apache-2.02026年11月6日 更新1,156GitHubスタースクリプトあり

A Salesforce skill for checking a Lightning Web Component bundle against Lightning Web Security rules.

スキルの内容

A Salesforce skill for checking a Lightning Web Component bundle against Lightning Web Security rules. The agent reads bundled knowledge bases and works through a numbered rule catalogue, looking for blocked or dangerous APIs such as eval, document.write and innerHTML, script element creation, writes to global objects and unsafe URL schemes, plus checks on templates and metadata. In review mode it returns findings ranked by severity with code fixes and can apply them; in score mode it produces a SARIF 2.1.0 JSON report. Bundled shell scripts check imports and validate SARIF output. It does not cover Apex, Aura or general security review.

できること

  • Review an LWC bundle for Lightning Web Security issues
  • Find dangerous DOM APIs and unsafe URL schemes
  • Produce a SARIF 2.1.0 score report
  • Apply fixes for security findings