@wilfredh but it’s just cargo test in that same repo — not any invocation to cargo test anywhere
Matt Brown@mattbrowndev@mastodon.social
@mattbrowndev Sure, but sometimes my tests have side effects, especially e2e tests.
I'm particularly cautious when I'm working on my interpreter: running its tests is pretty much arbitrary code which the LLM has just modified!
Wilfred Hughes
@wilfredh I would be impressed if you could turn that into something exploitable though
Matt Brown@mattbrowndev@mastodon.social
@mattbrowndev Fair point, although possibly my risk tolerance is low.
In my defence, I was writing filesystem functions for my standard library, and a bad test or a bad implementation could definitely cause problems!
Wilfred Hughes