You can define any executable in the $BROWSER environment variable which will be executed whenever antigravity is imported.
You could execute a 'curl` which directly pipes into 'bash -c'.
"Any executable" does not mean adding pipes and arguments. This is one important benefit of not using shell.
See https://github.com/python/cpython/blob/master/Lib/webbrowser...
Re:Hacking with environment variables
by thefreeman on Tuesday July 14, 2020 @10:15AM
(#23832203)
This is flat wrong. You can cause it to run an arbitrary binary by setting the BROWSER environment variable, as they demonstrate in the article. They chained it with perl environment variable vulnerability listed earlier to achieve execution.
It increases your options, certainly, but it can't do anything dangerous as-is.