leistungsbilanz-ts/scripts
Grovy311 a7a1595cbf Add test and security baseline
- make quick/check/mutation from cj/security-baseline (Makefile unchanged,
  settings in baseline.mk), pre-commit, gitleaks, Semgrep rules, ESLint
  security rules, Forgejo workflow
- tests/security: generic baseline tests plus app config and role tests
  against createApp() with an in-memory database
- extract createApp() from src/server/index.ts; LB_DATABASE_PATH for tests
- fix gaps found by the tests: reject unknown fields on project create,
  answer malformed JSON with 400 instead of 500, set nosniff on the API
- npm audit fix (next 16.4.1 and others, no high/critical left)
- clear ESLint errors, safeFileName without control-character regex
- per-project ownership stays an open, documented gap (idorGap -> TODO)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 09:40:33 +02:00
..
security Add test and security baseline 2026-10-15 09:40:33 +02:00
db-backup.ts Verify SQLite backups and restores 2026-07-23 19:12:14 +02:00
db-verify-circuit-schema.js Add test and security baseline 2026-10-15 09:40:33 +02:00
run-migrations.js Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
run-tests.mjs Add test and security baseline 2026-10-15 09:40:33 +02:00
verify-revit-reference-xlsx.ts Add Linear Excel transport 2026-09-30 07:42:16 +02:00