Skip to content

Security: rodriguescarson/cp-studio-ai

Security

SECURITY.md

Security Policy

πŸ”’ Supported Versions

We release patches for security vulnerabilities. Which versions are eligible for receiving such patches depends on the CVSS v3.0 Rating:

Version Supported
1.0.x βœ…
< 1.0 ❌

🚨 Reporting a Vulnerability

Please do not report security vulnerabilities through public GitHub issues.

Instead, please report them via one of the following methods:

What to Include

When reporting a security vulnerability, please include:

  1. Description: Clear description of the vulnerability
  2. Steps to Reproduce: Detailed steps to reproduce the issue
  3. Impact: Potential impact of the vulnerability
  4. Suggested Fix: If you have ideas on how to fix it
  5. Affected Versions: Which versions are affected

Response Timeline

  • Initial Response: Within 48 hours
  • Status Update: Within 7 days
  • Fix Timeline: Depends on severity (typically 30-90 days)

Severity Levels

  • Critical: Remote code execution, data breach, authentication bypass
  • High: Privilege escalation, sensitive data exposure
  • Medium: Information disclosure, denial of service
  • Low: Minor security improvements

πŸ” Security Best Practices

For Users

  1. Keep CP Studio Updated: Always use the latest version
  2. Protect API Keys: Never share your API keys publicly
  3. Review Code: Since CP Studio is open source, review code before using
  4. Report Issues: Report security issues responsibly

For Contributors

  1. Follow Secure Coding Practices: Validate all inputs
  2. Never Commit Secrets: Use environment variables or secure storage
  3. Review Dependencies: Keep dependencies updated
  4. Security Audits: Run security audits on dependencies

πŸ›‘οΈ Security Features

CP Studio implements the following security measures:

  • βœ… No Data Collection: Extension doesn't collect or store user data
  • βœ… Local Storage: All data stays on your machine
  • βœ… Encrypted Keys: API keys stored securely in VS Code settings
  • βœ… HTTPS Only: All API calls use secure connections
  • βœ… BYOK Model: You provide your own API keys
  • βœ… Open Source: Code is transparent and auditable

πŸ“‹ Known Security Considerations

API Keys

  • API keys are stored in VS Code settings (encrypted by VS Code)
  • Keys are never transmitted except to the API provider you configure
  • Use environment variables for CI/CD environments

External APIs

  • CP Studio makes requests to:
    • Codeforces API (public, no auth required)
    • LeetCode (public scraping)
    • GeeksforGeeks (public scraping)
    • Your configured AI provider (OpenRouter, OpenAI, etc.)

Code Execution

  • Test runner compiles and executes C++ code locally
  • Code execution happens in your local environment
  • No remote code execution

πŸ” Security Audit

To audit CP Studio's dependencies:

npm audit

To fix vulnerabilities:

npm audit fix

πŸ“§ Contact

For security concerns, contact: rodriguescarson@gmail.com


Thank you for helping keep CP Studio secure! πŸ”’

There aren't any published security advisories