Any license approved by the Open Source Initiative should be suitable for a situation in which you are not going to redistribute (which you aren't). You should talk to somebody in the company, though, if there's any possibility they might want to redistribute in the future. There are licenses that work well in that case, but any version of the GPL will cause problems.
There are also things labeled as open source that have licenses that the OSI wouldn't recognize as such. These licenses are sometimes legally tricky, in that they are frequently written by programmers with unclear goals without help of legal counsel, and actually say some pretty weird things.
There's really nothing you can do other than examine each license. Fortunately, most Open Source software is under the same few licenses, and once you've studied one you don't need to study it again. Depending on how worried you are, you may well want to consult a lawyer, but try to get one with some familiarity with Open Source licenses. I've heard enough horror stories about lawyers who didn't get the idea and just recommended avoiding it entirely out of misunderstanding.
Lastly there's the question of who is going to know and care. You do want to take some care to stay on the legitimate side of the license, but your chance of getting into serious trouble over a technicality is very low, as long as it's internal use only.
Remember: I'm a software guy, who has occasionally read some legal stuff, and these are opinions and observations, not advice of any sort. Use your own judgment, or that of a lawyer.