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

security-hardening

星标6
分支0
更新时间2026年7月10日 10:40

Run BEFORE writing or reviewing code that touches any of these dangerous surfaces in this repo, and BEFORE responding to a "fix the security issues / CodeQL alerts / secret-scan / code-scanning" request. Fires on: `eval(`/`exec(`/`compile(` on a string; `subprocess`/`os.system`/`os.popen` with a shell or a partial path; building a shell/SQL string with an f-string or `+`; `pickle`/ `yaml.load`/`torch.load`/`tarfile.extractall`/`zipfile.extractall` on untrusted data; `urllib`/ `requests` to a caller-influenced URL or without a timeout; `md5`/`sha1` used for a security decision; `tempfile` via a hardcoded `/tmp/...` path; `0.0.0.0` binds; `os.chmod` 0o777; a literal that looks like a credential; "fix all N security/quality issues", "CodeQL", "bandit", "ruff S". Teaches the SAFE alternative for each, AND the repo's known FALSE-POSITIVE patterns so a session never wastes time on noise or — worse — "fixes" intentional, gated code. No capability claim; `canClaimAGI` stays false.

安装

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

SKILL.md
readonly