Skip to content
Kitbay

experience-lwc-security-validate

Apache-2.0Updated on Nov 6, 20261,156GitHub starsIncludes scripts

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

What the skill teaches

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.

Capabilities

  • 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