task_id stringlengths 14 32 | instruction stringlengths 107 6.47k | task_config stringlengths 252 476 | files stringclasses 9
values | archive unknown |
|---|---|---|---|---|
ws-session-persistence | websocket server at /app/app.py losing everything when it restarts - users complaining they have to re-login and lost all their chat history and rooms every deploy. need to fix this persistence issue. handle concurrent writes without corrupting data, server should start even if storage gets corrupted, and cleanup old e... | version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "hard"
category = "state"
tags = [ "websockets", "persistence", "redis", "session-management", "state-management", "high-availability", "python", "flask-socketio",]
custom_docker_compose = true
moved_environment_from_compose_to_do... | [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/app.py"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
61,
77,
115,
27,
57,
118,
242,
100,
83,
181,
225,
230,
48,
199,
156,
82,
88,
122,
106,
73,
238,
80,
45,
146,
162,
36,
91,
89,
78,
236,
177,
229,
29,
239,
204,
202,
46,
201,
... |
ws-transaction-rollback | Our real-time money transfer gateway in `/app/app.py` is corrupting balances. Any time a transfer flow fails halfway through, money disappears or ends up duplicated. Batch operations are especially bad: half the recipients get paid, the rest fail, and the event stream no longer tells clients what happened.
Behaviors w... | version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "hard"
category = "software-engineering"
tags = [ "websockets", "transactions", "acid", "database", "consistency", "rollback", "python", "flask-socketio",]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment... | [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/app.py"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
125,
217,
114,
35,
71,
182,
88,
75,
119,
28,
30,
227,
250,
65,
143,
126,
204,
91,
51,
119,
8,
72,
0,
8,
128,
91,
139,
87,
24,
171,
165,
166,
102,
58,
180,
116,
187,
187,
10... |
xml-external-entity-injection | flask api at /app/app.py failing security scan. auditors wont tell us exactly what they found, just said "high severity" and "fix your input handling". normal uploads work fine but something is exploitable. find and fix it.
| version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "hard"
category = "security"
tags = [ "python", "flask", "api",]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "4G"
| [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/config.py", "environment/app/app.py", "environment/app/middleware/rate_limiter.py", "environment/app/middleware/__init__.py", "environment/app/security/settings.py", "en... | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
61,
93,
115,
227,
54,
146,
78,
110,
175,
106,
87,
123,
15,
121,
188,
186,
39,
68,
201,
134,
242,
172,
77,
125,
90,
242,
56,
163,
201,
56,
99,
77,
226,
138,
199,
246,
89,
158,... |
xml-json-to-csv-hard | Convert and merge product data from XML and JSON sources into a unified CSV format.
Input files:
- /data/source_a/products.xml - Primary source (highest priority)
- /data/source_b/products.json - Secondary source
Requirements:
1. Parse both XML and JSON data sources with nested variant structures
2. Map fields with d... | version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "medium"
category = "data-processing"
tags = [ "data-processing", "etl", "xml-parsing", "json-parsing", "csv-generation", "schema-mapping", "conflict-resolution", "pandas", "address-extraction",]
[verifier]
timeout_sec = 360.0
[... | [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/data/source_a/products.xml", "environment/data/source_b/products.json"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
125,
203,
146,
27,
73,
146,
24,
187,
53,
50,
27,
229,
202,
100,
125,
212,
49,
22,
156,
30,
0,
211,
64,
34,
241,
172,
135,
136,
154,
38,
171,
216,
61,
212,
144,
77,
46,
139,
... |
xpath-injection-vulnerability | security audit flagged our auth service at /app for "data exfiltration risk" but didnt give details. users with crafted inputs can apparently access data they shouldnt. find and fix the injection vulnerabilities.
we already block sql keywords, nosql operators, script tags. still vulnerable somehow.
compliance require... | version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "hard"
category = "security"
tags = [ "authentication", "security", "python", "flask", "data-validation",]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G... | [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/app.py"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
61,
93,
115,
219,
72,
114,
218,
205,
165,
234,
142,
119,
149,
218,
199,
60,
78,
144,
221,
5,
233,
19,
63,
245,
229,
213,
154,
90,
203,
22,
237,
85,
214,
150,
116,
162,
124,
1... |
xxe-vulnerability | Fix XXE vulnerability in XML parsing.
The application parses XML without disabling external entities:
1. XML parser allows external entity resolution
2. Can read local files via file:// entities
3. Can make SSRF requests via http:// entities
4. DTD processing enabled
5. No input validation on XML structure
The appli... | version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "medium"
category = "security"
tags = [ "xxe", "xml-parsing", "injection",]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "4G"
| [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/docker-compose.yaml", "environment/Dockerfile", "environment/app/app.py"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
61,
219,
114,
219,
184,
146,
74,
118,
78,
213,
44,
207,
62,
204,
190,
157,
71,
68,
147,
137,
236,
45,
75,
162,
238,
137,
111,
19,
199,
82,
102,
188,
235,
91,
217,
78,
78,
82,... |
yaml-to-dotenv | Our deployment configs are a mess - we've got YAML files everywhere and need to standardize on .env format for our containerized apps. Build /usr/local/bin/yaml-to-dotenv that converts /app/input/config.yaml to .env format with some tricky requirements.
The config.yaml file is already there - don't create test data, j... | version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "hard"
category = "devops"
tags = [ "yaml", "configuration", "variable-substitution", "validation", "secret-management",]
expert_time_estimate_min = 35.0
junior_time_estimate_min = 60.0
[verifier]
timeout_sec = 400.0
[agent]
tim... | [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/docker-compose.yaml", "environment/Dockerfile", "environment/task-deps/env-override.yaml", "environment/task-deps/config.yaml"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
61,
93,
115,
219,
72,
114,
218,
205,
37,
117,
225,
229,
97,
95,
82,
149,
170,
188,
204,
209,
174,
35,
121,
71,
66,
164,
62,
109,
230,
180,
89,
218,
162,
189,
202,
218,
146,
7... |
zap-report-to-risk-policy-mapper | ZAP report → risk/policy mapper (Node.js)
Security scans are easy to hand-wave (“medium severity, fix later”) until someone asks which compliance controls are affected. This task is to take an OWASP ZAP report (HTML, XML, or JSON) and produce a structured mapping from each finding to a small policy matrix (PCI‑DSS, OW... | version = "1.0"
[metadata]
difficulty = "hard"
category = "debugging"
tags = [
"nodejs",
"security",
"zap",
"report-parsing",
"json",
"xml",
"html",
"policy-mapping",
"pci-dss",
"owasp-asvs",
"iso27001",
"reasoning",
]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment]
... | [".DS_Store", "instruction.md", "task.toml", "tests/zap_policy_mapper.test.mjs", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/package-lock.json", "environment/app/package.json", "environment/app/src/mapper/mapZapReportToRiskPolicy.js", "environment/app/src/parser/normalize.js", "envi... | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
125,
91,
115,
219,
200,
210,
152,
247,
228,
75,
213,
23,
126,
121,
56,
143,
121,
156,
229,
217,
90,
146,
199,
34,
120,
39,
117,
177,
236,
149,
117,
177,
101,
235,
102,
81,
150,... |
zod-coercion-bug | products api filtering broken. query params keep failing validation even though they look correct. fix it.
| version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "hard"
category = "backend"
tags = [ "typescript", "zod", "validation", "express",]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "4G"
| [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/package.json", "environment/app/server.ts"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
29,
107,
115,
219,
184,
81,
73,
175,
51,
87,
222,
117,
38,
253,
214,
143,
136,
122,
19,
81,
29,
137,
34,
169,
151,
173,
68,
185,
60,
156,
180,
157,
182,
151,
52,
206,
245,
12... |
zod-superrefine-early-exit | weak passwords getting through registration. password validation uses zod superRefine. find and fix the bug.
Passwords must be at least 8 characters long AND contain at least one digit. Currently minLength is set incorrectly to 4, allowing weak passwords like 'pass1' to pass validation. Fix both the validation logic b... | version = "1.0"
[metadata]
difficulty = "hard"
category = "backend"
tags = ["javascript", "zod", "validation"]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "2G"
storage = "4G"
| [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/server.js", "environment/app/password-policy.js", "environment/app/package.json", "environment/app/validation.js"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
61,
219,
114,
219,
200,
114,
178,
179,
169,
218,
112,
243,
176,
143,
121,
28,
115,
29,
147,
58,
38,
65,
0,
188,
73,
244,
202,
107,
217,
146,
207,
186,
98,
203,
42,
201,
222,
... |
zone-file-axfr-parser | our bind zone parser is totally broken and the ops team keeps complaining. pulling zone files from authoritative servers via axfr and the json output is wrong every time.
main problems we know about:
- multiline records dont work (soa with parentheses gets mangled)
- domain names sometimes have dots sometimes dont, ca... | version = "1.0"
[metadata]
author_name = "unknown"
author_email = "unknown"
difficulty = "hard"
category = "software-engineering"
tags = [ "dns", "parsing", "bind", "zone-files", "rfc-compliance",]
[verifier]
timeout_sec = 360.0
[agent]
timeout_sec = 360.0
[environment]
build_timeout_sec = 600.0
cpus = 1
memory = "... | [".DS_Store", "instruction.md", "task.toml", "tests/test_outputs.py", "tests/test.sh", "solution/solve.sh", "environment/Dockerfile", "environment/app/validator.py", "environment/app/parser.py", "environment/app/cli.py", "environment/app/normalizer.py"] | [
31,
139,
8,
0,
45,
39,
125,
105,
2,
255,
237,
125,
93,
115,
27,
73,
146,
24,
103,
188,
142,
216,
233,
59,
71,
204,
163,
237,
167,
58,
204,
198,
129,
240,
130,
32,
62,
248,
33,
81,
195,
57,
113,
135,
154,
27,
249,
86,
148... |
README.md exists but content is empty.
- Downloads last month
- 74