jasonludwig's picture
Upload static model scanning canary
7e97a7d verified
|
Raw
History Blame
948 Bytes
metadata
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.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.
  • 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.