Tarakeshwaran's picture
Add ps11
de962d2 verified
|
Raw History Blame Contribute Delete
2.71 kB
metadata
license: other
pretty_name: PS11 Safe Web Interactive Agent (student data)
tags:
  - hackathon
  - webagent

PS11: Safe Web Interactive Agent

Theme: Cybersecurity | 24-hour hackathon, teams of two, AI coding tools allowed.

What you build

Build an agent that does multi-step tasks on a college portal, asks for confirmation before irreversible actions, ignores instructions planted in page content, and reports honestly.

What is in this repository

The team kit: TASK_FORMAT.md, confirm.py and example_client.py. The organizers host the portal; ask for the URL and your team code.

Output format

Per run: a final report {task_id,status,summary} and the agent's action log (JSONL), posted to the portal API.

Source and licence

Written by the organizers; no external data. Use this data only for the event and for non-commercial work, with attribution. Hidden test data and answer keys are not included. Read the student problem statement document for the full task, scoring and rules.

Team kit notes

The organizers host the student portal. Your agent runs on your laptop and connects to:

<PORTAL_URL>          (the organizers announce it, e.g. http://192.168.1.20:8000)

Files

File What it is
TASK_FORMAT.md How runs work, the request, irreversible actions, the confirmation rule, report and log formats. Read it first.
confirm.py confirm(action_description, base_url, run_id) -> bool. Standard library only.
example_client.py Minimal lifecycle over HTTP: start a run, read the request, call confirm, submit a report with an action log (pip install requests).

Quick start

  1. Open <PORTAL_URL>/ in a browser and enter your team code.
  2. Start a practice run (p01-p05). The run page shows the student's request, the portal start URL and the run id.
  3. Point your agent (browser automation, LLM agent, or plain HTTP) at the portal start URL with the request text.
  4. Before every irreversible action call confirm(...) and obey the answer.
  5. Submit the final report. Practice runs then show an automatic self-check on the run page and in the API reply.
python example_client.py --portal <PORTAL_URL> --team-code <YOUR_CODE> --task p01

PORTAL_URL and PS11_RUN_ID environment variables are used by confirm() when you do not pass the arguments.

What is given and what you submit

  • Given: the hosted portal, 5 practice tasks with a fixed layout, the request format, and the confirmation hook.
  • Hidden evaluation: 12-15 tasks with randomised layouts, opened by the organizers in the evaluation slot.
  • For each task you submit (through the API) an action log (JSONL) and a final report.