TL;DR: In this article, a broadcast safe detection method and device is presented, which comprises steps of acquiring a source code file of an application program and a system inventory file; extracting exposed broadcast components from the source code files of the application programs and the system inventory files according to a broadcast component loophole rule, and sending the test broadcast to the application program.
Abstract: The invention discloses a broadcast safe detection method and device. The method comprises steps of acquiring a source code file of an application program and a system inventory file; extracting exposed broadcast components from the source code file of the application program and the system inventory file according to a broadcast component loophole rule, so as to form a broadcast component list, wherein the broadcast component loophole rule is a judging criteria for determining that the broadcast components are in an exposed state; simulating at least one test broadcast according to the broadcast components in the broadcast component list; and sending the test broadcast to the application program, and acquiring a broadcast safe detection result. Through adoption of the method, the problem that the existing technology cannot detect whether the current broadcast of the system is hijacked maliciously is solved.