dnanhkhoa / nb_black

A simple extension for Jupyter Notebook and Jupyter Lab to beautify Python code automatically using black.
MIT License
367 stars 41 forks source link

History of the cell is being saved in source #20

Open shantanuo opened 4 years ago

shantanuo commented 4 years ago

After installing the extension, it saved the history of the cell along with display text. This may lead to expose sensitive information. For e.g. In this file, the AWS access key is visible in the source even if display is just XXX

https://kagapa.s3.ap-south-1.amazonaws.com/deep_learn/aws_comprehend.ipynb

This is not expected when I save a file using File - Download as - Notebook (.ipynb) to be shared with others. The user does not expect the history of the cell to be shared :)