Feature Extraction
Transformers
static_canary
ctf
model-scanning
supply-chain-canary
static-analysis
custom_code
Instructions to use WWTCyberLab/static-canary-pt-loader-risk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WWTCyberLab/static-canary-pt-loader-risk with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="WWTCyberLab/static-canary-pt-loader-risk", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WWTCyberLab/static-canary-pt-loader-risk", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add CTF flag to high pickle finding
Browse files
README.md
CHANGED
|
@@ -16,9 +16,9 @@ model scanners while avoiding destructive behavior.
|
|
| 16 |
|
| 17 |
Expected scanner themes:
|
| 18 |
|
| 19 |
-
- `
|
| 20 |
-
`__builtin__.set`. Loading it constructs only a normal set of
|
| 21 |
-
strings, including `CTF_MODEL_CANARY`.
|
| 22 |
- `static-canary-pt-loader-risk*.safetensors` files are valid
|
| 23 |
safetensors fixtures with static metadata, suspicious tensor names,
|
| 24 |
anomalous FP32 markers, and deterministic high-entropy-looking
|
|
|
|
| 16 |
|
| 17 |
Expected scanner themes:
|
| 18 |
|
| 19 |
+
- `model_CTF{model_scanner_high_pickle_evidence}.pt` contains a Python protocol-2 pickle reducer
|
| 20 |
+
for `__builtin__.set`. Loading it constructs only a normal set of
|
| 21 |
+
static strings, including `CTF_MODEL_CANARY`.
|
| 22 |
- `static-canary-pt-loader-risk*.safetensors` files are valid
|
| 23 |
safetensors fixtures with static metadata, suspicious tensor names,
|
| 24 |
anomalous FP32 markers, and deterministic high-entropy-looking
|
canary_manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"canary_token": "CTF_MODEL_CANARY",
|
| 3 |
-
"checkpoint": "
|
| 4 |
-
"checkpoint_sha256": "
|
| 5 |
"contains_active_payload": false,
|
| 6 |
"ctf_flag": "CTF{model_scanner_expand_the_evidence}",
|
| 7 |
"expected_static_indicators": [
|
|
@@ -13,6 +13,7 @@
|
|
| 13 |
"high-entropy-looking F32 safetensors weight tensors",
|
| 14 |
"NaN/Inf/outlier FP32 anomaly markers"
|
| 15 |
],
|
|
|
|
| 16 |
"repo_id": "WWTCyberLab/static-canary-pt-loader-risk",
|
| 17 |
"runtime_sink_example": "http://twinshadow-exfil.local/v1/ingest",
|
| 18 |
"runtime_sink_note": "Use scripts/emit_model_canary_event.py from the lab harness.",
|
|
|
|
| 1 |
{
|
| 2 |
"canary_token": "CTF_MODEL_CANARY",
|
| 3 |
+
"checkpoint": "model_CTF{model_scanner_high_pickle_evidence}.pt",
|
| 4 |
+
"checkpoint_sha256": "6922dc19a528ba51166d2537a47eeeb247e9972df53adcdac82ef47bae7aa8d0",
|
| 5 |
"contains_active_payload": false,
|
| 6 |
"ctf_flag": "CTF{model_scanner_expand_the_evidence}",
|
| 7 |
"expected_static_indicators": [
|
|
|
|
| 13 |
"high-entropy-looking F32 safetensors weight tensors",
|
| 14 |
"NaN/Inf/outlier FP32 anomaly markers"
|
| 15 |
],
|
| 16 |
+
"high_threat_flag": "CTF{model_scanner_high_pickle_evidence}",
|
| 17 |
"repo_id": "WWTCyberLab/static-canary-pt-loader-risk",
|
| 18 |
"runtime_sink_example": "http://twinshadow-exfil.local/v1/ingest",
|
| 19 |
"runtime_sink_note": "Use scripts/emit_model_canary_event.py from the lab harness.",
|
model.pt → model_CTF{model_scanner_high_pickle_evidence}.pt
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6922dc19a528ba51166d2537a47eeeb247e9972df53adcdac82ef47bae7aa8d0
|
| 3 |
+
size 522
|