Virtual power plant (VPP) contains a large number of distributed generators (DG) and loads. Therefore, a distributed method based on multi-agent system is required for economic scheduling. This paper designs a fully distributed economic scheduling strategy, which does not require a centralized controller or leader. Distributed policies pose security risks. In this paper, instability attack and stealth attack are discussed respectively. Based on the characteristics of stealth attack, a method of attack detection and alarm by comparing the reference current signal is designed. In order to test the proposed scheduling strategy and detection method, a simulation model is built to test. The simulation results show that the proposed fully distributed economic scheduling strategy is effective. In addition, the FDIA attack detection algorithm can quickly and accurately detect stealth attacks.