Skip to content

Commit 8d12b41

Browse files
chore: add SECURITY.md and harden .gitignore for public release
Add security vulnerability reporting policy. Extend .gitignore to cover credential files (.pem, .key, credentials.json, .npmrc).
1 parent 09a5f83 commit 8d12b41

2 files changed

Lines changed: 49 additions & 1 deletion

File tree

.github/SECURITY.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
| Version | Supported |
6+
|---------|-----------|
7+
| latest | Yes |
8+
9+
## Reporting a Vulnerability
10+
11+
If you discover a security vulnerability in Salesforce Claude Code (SCC), please report it responsibly.
12+
13+
**Do not open a public issue for security vulnerabilities.**
14+
15+
Instead, use one of these methods:
16+
17+
1. **GitHub Security Advisories** (preferred): [Report a vulnerability](https://github.com/jiten-singh-shahi/salesforce-claude-code/security/advisories/new)
18+
2. **Email**: jitencseng@gmail.com — include "SCC Security" in the subject line
19+
20+
### What to Include
21+
22+
- Description of the vulnerability
23+
- Steps to reproduce
24+
- Potential impact
25+
- Suggested fix (if any)
26+
27+
### Response Timeline
28+
29+
- **Acknowledgement**: Within 48 hours
30+
- **Assessment**: Within 7 days
31+
- **Fix**: Within 30 days for critical issues
32+
33+
### Scope
34+
35+
This policy covers:
36+
- SCC plugin code (agents, skills, hooks, scripts)
37+
- CLI tools (`npx scc`)
38+
- CI/CD pipeline configuration
39+
- Hook scripts that execute in user environments
40+
41+
This policy does not cover:
42+
- Salesforce platform vulnerabilities (report to Salesforce directly)
43+
- Third-party dependencies (report to the upstream maintainer)

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,14 @@ dist/
1010
npm-debug.log*
1111
.env
1212
.env.local
13+
.env.*.local
1314
*.swp
1415
*.swo
1516
.idea/
1617
.vscode/settings.json
1718
.claude/
18-
workspace/
19+
workspace/
20+
*.pem
21+
*.key
22+
credentials.json
23+
.npmrc

0 commit comments

Comments
 (0)