Files
AndreaSlopFotografie/aidlc-docs/features/testimonials-redesign/construction/build-and-test/security-test-instructions.md
T
SluijsensandClaude Sonnet 5.5 7a5e713b69
Continuous Integration / check (pull_request) Successful in 1m45s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m44s
Continuous Integration / deploy-production (pull_request) Skipped
Adds the AI-DLC documents of the testimonials redesign
Requirements, execution plan, functional design, code summaries, build and test results and the audit log; the reverse-engineering notes and the feature registry are updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 01:24:15 +01:00

24 lines
1.2 KiB
Markdown

# Security Test Instructions
The change is front-end only: no new inputs, endpoints, storage or dependencies.
## Dependency audit
```bash
cd web
pnpm audit:deps # production packages, blocking: pnpm audit --prod --audit-level high
pnpm audit:dev # development tools, report only
```
- **Expected**: `audit:deps` reports "No known vulnerabilities found". `audit:dev` lists the known advisories in development tools (2026-11-06: 23, none in production); they do not block (NFR-SEC-05) and are not changed by this feature.
## Rules from the Security Baseline extension
| Rule | How it is checked |
|---|---|
| SECURITY-04 (headers and CSP) | No header or CSP change; the new styles are generated CSS classes, no inline `style` attribute; the e2e `serverRules` suite checks the headers; Lighthouse best-practices stays 1 |
| SECURITY-05 (in spirit) | `normalizeImagePosition` takes `unknown` and gives a safe string; its property tests include arbitrary values and `fc.anything()` |
| SECURITY-10 | Lock file unchanged; no dependency added |
| SECURITY-15 | `normalizeImagePosition` and `slideCounter` never throw (property tests) |
| Others | Not applicable: no data store, API, identity, logging or network configuration in this change |