feat(security): harden dependency governance

This commit is contained in:
xixu-me committed 2026-03-31 01:36:17 +08:00
1 parent 4153beb619
commit 9e24204f63
12 files changed
+808 -4587

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Security Policy
## Supported Versions
The supported release line is the latest `main` branch build and the container images published from it.
## Reporting a Vulnerability
Please open a private security advisory in GitHub when possible. If that is not available, open an issue with the minimum public detail needed to reproduce the problem and clearly mark it as security-sensitive.
## Dependency Governance
- Pull requests run `npm run security:audit`.
- Blocking policy is based on `npm audit --omit=dev`: new runtime `high` or `critical` findings fail CI.
- Development-only findings that are not yet practical to remove immediately must be recorded in `security/npm-audit-baseline.json` with a reason and review date.
- Scheduled GitHub Actions runs refresh the audit report and upload artifacts under `security-reports/`.