Yes, a resistor there to limit the current looks like a good idea.
As the pullup is 100k, it seems like switching speed is not an issue, so you could begin with a 10k resistor, and see how it works. If that's enough, then fine, if not use a lower value.