Both cornstarch and flour work well as starch, they are favorite food for ants and cockroaches. We don't like to think that
our homes are shared by these bugs. One day I found a roach actually eating fabric which had the cornstarch stiffening.
Needless to say I don't use cornstarch or flour anymore. The commercially made starches don't have the built-in food supply.