Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 7 additions & 26 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,29 +1,10 @@
# Default owner for everything
# Code owners for security-critical files
* @webdevcom01-cell

# CI/CD and GitHub config
.github/ @webdevcom01-cell
# Security configuration files
/.github/SECURITY.md @webdevcom01-cell
/.github/workflows/security-scan.yml @webdevcom01-cell
/.env.example @webdevcom01-cell

# Database schema β€” changes require careful review
prisma/ @webdevcom01-cell

# Core runtime engine
src/lib/runtime/ @webdevcom01-cell

# Security-sensitive code
src/lib/security/ @webdevcom01-cell
src/lib/safety/ @webdevcom01-cell
src/lib/webhooks/verify.ts @webdevcom01-cell
src/middleware.ts @webdevcom01-cell
src/lib/api/auth-guard.ts @webdevcom01-cell

# AI and model configuration
src/lib/ai.ts @webdevcom01-cell
src/lib/models.ts @webdevcom01-cell

# Knowledge base / RAG pipeline
src/lib/knowledge/ @webdevcom01-cell

# ECC integration
src/lib/ecc/ @webdevcom01-cell
services/ecc-skills-mcp/ @webdevcom01-cell
# Documentation
/README.md @webdevcom01-cell
28 changes: 28 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Security Policy

## Supported Versions

| Version | Supported |
| ------- | --------- |
| 1.x.x | βœ… |
| < 1.0 | ❌ |

## Reporting a Vulnerability

**DO NOT** report security vulnerabilities through public GitHub issues.

Instead, please use GitHub Security Advisories: click "Report a vulnerability" on the Security tab.

### Response Timeline

- **Acknowledgement**: Within 48 hours
- **Initial Assessment**: Within 5 business days
- **Fix Development**: 1-4 weeks depending on severity
- **Public Disclosure**: After fix is deployed

### Security Best Practices

1. Regular security audits
2. Automated dependency scanning
3. All changes require review
4. Annual penetration testing
34 changes: 34 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Security Scan

on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * 0'

jobs:
security-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'

- name: Install dependencies
run: npm ci || npm install

- name: Run npm audit
run: npm audit --audit-level=high
continue-on-error: true

- name: Security Summary
run: echo "Security scan completed. Review audit output above."
Loading
Loading