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
File size: 1,236 Bytes
7e97a7d 566d23a 2b42bf8 7e97a7d | 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 29 30 31 32 33 34 | ---
library_name: transformers
tags:
- ctf
- model-scanning
- supply-chain-canary
- static-analysis
license: apache-2.0
---
# WWTCyberLab/static-canary-pt-loader-risk
This is an inert CTF canary model repository for Cisco SecureAI model
scanning demos. It is intentionally designed to look risky to static
model scanners while avoiding destructive behavior.
Expected scanner themes:
- `model_CTF{model_scanner_high_pickle_evidence}.pt` contains a Python protocol-2 pickle reducer
for `__builtin__.set`. Loading it constructs only a normal set of
static strings, including `CTF_MODEL_CANARY`.
- `static-canary-pt-loader-risk*.safetensors` files are valid
safetensors fixtures with static metadata, suspicious tensor names,
anomalous FP32 markers, and deterministic high-entropy-looking
weight bytes to exercise obfuscation heuristics.
- `config.json` includes `auto_map` metadata so scanners can exercise
`trust_remote_code` review paths.
- `modeling_static_canary.py` imports modules commonly flagged by
loader-risk scanners, but import and model construction have no
subprocess, filesystem, or network side effects.
Runtime canary events should be emitted by the lab harness, not hidden
inside the model artifact.
|