Spaces:
Running
Running
chore: harden repository with comprehensive ignore files and security policy
Browse files- .cursorignore +34 -0
- .dockerignore +37 -15
- .github/CODEOWNERS +4 -0
- .gitignore +87 -14
- SECURITY.md +36 -0
.cursorignore
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Ignore large binary/model assets
|
| 2 |
+
backend/models/
|
| 3 |
+
*.pt
|
| 4 |
+
*.onnx
|
| 5 |
+
*.bin
|
| 6 |
+
*.model
|
| 7 |
+
*.ckpt
|
| 8 |
+
|
| 9 |
+
# Ignore environments & dependencies
|
| 10 |
+
venv/
|
| 11 |
+
.venv/
|
| 12 |
+
node_modules/
|
| 13 |
+
**/node_modules/
|
| 14 |
+
|
| 15 |
+
# Ignore sensitive data
|
| 16 |
+
.env
|
| 17 |
+
.env.*
|
| 18 |
+
.secrets
|
| 19 |
+
|
| 20 |
+
# Ignore temporary/generated files
|
| 21 |
+
backend/temp/
|
| 22 |
+
frontend/dist/
|
| 23 |
+
*.log
|
| 24 |
+
*.wav
|
| 25 |
+
*.mp3
|
| 26 |
+
*.mp4
|
| 27 |
+
*.srt
|
| 28 |
+
*.vtt
|
| 29 |
+
|
| 30 |
+
# Ignore caches
|
| 31 |
+
__pycache__/
|
| 32 |
+
.cache/
|
| 33 |
+
.pytest_cache/
|
| 34 |
+
.npm/
|
.dockerignore
CHANGED
|
@@ -1,25 +1,47 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
venv/
|
| 3 |
.venv/
|
| 4 |
env/
|
| 5 |
-
|
| 6 |
-
# Node dependencies and builds
|
| 7 |
**/node_modules/
|
| 8 |
-
frontend/dist/
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
|
| 12 |
-
backend/temp/
|
| 13 |
-
backend/__pycache__/
|
| 14 |
**/*.pyc
|
| 15 |
**/*.pyo
|
| 16 |
**/*.pyd
|
| 17 |
-
.git/
|
| 18 |
-
.gitignore
|
| 19 |
-
.DS_Store
|
| 20 |
|
| 21 |
-
#
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
|
|
|
| 25 |
*.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Git & CI
|
| 2 |
+
.git/
|
| 3 |
+
.github/
|
| 4 |
+
.gitignore
|
| 5 |
+
.dockerignore
|
| 6 |
+
.cursorignore
|
| 7 |
+
README.md
|
| 8 |
+
SECURITY.md
|
| 9 |
+
|
| 10 |
+
# Environments
|
| 11 |
venv/
|
| 12 |
.venv/
|
| 13 |
env/
|
|
|
|
|
|
|
| 14 |
**/node_modules/
|
|
|
|
| 15 |
|
| 16 |
+
# Python artifacts
|
| 17 |
+
**/__pycache__/
|
|
|
|
|
|
|
| 18 |
**/*.pyc
|
| 19 |
**/*.pyo
|
| 20 |
**/*.pyd
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
+
# Project artifacts
|
| 23 |
+
backend/models/
|
| 24 |
+
backend/temp/
|
| 25 |
+
frontend/dist/
|
| 26 |
+
frontend/node_modules/
|
| 27 |
*.log
|
| 28 |
+
server.log
|
| 29 |
+
|
| 30 |
+
# Large files & Cache
|
| 31 |
+
.cache/
|
| 32 |
+
.pytest_cache/
|
| 33 |
+
.npm/
|
| 34 |
+
*.pt
|
| 35 |
+
*.onnx
|
| 36 |
+
*.wav
|
| 37 |
+
*.mp3
|
| 38 |
+
*.mp4
|
| 39 |
+
|
| 40 |
+
# Editor & OS
|
| 41 |
+
.vscode/
|
| 42 |
+
.idea/
|
| 43 |
+
.DS_Store
|
| 44 |
+
Thumbs.db
|
| 45 |
+
|
| 46 |
+
# Documentation
|
| 47 |
+
docs/
|
.github/CODEOWNERS
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Repository Code Owners
|
| 2 |
+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
|
| 3 |
+
|
| 4 |
+
* @froster02
|
.gitignore
CHANGED
|
@@ -1,23 +1,96 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
venv/
|
| 3 |
.venv/
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
*.
|
| 10 |
-
*.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
backend/temp/
|
| 12 |
*.log
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
#
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
# Node dependencies and compiled builds
|
| 22 |
**/node_modules/
|
| 23 |
frontend/dist/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- Python ---
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.py[cod]
|
| 4 |
+
*$py.class
|
| 5 |
+
*.so
|
| 6 |
+
.Python
|
| 7 |
+
env/
|
| 8 |
+
build/
|
| 9 |
+
develop-eggs/
|
| 10 |
+
dist/
|
| 11 |
+
downloads/
|
| 12 |
+
eggs/
|
| 13 |
+
.eggs/
|
| 14 |
+
lib/
|
| 15 |
+
lib64/
|
| 16 |
+
parts/
|
| 17 |
+
sdist/
|
| 18 |
+
var/
|
| 19 |
+
wheels/
|
| 20 |
+
*.egg-info/
|
| 21 |
+
.installed.cfg
|
| 22 |
+
*.egg
|
| 23 |
venv/
|
| 24 |
.venv/
|
| 25 |
+
pip-log.txt
|
| 26 |
+
pip-delete-this-directory.txt
|
| 27 |
+
.tox/
|
| 28 |
+
.coverage
|
| 29 |
+
.cache
|
| 30 |
+
nosetests.xml
|
| 31 |
+
coverage.xml
|
| 32 |
+
*.cover
|
| 33 |
+
.hypothesis/
|
| 34 |
+
.pytest_cache/
|
| 35 |
|
| 36 |
+
# --- ML/Data ---
|
| 37 |
+
# Ignore model weights and large datasets
|
| 38 |
+
backend/models/
|
| 39 |
+
*.pt
|
| 40 |
+
*.pth
|
| 41 |
+
*.onnx
|
| 42 |
+
*.bin
|
| 43 |
+
*.model
|
| 44 |
+
*.ckpt
|
| 45 |
+
*.joblib
|
| 46 |
+
*.h5
|
| 47 |
+
*.pb
|
| 48 |
+
|
| 49 |
+
# --- Project Specific ---
|
| 50 |
backend/temp/
|
| 51 |
*.log
|
| 52 |
+
server.log
|
| 53 |
+
nohup.out
|
| 54 |
|
| 55 |
+
# --- Audio/Video Artifacts ---
|
| 56 |
+
# Ignore generated media outputs
|
| 57 |
+
*.wav
|
| 58 |
+
*.mp3
|
| 59 |
+
*.mp4
|
| 60 |
+
*.m4a
|
| 61 |
+
*.srt
|
| 62 |
+
*.vtt
|
| 63 |
|
| 64 |
+
# --- Node/Frontend ---
|
| 65 |
+
node_modules/
|
|
|
|
|
|
|
| 66 |
**/node_modules/
|
| 67 |
frontend/dist/
|
| 68 |
+
.npm
|
| 69 |
+
.eslintcache
|
| 70 |
+
|
| 71 |
+
# --- Secrets ---
|
| 72 |
+
.env
|
| 73 |
+
.env.*
|
| 74 |
+
.secrets
|
| 75 |
+
*.pem
|
| 76 |
+
*.key
|
| 77 |
+
|
| 78 |
+
# --- IDE/Editor ---
|
| 79 |
+
.vscode/
|
| 80 |
+
.idea/
|
| 81 |
+
*.swp
|
| 82 |
+
*.swo
|
| 83 |
+
.project
|
| 84 |
+
.pydevproject
|
| 85 |
+
.settings/
|
| 86 |
+
*.sublime-project
|
| 87 |
+
*.sublime-workspace
|
| 88 |
+
|
| 89 |
+
# --- OS ---
|
| 90 |
+
.DS_Store
|
| 91 |
+
.DS_Store?
|
| 92 |
+
._*
|
| 93 |
+
.Spotlight-V100
|
| 94 |
+
.Trashes
|
| 95 |
+
ehthumbs.db
|
| 96 |
+
Thumbs.db
|
SECURITY.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Security Policy
|
| 2 |
+
|
| 3 |
+
## Supported Versions
|
| 4 |
+
|
| 5 |
+
We actively maintain and provide security updates for the following versions of BIAF-offASR:
|
| 6 |
+
|
| 7 |
+
| Version | Supported |
|
| 8 |
+
| ------- | ------------------ |
|
| 9 |
+
| 1.0.x | :white_check_mark: |
|
| 10 |
+
| < 1.0 | :x: |
|
| 11 |
+
|
| 12 |
+
## Reporting a Vulnerability
|
| 13 |
+
|
| 14 |
+
We take the security of this project seriously. If you believe you have found a security vulnerability, please report it to us responsibly.
|
| 15 |
+
|
| 16 |
+
**Please do not report security vulnerabilities through public GitHub issues.**
|
| 17 |
+
|
| 18 |
+
Instead, please report them by:
|
| 19 |
+
1. Opening a draft security advisory on GitHub (if you have permission).
|
| 20 |
+
2. Or by contacting the maintainer directly at the email associated with the GitHub profile: @froster02.
|
| 21 |
+
|
| 22 |
+
### What to include
|
| 23 |
+
Please provide a detailed summary of the vulnerability, including:
|
| 24 |
+
- The component/module affected.
|
| 25 |
+
- Steps to reproduce (a Proof of Concept).
|
| 26 |
+
- Potential impact.
|
| 27 |
+
|
| 28 |
+
## Security Response Expectations
|
| 29 |
+
|
| 30 |
+
Upon receiving a report, we will:
|
| 31 |
+
- Acknowledge the receipt of your report within 48 hours.
|
| 32 |
+
- Investigate the issue and provide a timeline for a fix.
|
| 33 |
+
- Keep you updated on the progress.
|
| 34 |
+
- Credit you for the discovery (if desired) once the fix is publicly released.
|
| 35 |
+
|
| 36 |
+
Thank you for helping keep this project secure.
|