Upload reproduce-result.json with huggingface_hub
Browse files- reproduce-result.json +47 -0
reproduce-result.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"python": "3.12.3 (main, Mar 23 2026, 19:04:32) [GCC 13.3.0]",
|
| 3 |
+
"cwd": "/home/hacnho/Projects/research",
|
| 4 |
+
"huge_declared_length": 2147483647,
|
| 5 |
+
"control_size": 155,
|
| 6 |
+
"malicious_size": 158,
|
| 7 |
+
"memory_limit_mb": 512,
|
| 8 |
+
"results": [
|
| 9 |
+
{
|
| 10 |
+
"path": "/tmp/tmpb1tkdk9g/control.avro",
|
| 11 |
+
"mode": "fastavro",
|
| 12 |
+
"returncode": 0,
|
| 13 |
+
"elapsed": 0.050711631774902344,
|
| 14 |
+
"stdout": "[{'x': 1}]\n",
|
| 15 |
+
"stderr": "",
|
| 16 |
+
"memory_error": false
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"path": "/tmp/tmpb1tkdk9g/control.avro",
|
| 20 |
+
"mode": "apache-avro",
|
| 21 |
+
"returncode": 0,
|
| 22 |
+
"elapsed": 0.06384634971618652,
|
| 23 |
+
"stdout": "[{'x': 1}]\n",
|
| 24 |
+
"stderr": "",
|
| 25 |
+
"memory_error": false
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"path": "/tmp/tmpb1tkdk9g/malicious-huge-avro-schema-length.avro",
|
| 29 |
+
"mode": "fastavro",
|
| 30 |
+
"returncode": 1,
|
| 31 |
+
"elapsed": 0.053327322006225586,
|
| 32 |
+
"stdout": "",
|
| 33 |
+
"stderr": "Traceback (most recent call last):\n File \"<string>\", line 7, in <module>\n File \"fastavro/_read.pyx\", line 1137, in fastavro._read.reader.__init__\n File \"fastavro/_read.pyx\", line 1064, in fastavro._read.file_reader.__init__\n File \"fastavro/_read.pyx\", line 780, in fastavro._read._read_data\n File \"fastavro/_read.pyx\", line 654, in fastavro._read.read_record\n File \"fastavro/_read.pyx\", line 764, in fastavro._read._read_data\n File \"fastavro/_read.pyx\", line 487, in fastavro._read.read_map\n File \"fastavro/_read.pyx\", line 750, in fastavro._read._read_data\n File \"fastavro/_read.pyx\", line 298, in fastavro._read.read_bytes\nMemoryError\n",
|
| 34 |
+
"memory_error": true
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"path": "/tmp/tmpb1tkdk9g/malicious-huge-avro-schema-length.avro",
|
| 38 |
+
"mode": "apache-avro",
|
| 39 |
+
"returncode": 1,
|
| 40 |
+
"elapsed": 0.0594182014465332,
|
| 41 |
+
"stdout": "",
|
| 42 |
+
"stderr": "Traceback (most recent call last):\n File \"<string>\", line 12, in <module>\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/datafile.py\", line 327, in __init__\n self._read_header()\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/datafile.py\", line 377, in _read_header\n header = cast(HeaderType, self.datum_reader.read_data(META_SCHEMA, META_SCHEMA, self.raw_decoder))\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/io.py\", line 717, in read_data\n return self.read_record(writers_schema, readers_schema, decoder)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/io.py\", line 912, in read_record\n field_val = self.read_data(field.type, readers_field.type, decoder)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/io.py\", line 714, in read_data\n return self.read_map(writers_schema, readers_schema, decoder)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/io.py\", line 843, in read_map\n read_items[key] = self.read_data(writers_schema.values, readers_schema.values, decoder)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/io.py\", line 696, in read_data\n return decoder.read_bytes()\n ^^^^^^^^^^^^^^^^^^^^\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/io.py\", line 312, in read_bytes\n return self.read(self.read_long())\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/hacnho/Projects/research/targets/huntr/work/avro-lab/.venv/lib/python3.12/site-packages/avro/io.py\", line 217, in read\n read_bytes = self.reader.read(n)\n ^^^^^^^^^^^^^^^^^^^\nMemoryError\n",
|
| 43 |
+
"memory_error": true
|
| 44 |
+
}
|
| 45 |
+
],
|
| 46 |
+
"finding": true
|
| 47 |
+
}
|