Anti theft hood switch. And anti theft trunk lid switch.
Antitheft hood switch:---
Click on the image to enlarge it.Antitheft trunk lid switch
Click on the image to enlarge it.
There are 2 alarm switches that usually cause your concern. There is one mounted to the fender under the hood (has a rubber boot) and one built in to the trunk latch (separate connector from the power latch connector) You can replace the switches, or just leave them unplugged. This should take care of the alarm going off on its own.