dasv · Deterministic Adversarial Sandbox Verifier

break-filter-js-from-html

There's a /app/filter.py script that attempts to remove JavaScript from HTML files to prevent XSS attacks. The /app/filter.py script takes an HTML file as a command-line argument and modifies it...
Standard: harbor Rubric: deterministic Run: dasv-9dea2a760337 Dataset SHA: 6696441745f8 Cost: $0.0000
GRADE F REJECTED
40.0 HACKABILITY 0 (SAFE) - 100

Audit Findings 3 total

Rule Severity Tier Location Details & Remediation
RULE-HERM-001
dasv
high T0 environment/Dockerfile:2
Unpinned base image without @sha256 digest
FROM python:3.13-slim-bookworm does not pin an immutable @sha256 digest.
Remediation: Pin the base image to an immutable OCI digest (e.g., FROM python:3.12-slim@sha256:...).
RULE-BNDY-001
dasv
critical T0 environment/Dockerfile:23
Verifier or solution files copied into agent image
Dockerfile copies sensitive path: COPY tests/test_outputs.py /app
Remediation: Remove tests/, grader/, and solution/ from the agent image; mount verifiers read-only in a clean Verification Plane.
RULE-BNDY-002
dasv
critical T0 task.toml:1
Missing or unsafe network isolation configuration
Harbor v1.1 config explicitly sets allow_internet = true (outbound network egress enabled).
Remediation: Configure allow_internet = false / network_mode = 'no-network' (Harbor) or 'none' (--network=none) to prevent agents from exfiltrating or fetching solutions online.