Skip to main content
在 Manus 中运行任何 Skill
一键导入

rails-security

星标0
分支0
更新时间2026年6月13日 06:04

Proactively harden a Rails 8.1 app at build time — rate limiting (Rails 8 built-in rate_limit or rack-attack), secrets/credentials management (encrypted credentials, ENV, external managers), Content Security Policy and security headers, CSRF protection, strong-parameters/mass-assignment as a security control, and dependency/static scanning (Brakeman, bundler-audit, importmap audit). Menu-driven for the genuine choices (rate limiting, secrets) with a Recommended default; detects what's already configured first, branches on config.api_only (CSRF/CSP differ for token APIs), and verifies each control actually blocks what it should. This is BUILD-secure; for a retrospective FIND-insecure audit, use the upstream rails-audit skill (its security checklist is the rubric this skill builds toward). Apply when adding rate limiting, handling secrets, setting CSP/headers, hardening forms/params, or wiring vulnerability scanning.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
6 个文件
SKILL.md
readonly