{"id":39087602,"url":"https://github.com/matank001/cursor-security-rules","last_synced_at":"2026-01-17T18:42:50.503Z","repository":{"id":298759674,"uuid":"1000819554","full_name":"matank001/cursor-security-rules","owner":"matank001","description":"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.","archived":false,"fork":false,"pushed_at":"2025-06-20T16:14:38.000Z","size":44,"stargazers_count":141,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-20T17:27:28.948Z","etag":null,"topics":["agent-security","agents","ai","aiagents","cursor","cursor-rules","cursor-security","cursorrules","security"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matank001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-12T11:20:34.000Z","updated_at":"2025-06-20T16:14:42.000Z","dependencies_parsed_at":"2025-06-12T20:48:44.772Z","dependency_job_id":null,"html_url":"https://github.com/matank001/cursor-security-rules","commit_stats":null,"previous_names":["matank001/cursor-security-rules"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matank001/cursor-security-rules","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matank001%2Fcursor-security-rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matank001%2Fcursor-security-rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matank001%2Fcursor-security-rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matank001%2Fcursor-security-rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matank001","download_url":"https://codeload.github.com/matank001/cursor-security-rules/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matank001%2Fcursor-security-rules/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28516199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:28:00.501Z","status":"ssl_error","status_checked_at":"2026-01-17T18:28:00.150Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-security","agents","ai","aiagents","cursor","cursor-rules","cursor-security","cursorrules","security"],"created_at":"2026-01-17T18:42:50.402Z","updated_at":"2026-01-17T18:42:50.481Z","avatar_url":"https://github.com/matank001.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ Cursor Security Rules\n\nThis repo provides essential security rules for Cursor.\n\n\u003e ⚠️ **Why do you need these rules?**\n\u003e \n\u003e 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.\n\nThese rules aim to enforce safe coding practices, control sensitive operations, and reduce risk in AI-assisted development.\n\n## 🚀 How to Use These Rules\n\n✨ Simply add these rules to your `.cursor/rules` directory (or your main directory) and you'll instantly be safer.\n\n## 📋 Example Rule Topics\n\n- 🔒 Secure Development Principles\n- 🤖 Secure MCP Usage\n- 🐍 Python Security Best Practices\n- 🕵️‍♂️ No Secrets in Frontend\n- 🚫 No Unsafe System Commands\n\n## 💡 Why Use Cursor Security Rules?\n\n- ✅ Enforce safe coding practices\n- 🛑 Prevent accidental exposure of secrets\n- 👮‍♂️ Control sensitive operations\n- 🤝 Foster a security-first development culture\n\n## 🤝 Contribute\n\nAre 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 📝\n\n## 👥 About Us\n\nWe are [**Matan Kotick**](https://www.linkedin.com/in/matan-kotick-664735252) and [**Amit Ziv**](https://www.linkedin.com/in/amit-ziv-49690b120), security researchers specializing in the field of AI Agents.\n\nContact us if you have any questions about this interesting topic!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatank001%2Fcursor-security-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatank001%2Fcursor-security-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatank001%2Fcursor-security-rules/lists"}