Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Prevent re-running of code cells #13

Open
parente opened this issue Jan 18, 2016 · 0 comments
Open

Prevent re-running of code cells #13

parente opened this issue Jan 18, 2016 · 0 comments

Comments

@parente
Copy link
Member

parente commented Jan 18, 2016

Current implementation prevents arbitrary code from the browser to reach the kernel. However, the browser can instruct the proxy to resend one of the code cells from a notebook multiple times. A bad actor might take advantage of this to mess with state on the backend if the notebook code is not written to account for multiple runs (e.g., incrementing a counter too many times).

Still, this is not a serious bug: the code already has to run once on the first load of the dashboard.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant