secure-code-guidance
GitHub提供Python、JS/TS及Go代码的安全审查与实现指导,识别漏洞并给出修复建议,关注认证授权、输入验证及敏感数据处理。
Trigger Scenarios
Install
npx skills add nightly-labs/openbot --skill secure-code-guidance -g -y
SKILL.md
Frontmatter
{
"name": "secure-code-guidance",
"description": "Review or write Python, JavaScript, TypeScript, or Go code using secure defaults. Use only for explicit security guidance, security reviews, or secure implementation requests, not ordinary code review."
}
Secure Code Guidance
Ground the work in the repository before giving security advice. Identify the languages, frameworks, exposed entry points, trust boundaries, and existing project rules that apply.
For a review, report only concrete issues supported by code evidence. Give each finding a severity, impact, location, and smallest practical remediation. Distinguish confirmed vulnerabilities from defense-in-depth suggestions, and do not inflate local-development choices into production findings.
For implementation, prefer secure defaults that preserve intended behavior. Pay particular attention to authorization at resource boundaries, validation of untrusted input, injection risks, secret handling, unsafe deserialization, path traversal, outbound request controls, and sensitive data exposure.
Before proposing a change, inspect callers and tests for compatibility constraints. Verify fixes with the narrowest relevant checks. If the requested stack falls outside Python, JavaScript, TypeScript, or Go, state that this skill has no stack-specific guidance and limit the response to well-established general principles.
Version History
- ac99196 Current 2026-11-02 08:41


