Question

When her envious competitor extended a hand of friendship, she smelt a rat. In the above sentence, what does “Smelt a rat” mean?