News for hackers. Stuff that matters.
Re:We hacked Gemini's Python sandbox and leaked its source c... by hnuser123456 on Friday March 28, 2025 @02:50PM (#43508767)
Is the interactive python sandbox incompatible with thinking models? It seems like I can only get the interactive sandbox by using 2.0 flash, not 2.0 flash thinking or 2.5 pro.
Re:We hacked Gemini's Python sandbox and leaked its source c... by topsycatt on Friday March 28, 2025 @02:53PM (#43508802)
That's a good question! It's not incompatible, it's just a matter of getting the flow right. I can't comment too much on that process but I'm excited for the possibilities there.
Re:We hacked Gemini's Python sandbox and leaked its source c... by hnuser123456 on Friday March 28, 2025 @03:00PM (#43508871)
Oh, I see Gemini can run code as part of the thinking process. I suppose the sandbox that happens in was the target of this research, while code editing in Gemini Canvas just has a button to export to Colab for running. The screenshots in the research show a "run" button for generated code in the chat, but I'm not seeing that exact interface.

In any case, I share your excitement.

Re:We hacked Gemini's Python sandbox and leaked its source c... by topsycatt on Friday March 28, 2025 @03:14PM (#43508992)
Canvas actually has a mix of this sandbox (with a different container) and fully client-side.

The "run" option for generated code was removed due to underutilization, but the sandbox is still used for things like the data analysis workflow and running extensions amongst other things. It's really just a general purpose sandbox for running untrusted code server-side.

Re:We hacked Gemini's Python sandbox and leaked its source c... by hnuser123456 on Saturday March 29, 2025 @12:24AM (#43512707)
Is there a way for you to campaign to return the run button for common queries for code examples? It's probably the most powerful educational tool ever invented, to be able to see how the human language description turns into strange computer code which turns into resulting output. If you guys can get it secure enough, it's a killer feature.
Re:We hacked Gemini's Python sandbox and leaked its source c... by sans_souse on Saturday March 29, 2025 @04:22AM (#43513776)
+1 vote here
Re:We hacked Gemini's Python sandbox and leaked its source c... by sans_souse on Saturday March 29, 2025 @04:22AM (#43513772)
Talk about indirect gas-lighting, I can never find info on deprecated functions like this one, to the point I convinced myself I imagined it. I guess now I know who to ask
Re:We hacked Gemini's Python sandbox and leaked its source c... by TechDebtDevin on Saturday March 29, 2025 @01:23AM (#43512988)
Have you by chance read this paper: https://agent-gen.github.io/
Re:We hacked Gemini's Python sandbox and leaked its source c... by topsycatt on Tuesday April 01, 2025 @10:27AM (#43547190)
I have not. I'll take a look, thanks!