29 lines
988 B
Markdown
29 lines
988 B
Markdown
# IntegraCI — Model Scan Dagger Module
|
|
|
|
AI model **scan-on-ingest** — defends against OWASP **LLM04 "Data and Model
|
|
Poisoning"** by statically scanning model artifacts for unsafe deserialization
|
|
(pickle opcodes that execute code on load — a common model-supply-chain
|
|
backdoor) with **picklescan** before a model is adopted.
|
|
|
|
The platform synced model *metadata* (model-registry / huggingface) but had no
|
|
tool that scanned the *artifact*; this closes that gap (STD-AI-001).
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
dagger call scan --source ./model
|
|
|
|
# skip
|
|
dagger call scan --source ./model --tool none
|
|
|
|
# scan + report to the supply-chain gate
|
|
dagger call scan --source ./model \
|
|
--api-url https://api.example.com \
|
|
--service-id <id> --version <model-digest> \
|
|
--token env://INTEGRACI_TOKEN
|
|
```
|
|
|
|
Unsafe findings POST to `/api/v1/scans` (`scan_type=sca`, `scanner=picklescan`),
|
|
so model-poisoning findings flow through the supply-chain gate. Runs as a pulled
|
|
container image; no vendor SDK bundled.
|