65 行
1.7 KiB
YAML
65 行
1.7 KiB
YAML
profile_id: nextjs-proxy-boundary
|
|
system_id: nextjs
|
|
match_rules:
|
|
keywords:
|
|
- proxy
|
|
- middleware
|
|
vuln_family: proxy-boundary
|
|
provisioning_mode: real
|
|
verification_mode: real
|
|
artifact_mode: local-fixture
|
|
artifact_source:
|
|
strategy: local-minimal-fixture
|
|
runner_id: nextjs.proxy-boundary
|
|
fixture_path: /Users/x/websafe/00-environments/templates/fixtures/nextjs/proxy-boundary
|
|
required_services:
|
|
- app
|
|
seed_actions:
|
|
- kind: note
|
|
message: Seed middleware boundary fixture with clean proxy state.
|
|
baseline_actions:
|
|
- kind: http-get
|
|
path: /
|
|
attack_actions:
|
|
- kind: note
|
|
message: Runner performs forwarded-header proof against local fixture only.
|
|
browser_assertions:
|
|
required: true
|
|
success_criteria:
|
|
- Middleware trust-boundary proof is visible on the browser proof page.
|
|
success_assertions:
|
|
- name: baseline-ok
|
|
type: baseline-ok
|
|
- name: runner-success
|
|
type: runner-success
|
|
- name: browser-present
|
|
type: browser-present
|
|
services:
|
|
app:
|
|
image: node:22-alpine
|
|
working_dir: /workspace
|
|
command:
|
|
- node
|
|
- /workspace/00-environments/templates/fixtures/shared/node_fixture.mjs
|
|
environment:
|
|
LAB_FIXTURE_SCENARIO: /workspace/00-environments/templates/fixtures/nextjs/proxy-boundary/scenario.json
|
|
PORT: "3000"
|
|
ports:
|
|
- 18201:3000
|
|
volumes:
|
|
- /Users/x/websafe:/workspace:ro
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- wget -q -O - http://127.0.0.1:3000/healthz >/dev/null 2>&1 || exit 1
|
|
interval: 2s
|
|
timeout: 2s
|
|
retries: 20
|
|
baseline_urls:
|
|
- http://127.0.0.1:18201/
|
|
ready_timeout_seconds: 45
|
|
cleanup_policy: destroy
|
|
destructive_risk: low
|
|
allowed_target_types:
|
|
- lab-local
|