wiz-sec-public/secure-rules-files
소개
Baseline rules files to improve the security of AI-generated code (Claude, Cursor, Copilot + more)
보안 및 개인정보 보호측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalElevate Your Code Security with AI-Native Baseline Rules

Rules files offer an AI-native interface for improving the security of generated code.
[!TIP] Rules files are most useful when they're specific to your codebase's stack and best practices.
This repository contains a broadly compatible set of baseline rules, encoding security best practices for common programming language and framework pairings.
These rules files are themselves AI generated, according to the best practices and principles described in Rules Files for Safer Vibe Coding.
What's Inside This Repository?
generate_rules.py: The Python script responsible for generating these rules files, leveraging thegemini-2.5-flash-preview-05-20model (requiresGOOGLE_API_KEYenvironment variable)prompt.md: A transparent look at the core prompt used to guide Gemini in crafting these rules files- Rules Directory: The heart of the repository, organized intuitively by Programming Language/Framework to provide easy access to the relevant security rules.
Supported Technologies
[!IMPORTANT] While these rules files should increase the security of generated code, they are offered without warantee or guarantee.
Our initial set of baseline rules targets a broad spectrum of widely used languages and frameworks:
- Python: Flask, Django
- Javascript: React, Node.js
- Java: Spring
- .NET: ASP.NET Core
- C
Compatible rules were generated for each of the following popular AI coding assistants and tools:
- Cursor Rules
- Cline Rules
- Claude CLAUDE.md
- Windsurf Rules
- Codex AGENTS.md
- Aider Conventions
- GitHub Copilot Copilot Instructions
Contributing
We welcome contributions, whether they add coverage for additional languages and frameworks, or offer evidence based improvements to the prompt.
- To add a new language or framework:
technologies.json - To add a new assistant:
assistants.json
관련 프로젝트 살펴보기
불러오는 중…