No mod is the best way to write secure and reliable mods. Write nothing; share nowhere.
Start by not writing any code.
This is just an example mod, but imagine it doing anything you want. Adding new features is easy too:
The possibilities are endless.
Now that you have not done anything it's time to build your mod:
Yep. That's it. You should see the following things in-game:
While you still have not done anything it's time to share your mod. By running the following command you can share your mod absolutely nowhere.
It's that simple.
You don't.