Skip to content
项目

matank001/cursor-security-rules

在 GitHub 查看

关于

This repository contains Cursor Security Rules designed to improve the security of both development workflows and AI agent usage within the Cursor environment. These rules aim to enforce safe coding practices, control sensitive operations, and reduce risk in AI-assisted development.

安全与隐私

这些数字如何统计

可以做什么

  • ✅ Enforce safe coding practices
  • 🛑 Prevent accidental exposure of secrets
  • 👮‍♂️ Control sensitive operations
  • 🤝 Foster a security-first development culture

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

🛡️ Cursor Security Rules

This repo provides essential security rules for Cursor.

⚠️ Why do you need these rules?

By default, Cursor can generate unsafe code—such as exposing secrets or running dangerous commands. These rules act as guardrails to help you avoid risky patterns and enforce best practices automatically.

These rules aim to enforce safe coding practices, control sensitive operations, and reduce risk in AI-assisted development.

🚀 How to Use These Rules

✨ Simply add these rules to your .cursor/rules directory (or your main directory) and you'll instantly be safer.

📋 Example Rule Topics

  • 🔒 Secure Development Principles
  • 🤖 Secure MCP Usage
  • 🐍 Python Security Best Practices
  • 🕵️‍♂️ No Secrets in Frontend
  • 🚫 No Unsafe System Commands

💡 Why Use Cursor Security Rules?

  • ✅ Enforce safe coding practices
  • 🛑 Prevent accidental exposure of secrets
  • 👮‍♂️ Control sensitive operations
  • 🤝 Foster a security-first development culture

🤝 Contribute

Are you a security researcher or developer passionate about AI safety? If you have ideas to improve these rules or want to add new ones, we encourage you to contribute! Your expertise can help make AI-assisted development safer for everyone 📝

👥 About Us

We are Matan Kotick and Amit Ziv, security researchers specializing in the field of AI Agents.

Contact us if you have any questions about this interesting topic!

探索相关项目

加载中…