A bot author could add a hidden feature that runs at a specific time and date, that makes bots withdraw all their items from the bank and trade them to the bot author's account.
Code review is a must.
Ran into this issue today. Tried to start an OSRS script and kept getting a AgentInitializationException. Checked error logs and saw following
Failed to bind to the game client because of a AgentInitializationException
com.sun.tools.attach.AgentInitializationException: Agent JAR loaded but...