"Careful, you're on dodgy ground" sounds like something a parent would say to a child as means to let the child know not to continue with whatever they're doing.
In addition, think of the opposite saying:
You're on solid ground.
This means that the foundation you built is strong and therefore can proceed without worrying.