docs: repair syntax errors in SECURITY.md

This commit is contained in:
fly6516 2025-06-30 16:45:19 +08:00
parent 0fbd2e52c2
commit c807910253

View File

@ -55,25 +55,25 @@ We maintain the following controls and hygiene measures:
- Docker-based sandboxing for isolated C-program execution; resource-limited. - Docker-based sandboxing for isolated C-program execution; resource-limited.
- Recommend TLS (HTTPS) for all network access and secure authentication tokens. - Recommend TLS (HTTPS) for all network access and secure authentication tokens.
- Strict access controls: only administrators and teachers can perform sensitive operations. - Strict access controls: only administrators and teachers can perform sensitive operations.
- Dependabot and/or CodeQL for dependency & code scanning :contentReference[oaicite:1]{index=1}. - Dependabot and/or CodeQL for dependency & code scanning.
- GitHub branch protections on both `main` and `develop`, including required reviews, status checks, and no force-push. :contentReference[oaicite:2]{index=2} - GitHub branch protections on both `main` and `develop`, including required reviews, status checks, and no force-push.
- Secret scanning enabled to prevent API key leakage. :contentReference[oaicite:3]{index=3} - Secret scanning enabled to prevent API key leakage.
--- ---
## 👨‍💻 Secure Development Tips ## 👨‍💻 Secure Development Tips
- Avoid committing secrets: use environment variables and secret management tools. :contentReference[oaicite:4]{index=4} - Avoid committing secrets: use environment variables and secret management tools.
- Regular dependency updates—automated monthly scans are recommended. :contentReference[oaicite:5]{index=5} - Regular dependency updates—automated monthly scans are recommended.
- Enforce 2FA for all contributors to reduce unauthorized access risks. :contentReference[oaicite:6]{index=6} - Enforce 2FA for all contributors to reduce unauthorized access risks.
--- ---
## 📚 References & Resources ## 📚 References & Resources
- GitHub best practices for security policies :contentReference[oaicite:7]{index=7} - GitHub best practices for security policies
- OWASP Vulnerability Disclosure guidelines :contentReference[oaicite:8]{index=8} - OWASP Vulnerability Disclosure guidelines
- Coordinated Vulnerability Disclosure in open-source :contentReference[oaicite:9]{index=9} - Coordinated Vulnerability Disclosure in open-source
--- ---