The thing is there's no real bot protection that I'm aware of. Everything is basically security by obscurity, which only works as long as it's custom and only used by a few faucets, because people making bots don't have enough motivation to investigate and bypass given protection.
So open-sourcing your script won't be a problem directly, but if many other people start using it too, then it may hit you.