Digitally signed livebook cells

I’m currently exploring how Livebook can be utilised in forensic scenarios such as law enforcement or cybersecurity, specifically for investigating digital data. Something like Maltego but more flexible and linear.

A key requirement for maintaining a valid chain of evidence is digitally signing the data within Livebook, particularly the queried or transformed data in the cells.

Is there any feature/hook in Livebook that allows for digital signing of cell content, including input and output? For instance, using a personal digital certificate, such as a X509 certificate stored on a token via PKCS#11.

2 Likes

Livebook has the concept of smart cells, where you can create your own cell with additional metadata, and perhaps they could be used as a foundation to build what you need? livebook/lib/livebook/notebook/learn/kino/smart_cells.livemd at main · livebook-dev/livebook · GitHub

3 Likes

That’s a great idea. SmartCells acting as 'in-between" checkpoints with signatures. I need to consider this further, but initially, it seems it could smoothly fit into the workflow without requiring any modifications to other cells.

Thanks a lot!

1 Like