experience-lwc-security-validate
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
概要
- 公開元
- Salesforce
- ツール
- Salesforce
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add forcedotcom/sf-skills
含まれるファイル
- examples/review-report.md
- examples/score-report.sarif.json
- references/lws-security-expert.md
- references/security-analysis.md
- scripts/check-lwc-import.sh
- scripts/validate-sarif.sh
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Salesforce | |
| 公開元 | Salesforce | 出典 |
| 公式かどうか | 公式Salesforce's developer documentation for its skills and plugins links to the forcedotcom/sf-skills repository | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | はい | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月6日GitHubスター 1,156ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ |
出典
- スキルファイル(SKILL.md)github.com/forcedotcom/sf-skills2026年11月10日
- README(README.md)github.com/forcedotcom/sf-skills2026年11月13日
- ライセンスファイル(LICENSE.txt)github.com/forcedotcom/sf-skills · 根拠となる項目:ライセンス, 公開元2026年11月13日
- Webページdeveloper.salesforce.com · 根拠となる項目:公式かどうか2026年11月13日
- リポジトリ内のフォルダ(experience-lwc-security-validate)github.com/forcedotcom/sf-skills · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/forcedotcom/sf-skills · 根拠となる項目:活動状況, ライセンス2026年11月11日