Unsafe behaviors among construction workers are a leading cause of safety accidents in the construction industry, and studying the mechanism of unsafe behavior propagation among construction workers is essential for reducing the occurrence of safety accidents. Safety attitude plays a pivotal role in predicting workers’ behavioral intentions. We propose a propagation model of unsafe behaviors based on a two-layer complex network, in which the upper layer depicts the change in construction workers’ safety attitudes, and the lower layer represents the propagation of unsafe behaviors. In this model, we consider the impact of individual heterogeneity and herd mentality on the transmission rate, establishing a partial mapping relationship based on behavioral feedback. After that, by building a probability transition tree, we establish the risk state transition equation in detail using the microscopic Markov chain approach (MMCA) and analyze the established equations to deduce the propagation threshold of unsafe behaviors analytically. The results show that enhancing the influence of individual heterogeneity and behavioral feedback increases the threshold for the spread of unsafe behaviors, thereby reducing its scale, while herd mentality amplifies the spread. Furthermore, the coexistence of safety education and behavioral feedback may lead to one of the mechanisms fails. This research enhances understanding of the propagation mechanism of unsafe behaviors and provides a foundation for managers to implement effective measures to suppress the propagation of unsafe behaviors among construction workers.