I think the most likely scenario would be the plant expressing a new (or modified) allergenic protein, and it seems like there are some decent methods to look for those things already in use.
https://www.researchgate.net/publication/251449018_Mitigatin...