Files
0pt/evidence/bi-p014/duckdb-sandbox.json
T

108 lines
4.4 KiB
JSON

{
"duckdb_version": "1.5.5",
"recorded_at": "2026-09-07T01:15:40.775Z",
"parquet": {
"SE": 394.5,
"NO": 105.5
},
"csv": {
"rows": 3,
"includes_quoted_value": true
},
"injection_attempt": {
"matched_rows": 0,
"note": "escaped as data; 0 rows, not 3"
},
"iceberg": {
"read_by": "iceberg_scan on the exact metadata JSON",
"note": "an exact metadata file is a SNAPSHOT reference; DuckDB refuses to glob for the latest version by default, and that refusal is correct — globbing can read uncommitted data",
"totals": {
"NO": 20,
"SE": 40
}
},
"symlink_escape_refused": true,
"sandbox_bypass_attempts": [
{
"id": "read-etc-passwd",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/etc/passwd\\\" - file system operations are disabled by configuration\\n\\nLINE 1: SELECT * FROM read_c"
},
{
"id": "read-etc-shadow",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/etc/shadow\\\" - file system operations are disabled by configuration\\n\\nLINE 1: SELECT * FROM read_c"
},
{
"id": "traversal-from-mount",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/tmp/claude-1000/-/987b696c-9462-4fac-b1c0-4e07bad73920/scratchpad/w-0pt-bi/tests/fixtures/duckdb/.."
},
{
"id": "glob-root",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/etc/*\\\" - file system operations are disabled by configuration\\n\\nLINE 1: SELECT * FROM read_csv('/"
},
{
"id": "http-exfiltration",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"https://example.com/a.csv\\\" - file system operations are disabled by configuration\\n\\nLINE 1: SELECT"
},
{
"id": "s3-read",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"s3://bucket/a.parquet\\\" - file system operations are disabled by configuration\\n\\nLINE 1: SELECT * F"
},
{
"id": "attach-external-db",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/tmp/duckdb_escape.db\\\" - file system operations are disabled by configuration\""
},
{
"id": "attach-etc",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/etc/passwd\\\" - file system operations are disabled by configuration\""
},
{
"id": "copy-out-of-mount",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/tmp/duckdb_escape.csv\\\" - file system operations are disabled by configuration\""
},
{
"id": "read-parquet-outside",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/root/x.parquet\\\" - file system operations are disabled by configuration\\n\\nLINE 1: SELECT * FROM re"
},
{
"id": "json-outside",
"succeeded": false,
"engine_message": "\"Permission Error: Cannot access file \\\"/etc/hosts\\\" - file system operations are disabled by configuration\\n\\nLINE 1: SELECT * FROM read_js"
}
],
"counterfactual_mounted_file_readable": true,
"naive_allowed_directories_is_a_noop": {
"statements": [
"SET allowed_directories=['/tmp/claude-1000/-/987b696c-9462-4fac-b1c0-4e07bad73920/scratchpad/w-0pt-bi/tests/fixtures/duckdb']"
],
"read_etc_passwd_succeeded": true,
"note": "allowed_directories alone appears in duckdb_settings() and looks like a sandbox. It permits /etc/passwd and outbound HTTP. Only enable_external_access=false binds it."
},
"reconfiguration_refused": [
{
"statement": "SET allowed_directories=['/etc']",
"refused": true,
"engine_message": "\"Invalid Input Error: Cannot change configuration option \\\"allowed_directories\\\" - the configuration has been locked\""
},
{
"statement": "SET enable_external_access=true",
"refused": true,
"engine_message": "\"Invalid Input Error: Cannot change configuration option \\\"enable_external_access\\\" - the configuration has been locked\""
},
{
"statement": "SET lock_configuration=false",
"refused": true,
"engine_message": "\"Invalid Input Error: Cannot change configuration option \\\"lock_configuration\\\" - the configuration has been locked\""
}
]
}