RuleSync takes security seriously. As a local developer CLI tool interacting with rule files, maintaining workspace boundaries and preventing path traversal or malicious instruction execution is a core architectural priority.
| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
- Path Traversal Shield: All input/output relative paths are validated against
process.cwd()usingsanitizeWorkspacePath(). Writes attempting to escape workspace boundaries (../..) are blocked at runtime. - 100% Local & Offline:
RuleSyncoperates 100% locally on your machine. It makes zero telemetry calls, zero network requests, and requires no API keys. - Secret Redaction: The static linter includes
no-secret-patternswhich scans rule files for API keys (sk-ant-*,ghp_*,AKIA*) and warns before they are committed or exported. - Command Execution Safety: The
no-unsafe-commandslinter flags rules containing destructive shell execution commands (rm -rf /,chmod 777,curl | bash).
If you discover a potential security vulnerability in RuleSync, please do not create a public GitHub issue.
Instead, please report it privately via email to [email protected] or via GitHub Private Vulnerability Reporting.
Please include:
- Description of the vulnerability and potential impact.
- Steps to reproduce or proof-of-concept repository.
- Suggested fix or mitigation, if known.
You will receive an acknowledgment within 24 hours and regular updates on the resolution.