alwaysApply: true
---
# Checksec Security Rules
Checksec is an open source Go tool that analyzes security properties of executables (PIE, RELRO, Canaries, ASLR, Fortify Source, etc.). This tool parses ELF binaries
2.4k15mo agoReviewMountCreate a free account to mount
Catch2.
- Mock dependencies with libraries like Google Mock.
- Implement integration tests for system components.
## Security
- Use secure coding practices to avoid vulnerabilities (e.g., buffer overflows, dangling pointers).
- Prefer `std::array
2.2k5mo agoReviewMountCreate a free account to mount
channels or sync primitives.
- **Defer closing resources** and handle them carefully to avoid leaks.
### Security and Resilience:
- Apply **input validation and sanitization** rigorously, especially on inputs from external sources
2.2k5mo agoReviewMountCreate a free account to mount
Design (antd) UI library within React applications. It covers code organization, performance, security, testing, and common pitfalls to ensure maintainable and efficient applications.
globs: **/*.{js,jsx,ts,tsx}
---
# Ant Design
2.2k19mo agoReviewMountCreate a free account to mount
globs:
alwaysApply: false
---
---
description: Comprehensive guide to React best practices, covering code organization, performance, security, testing, and common pitfalls. Adhering to these guidelines helps developers build maintainable, scalable, and high
2.2k19mo agoReviewMountCreate a free account to mount
guidelines for developing applications using Vite, covering aspects from code organization and performance to security and testing.
globs: **/*.{js,jsx,ts,tsx,vue,svelte}
---
- **Introduction:**
- This document outlines best practices
2.2k19mo agoReviewMountCreate a free account to mount
provides comprehensive best practices for using Vitest, covering code organization, testing strategies, performance, and security within Vitest projects. These guidelines ensure clean, maintainable, and reliable test suites.
globs
2.2k19mo agoReviewMountCreate a free account to mount
Based Lazy Loading:** Lazy load routes using `react-router-dom`'s `lazy` function.
## 4. Security Best Practices
### 4.1. Common Vulnerabilities and How to Prevent Them
- **Cross-Site Scripting (XSS):** Sanitize
2.2k19mo agoReviewMountCreate a free account to mount