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

safe-apis

星标6
分支0
更新时间2026年7月26日 16:01

Use when writing or reviewing code that touches a dangerous API surface: `eval`/`exec`/`compile` on a string; `subprocess`/`os.system`/`os.popen` with a shell or a partial path; building a shell or SQL command by string concatenation or f-string; `pickle`/`yaml.load`/`torch.load`/ `tarfile.extractall`/`zipfile.extractall` on data you did not produce; fetching a caller-supplied URL or fetching without a timeout; `md5`/`sha1` in a security decision; a hardcoded `/tmp/...` path; a `0.0.0.0` bind; `chmod 0o777`; `random` for a token or secret; or logging an object that carries a credential. Gives the exact safe replacement call for each surface, plus the three rules that make a redaction survive static taint analysis.

安装

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

SKILL.md
readonly