Loading...
Loading...
Compare original and translation side by side
rules/rules/sql-injection.mdrules/xss.mdrules/command-injection.mdrules/_sections.mdrules/rules/sql-injection.mdrules/xss.mdrules/command-injection.mdrules/_sections.md| Vulnerability | Key Prevention |
|---|---|
| SQL Injection | Parameterized queries |
| XSS | Output encoding |
| Command Injection | Avoid shell, use APIs |
| Path Traversal | Validate paths |
| SSRF | URL allowlists |
| Secrets | Environment variables |
| Crypto | SHA-256, AES-256 |
| 漏洞类型 | 核心防护措施 |
|---|---|
| SQL注入 | 参数化查询 |
| XSS | 输出编码 |
| 命令注入 | 避免使用shell,使用API |
| 路径遍历 | 验证路径 |
| SSRF | URL允许列表 |
| 密钥管理 | 环境变量 |
| 加密算法 | SHA-256, AES-256 |