# A real workload: governed secret scan of scikit-learn's source

**AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

This is the first CAIN-42 workload on **real third-party source** rather than a constructed microcosm.
The corpus is the installed `scikit-learn` package: **240 real Python
files, 4,971,689 bytes**. Every file read is a `tools/call` through the
production `MCPTransparentInterceptor` with a single-use JIT capability; the results are written to an
Ed25519-signed, SHA-256 hash-chained memory.

**It is not customer data.** It is public open-source code on one host. No customer workload, no
labels, no ground truth beyond what a human can read.

## The result

- **Naive rule (`sk-…`): 9 hits, 9 false positives.** Every hit is a scikit-learn CSS class name
  (`sk-toggleable__label-arrow`, `sk-text-repr-fallback`, `sk-estimator-doc-link`), not a key.
  This is the same rule that produced the sweep's single BIG "hardcoded secret" finding.
- **Structural rule (`sk-(proj-|ant-apiNN-)?[A-Za-z0-9]{32,}`): 0 hits.**
- **No real secret was found in these 240 files.** That is not proof there is none: without labels,
  **recall is unknown**.

## The boundary

| probe | result |
|---|---|
| read outside the corpus root (`/etc/passwd`) | refused before any read (`interceptor_allowed: false`, zero-trust floor) |
| tool not on the allowlist | refused, default-deny |
| replay the same JIT capability | first allowed, second refused (`ALREADY_CONSUMED`) |

## Cost

p50 **11.88 ms** per governed read (in-process, loopback), p95
**28.89 ms**. No model was called; $0 API.
