1{ 2 "name": "@factory/security", 3 "version": "0.1.0", 4 "private": true, 5 "description": "TASK-0134 security audit suites (OWASP ASVS L2): dependency/license audit, gitleaks config, auth-path review (alg-pinning, refresh-reuse, session fixation, cookie flags, CSRF route-walk), permission fuzzing (fast-check vs brute-force oracle), CORS/CSRF/CSP header crawler, file-upload abuse, formula fuzz (100k-op/50ms guards), rate-limit verification, image/artifact secret scans, and the audit-report cross-check. Runs as a CI stage between build and E2E.", 6 "type": "module", 7 "scripts": { 8 "test": "vitest run", 9 "test:ci": "vitest run --reporter=default", 10 "typecheck": "tsc --noEmit -p tsconfig.json" 11 }, 12 "devDependencies": { 13 "@factory/database-engine": "workspace:*", 14 "@factory/permissions": "workspace:*", 15 "@factory/shared": "workspace:*", 16 "@factory/storage": "workspace:*", 17 "@types/node": "^20.14.0", 18 "fast-check": "^3.22.0", 19 "typescript": "^5.6.0", 20 "vitest": "^2.1.0", 21 "yaml": "2.9.1" 22 } 23} 24