Scan your whole stack
From OX Research Newsroom
Latest version: vgit:517064ce531d4e4b703c242f33c3f4b52004d517
drive-browser was last scanned on 19 Nov 2026 at commit 517064ce. Risk score 39 of 100 (low). No malicious behavior was detected. The AI review did not flag it.
| Version | Published | Status |
|---|---|---|
| 517064ce | 1 rule fired |
Findings for commit 517064ce. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
An automated phrase check found wording such as "skip validation", "chmod 777" or disabling certificate checks. It does not tell advice apart from examples, warnings or lists of things to avoid. Not reviewed by a person.
LOWThe score describes 517064ce; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
You are verifying a web change as a browser meets it — after the JavaScript
runs. A curl of a TAP page only proves the server-rendered HTML; it cannot see
Tabulator formatting, HTMX-swapped fragments, or the client-side local-time pass
(localtime.js, spec-web-time-display) that rewrites <time> elements to the
viewer's zone. This skill launches a headless Chromium against the running dev
server, reaches auth-walled pages via an injected session cookie, and dumps what
actually rendered.
Two committed helpers live next to this file:
drive.py — the Playwright driver. Injects the stack's session cookie, sets the
browser's IANA timezone (--tz), loads a URL, and prints the
text/title/datetime of every matched element (default selector time)
plus any console errors and an optional full-page screenshot.mint_session.py — mints a real Django DB session for a user and prints
its key, so you skip the Google OIDC login wall.The shared list is AGENTS.md § Best practices for TAP. For this skill, lead with:
title/datetime stay fixed (the spec-web-time-display
proof).Not for: pure server logic (a test or curl is faster), or anything that needs
a real logged-in Google identity (this uses a synthetic session).
No browser tooling ships with the repo. Create a persistent venv outside the worktree (Chromium is ~150 MB; never commit it) and install Playwright + its Chromium. This block is a no-op once the venv exists, so it is safe to run every invocation:
VENV="$HOME/.cache/tap-playwright/venv"
if [ ! -x "$VENV/bin/python" ]; then
python3 -m venv "$VENV"
"$VENV/bin/pip" install --quiet --upgrade pip playwright
"$VENV/bin/python" -m playwright install chromium
fi
Step 1 — app up + this session's web port. The port is per-worktree in
.env.local (WEB_PORT). Confirm the server answers:
PORT=$(grep -E '^WEB_PORT=' .env.local | cut -d= -f2)
curl -sf -o /dev/null -w "login %{http_code}\n" "http://localhost:$PORT/auth/login/"
If it doesn't answer, scripts/dc up -d web and wait for it.
Step 2 — mint a session (skip for public pages like /auth/login/):
MINT=$(scripts/dc exec -T web uv run python manage.py shell \
< tap_web/skills/drive-browser/mint_session.py)
SKEY=$(echo "$MINT" | grep SESSIONKEY | cut -d= -f2)
SNAME=$(echo "$MINT" | grep SESSIONCOOKIE | cut -d= -f2)
echo "session=$SNAME=$SKEY"
The cookie NAME is per stack (sessionid_<label> when TAP_SESSION_LABEL is set, tap#773), so
every stack on localhost keeps its own session. Pass it on: drive.py --cookie-name "$SNAME",
curl -b "$SNAME=$SKEY". A cookie sent under the wrong name is simply ignored — the page loads as
the login wall, not an error.
Default user is admin; override with -e TAP_DRIVE_USER=<username> on the
exec (e.g. tap_viewer to test a grid.read-only actor).
Step 3 — drive it. Point the venv python at drive.py:
VENV="$HOME/.cache/tap-playwright/venv"
PORT=$(grep -E '^WEB_PORT=' .env.local | cut -d= -f2)
"$VENV/bin/python" tap_web/skills/drive-browser/drive.py \
--session "$SKEY" --cookie-name "$SNAME" \
--tz America/New_York \
--shot /tmp/drive.png \
--url "http://localhost:$PORT/administrivia/batches"
Then look at the screenshot with the Read tool — a blank frame is a failed
launch, not a pass. console_errors=[] in the output means nothing threw.
Verify by presence, never by absence. A --select for error markup that matches zero
elements is not a pass — on 2026-09-02 a graph-panel fix was reported green on exactly that
check while the panel was still throwing (NameError → UnboundLocalError; the peer session read
the server log). Select for the thing that must be there (rows, nodes, a value) and count it.
For a panel that mounts through HTMX, the surest check is the fragment itself:
SKEY=…; SNAME=…; PORT=…; PANEL=$(curl -s -b "$SNAME=$SKEY" "http://localhost:$PORT/<page>" | grep -o 'hx-get="/panel/[^"]*"' | head -1 | sed 's/hx-get="//;s/"$//')
curl -s -b "$SNAME=$SKEY" "http://localhost:$PORT$PANEL" > /tmp/fragment.html
python3 -c "import re,html,json; s=open('/tmp/fragment.html').read(); m=re.search(r'<script id=\"tap-graph-nodes-[^\"]*\"[^>]*>(.*?)</script>', s, re.S); print('nodes', len(json.loads(html.unescape(m.group(1)))) if m else 'NO DATA SCRIPT')"
scripts/dc logs --since 1m web | grep -c '\[<site token>\]' # the log site the failure path uses; 0 after the fetch
A data script with N > 0 and zero failure-site log lines after the fetch is the pass; "no error selector matched" is not.
Render the same page in two zones. The display + zone abbrev shift; the
UTC title and datetime attribute do not — that's the proof localization
is genuine and non-destructive, not a hardcoded string:
for TZ in America/New_York America/Los_Angeles; do
"$VENV/bin/python" tap_web/skills/drive-browser/drive.py \
--session "$SKEY" --cookie-name "$SNAME" --tz "$TZ" \
--url "http://localhost:$PORT/administrivia/batches"
done
# NY -> text '… 16:00 EDT', title '… 20:00:48 UTC'
# LA -> text '… 13:00 PDT', title '… 20:00:48 UTC' (same instant, shifted display)
The server path (a <time data-tap-localtime> emitted by the tap_localtime
filter / timefmt.render_local_time, then localized by localtime.js's DOM
pass) is visible on an object viewer, e.g. /object/batch/<slug>--<uuid>/: the
raw HTML body reads … UTC (the no-JS fallback) and the browser rewrites it to
local. The client path (panel-table.js → TapLocalTime.formatEl) is the
Tabulator tables under /administrivia/….
/tmp (or your scratchpad); disposable.scripts/dc exec -T web uv run python manage.py clearsessions (removes only
expired sessions) or delete the row explicitly in a shell if you want it gone
immediately.playwright install chromium slow/failing — it downloads from Microsoft's
CDN (~150 MB) the first time; re-run, it resumes/caches. Nothing lands in the
repo.mint_session.py refuses to run: settings.DEBUG is False — the guard
fired: the target isn't a dev system. This is by design (the mint is DEV
ONLY). Point it at a dev stack, or don't bypass auth on a hardened box.mint_session.py's _auth_user_backend still matches
settings.AUTHENTICATION_BACKENDS, that the user exists, and that the cookie
domain/--host is localhost.match_count[time]=0 on a page you expected timestamps — the data may be
empty, or the timestamps render through Tabulator only after the fragment
loads; bump --wait-ms, or confirm rows exist. Parameterized viewer pages
(/object/<type>/<id>/) are not in /__nav-index.json — navigate to them by
built URL, not by crawling the index.match_count[<error selector>]=0 read as a pass — the failure may render with
different markup (the graph panel's error block is not .tap-panel-error), or not render at
all. See Verify by presence in Step 3.scripts/dc logs --since 1m web | grep -i 'Starting development server' and fetch after it.tap_web/specs/spec-web-time-display.md — the local-time convention this skill was built to verify.spec-dev-playwright-refresh.md — related browser-driving notes.Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.