Under the double threat of malicious user jamming and eavesdropping, the mobile edge computing(MEC)system will cause problems such as blocked uplink offloading, user information leakage, and low system energy utilization. To address this problem, this letter proposed to use physical layer security technology to prevent eavesdropping, and use massive multiple input multiple output(mMIMO)technology to reduce interference and user energy consumption. In addition, under the conditions of limited delay, the user's total energy consumption is minimized by jointly optimizing the user's offloading method, transmission power, and offloading rate. For this non-convex multi-objective optimization problem, it can be decomposed into multiple sub-optimal sub-problems. Firstly, the Lagrange multiplier method is used to obtain a closed expression of the user's offloading data bits, and then the iterative algorithm is used to obtain the user's optimal transmit power and maximum offloading rate. Simulation results show that the proposed new mMIMO-MEC secure offloading scheme can effectively reduce the total energy consumption of the system while solving interference and eavesdropping security issues.