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>
24 lines
1.2 KiB
Markdown
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 |
|