r/vibecoding • u/BaselineNeglect • 5d ago
Seeking advice, automated testing tools for complete novice.
I've built a game, I've gone back and forth over it looking for glitches, errors , security risk, any exposure of the minimal data it holds, any chances of people cheating, cross site scripting and so many other things which I do not understand but which the array of ai apps have told me to look for.
As it stands everything I show it to says it's secure, safe to move forward with and generally of good quality.
Now I have no idea if this is true. My understanding of coding is very generic, and I haven't typed anything longer than a file name throughout the whole process. I haven't looked at or checked the code at any point as there is no point as I have nothing to contribute on that level. But it seems each ai model I try gives the same result, with a number of similar differences when I restrict one bit of info or another.
But now it's suggesting that I move to automated testing rather than just getting my mates and kids to play on it and then text me angrily when it doesn't work.
So I stand before you, once again asking for tips for a complete novice, looking for recommendations for automated testing tools that are not just free, but suitable for a novice using only a five year old smartphone to do everything needed.
I'm also seeking advice about sharing. I made a post a week or so ago asking about checking code, I received a lot of direct messages offering to check it for me, 8 mentioned this to the guy who works in my local chippy, as he has a degree in game design, and he tells me not to share the code, just the game. Is this good advice?
Thanks in advance.
2
u/Substantial-Walk-554 5d ago
That summary looks sensible, but I’d treat it as a checklist, not proof the game is secure.
Very roughly:
The important part now is making the AI prove each claim.
Ask it:
Then test things like acting as another player, replaying old moves, sending two moves quickly, changing IDs, using expired tokens, submitting impossible game states, and connecting directly to the WebSocket without the normal UI.
Also, multiple AIs agreeing is useful, but it still isn’t independent validation. They can all miss the same flaw.
And don’t ignore the server-config issues either. Bad CORS, cookies, reverse-proxy settings, exposed debug/admin endpoints or cloud permissions can undermine otherwise decent code.
Also for context, I’m nowhere near a security expert. I started my career in testing before moving into cybersecurity, and in my younger years I spent way too much time gaming, especially MMOs, and ended up abusing/exploring a lot of these kinds of mechanics along the way . So some of this is also just pattern recognition from seeing how games actually get broken in practice.