diff --git a/frontend/components/ExportBanner.js b/frontend/components/ExportBanner.js
index 0c1bac5383..2188763d9b 100644
--- a/frontend/components/ExportBanner.js
+++ b/frontend/components/ExportBanner.js
@@ -26,8 +26,23 @@ const Square = ({ fill }) => html`
`
-//@ts-ignore
-window.enable_secret_pluto_recording = true
+export const WarnForVisisblePasswords = () => {
+ if (
+ Array.from(document.querySelectorAll("bond")).some((bond_el) =>
+ Array.from(bond_el.querySelectorAll(`input[type="password"]`)).some((input) => {
+ // @ts-ignore
+ if (input?.value !== "") {
+ input.scrollIntoView()
+ return true
+ }
+ })
+ )
+ ) {
+ alert(
+ "Warning: this notebook includes a password input with something typed in it. The contents of this password field will be included in the exported file in an unsafe way. \n\nClear the password field and export again to avoid this problem."
+ )
+ }
+}
export const ExportBanner = ({ notebook_id, onClose, notebookfile_url, notebookexport_url, start_recording }) => {
// @ts-ignore
@@ -49,7 +64,16 @@ export const ExportBanner = ({ notebook_id, onClose, notebookfile_url, notebooke