File size: 814 Bytes
eb12c8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  "candidate_rules": [
    "LF-CORR-CUSTOM-LOADER-NATIVE",
    "LF-NATIVE-DYNAMIC-LOAD",
    "LF-NATIVE-EXEC-CAPABILITY",
    "LF-NATIVE-NETWORK-CAPABILITY",
    "LF-NATIVE-RPATH"
  ],
  "corpus_id": "LF-CORPUS-NATIVE-0001",
  "description": "HF-style package with an inert ELF shared library importing dlopen, socket and system, built with $ORIGIN RPATH; custom loader references it via ctypes.",
  "expected_rules": [
    "LF-CODE-CTYPES",
    "LF-PY-NATIVE-LOAD",
    "LF-CORR-HF-LOADER-NATIVE-LOAD"
  ],
  "generator": "native.native_capability_library",
  "ground_truth": "synthetic-generated",
  "must_not_rules": [],
  "repo_name": "native-capability-library",
  "repo_type": "model",
  "safety": "inert/canary-only",
  "schema": 1,
  "validation": {
    "kind": "verify-package",
    "target": "."
  }
}