用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Satakunnan-ammattikorkeakoulu/containers-on-the-fly --skill security-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | security-review |
| description | Review code changes for security vulnerabilities specific to this project |
Review all unstaged changes (git diff) for security issues. Check each area below and report findings as a numbered list with PASS/WARN/FAIL per item.
endpoints/*.py (except /api/app/config) must call ForceAuthentication(token) or ForceAuthentication(token, "admin") before any business logic. Check that no new endpoints skip authentication./api/admin/ must use ForceAuthentication(token, "admin"). Check that no admin endpoint uses plain ForceAuthentication(token) without the role parameter.CreateLoginToken(). Check that tokens are not logged, exposed in responses beyond login, or stored insecurely.Dict[str, Any] without further validation in the response handler).session.query(), session.add(), filter()). Check for any raw SQL via session.execute(text(...)) or string concatenation in queries.with Session() as session:. Check that sessions are not leaked or left open.docker/containers.py validate parameters before passing to python_on_whales. Check that user input does not flow unsanitized into container names, mount paths, or command strings.docker/ports.py.docker/mounts.py use template variables ({email}, {userid}). Check that user input cannot inject path traversal sequences (../) into mount paths.Present results as a checklist. For any WARN or FAIL items, show the specific file, line number, and a concrete description of the vulnerability with a suggested fix.
Do NOT report style issues, naming conventions, or non-security concerns. Stay focused on security only.