security-headers
Generated code must be aligned with security headers (e.g. no unsave JS eval). The permissions policy is especially relevant when changing any code related with the `navigator` object.
适合你,如果你在开发中需要确保代码符合安全头策略
/ 通过 npx 安装 校验哈希
npx oh-my-skill add trezor/trezor-suite/security-headers/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- trezor/trezor-suite/security-headers/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify trezor/trezor-suite/security-headers安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
1021GitHub stars
~439上下文体积 · 单文件
索引托管
怎么用
商店整理自技能原文 · 版本 ab48a1e · 表述以原文为准它做什么
Claude 生成的代码必须与安全头部对齐,例如不使用不安全的 JS eval。当修改与 `navigator` 对象相关的代码时,需要特别关注权限策略。
什么时候触发
当 Claude 生成代码时触发,尤其是涉及 `navigator` 对象的代码修改。
装好后可以这样说
Claude 会检查代码中是否含有 eval。
Claude 会应用权限策略约束。
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…