An independent research notebook

m00dy.sh

Security, model systems, and the connections worth following.

Explore the reading paths

01 / Infrastructure

What connects the model estate?

A model runs inside an estate of gateways, compute, storage, tracking systems, and agents. The useful map shows how these parts depend on one another: where data travels, which identities cross a connection, and what each service is allowed to reach.

01Map the services

The field guide names the layers around a model and explains the job each one performs. Start here to orient yourself in the estate.

A Field Guide to AI Infrastructure8 min read
02Follow the connections

Services share credentials, trust, and data. The tunnels essay turns those dependencies into a map you can reason about.

The Tunnels Under the Surface8 min read
03Check the boundaries

A line on an architecture diagram does not establish isolation. The same essay asks which permissions and network controls actually constrain each connection.

The Tunnels Under the Surface8 min read

02 / Model artifacts

What happens when a model arrives?

A model download brings more than weights: it can include configuration, tokenizers, templates, and code. This path follows the decisions between receiving those files and trusting them in a running system, from the powers of a format to the evidence behind an approved snapshot.

01Distinguish data from code

A tensor container and an executable serialization format give a file different powers. This essay explains why that distinction changes what a loader must enforce.

A Model File Is Not a Script5 min read
02Validate before loading

The SafeTensors essay examines a format that checks structure before constructing tensors. Its tested implementations show why validation order matters.

The Format That Got It Right5 min read
03Approve the whole snapshot

Carry the format question into deployment: identify every file the loader consumes, review a fixed revision, and promote the exact snapshot you tested.

Treat a Model Download Like a Software Supply-Chain Decision5 min read

03 / RAG systems

Where does a RAG system fail?

A retrieved document, a model response, and a monitoring verdict describe different moments in a RAG system. This path connects those moments so an evaluation can explain what happened. The aim is to turn one headline rate into evidence about the layer that needs attention.

01Name the moving parts

Channel, decoder, and substrate separate the information a system receives from what interprets it and the environment it runs in. Apply that vocabulary to retrieved documents and model behavior.

Channel, Decoder, Substrate: A Vocabulary for ML Attacks16 min read
02Separate retrieval from response

Two systems can report the same injection rate for different reasons. The worked comparison separates document retrieval from the model’s response once that document reaches context.

Two RAG systems, same injection rate, different problems12 min read
03Measure what escapes monitoring

An injected response and an uncontained incident are separate outcomes. Use the interactive comparison to see how detection coverage changes the second without changing the first.

Two RAG systems, same injection rate, different problems12 min read · opens the interactive figure
Return to the universe ↑