agentleFS
xu-xiangxu-xiang/everything-claude-code-zh/.cursor/rules/common-security.md

everything-claude-code-zh / rules

Cursor rule2k starsChanged 9 months agoMITView on GitHub

安全:强制检查、密钥管理、响应协议

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the xu-xiang/everything-claude-code-zh repository that our weekly crawl found: only 1 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about xu-xiang/everything-claude-code-zh

The biggest 1 of 1 mention linking to the repository that our crawl found. Each line is their own headline.

The file

Files
common-security.md

安全指南 (Security Guidelines)

强制安全检查 (Mandatory Security Checks)

在进行任何提交 (commit) 之前:

  • 严禁硬编码密钥(API 密钥 (API keys)、密码、令牌 (tokens))
  • 所有用户输入均已验证
  • 预防 SQL 注入 (SQL injection)(使用参数化查询 (parameterized queries))
  • 预防跨站脚本攻击 (XSS prevention)(对 HTML 进行清理/转义 (sanitized HTML))
  • 已启用跨站请求伪造 (CSRF) 保护
  • 身份验证 (Authentication) / 授权 (Authorization) 已验证
  • 所有端点 (endpoints) 均已启用速率限制 (Rate limiting)
  • 错误信息不会泄露敏感数据

密钥管理 (Secret Management)

  • 严禁在源码中硬编码密钥 (secrets)
  • 始终使用环境变量 (environment variables) 或密钥管理器 (secret manager)
  • 在启动时验证必要的密钥是否存在
  • 轮换 (Rotate) 任何可能已泄露的密钥

安全响应协议 (Security Response Protocol)

如果发现安全问题:

  1. 立即停止 (STOP)
  2. 使用 security-reviewer 智能体 (Agent)
  3. 在继续前修复关键 (CRITICAL) 问题
  4. 轮换 (Rotate) 任何泄露的密钥
  5. 审查整个代码库以确认是否存在类似问题

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.