  The weak cosmic censorship conjecture states that the black hole singularity
is hidden inside the event horizon of the black hole, making it impossible for
an external observer to measure. In this study, we investigate the weak cosmic
censorship conjecture test of dark matter halo-black hole systems in both the
cold dark matter model and ultralight dark matter model scenarios, with the aim
of gaining insights into the influence of dark matter particles on the weak
cosmic censorship conjecture. By examining the particle incident on an
extremely or nearly extremal dark matter- black hole, as well as the scattering
of a scalar field by an extreme or near-extreme dark matter- black hole. We
find that the weak cosmic censorship conjecture does not violate the extreme
and near-extreme dark matter-black hole systems for incident particles. When a
scalar field is incident on an extreme dark matter-black hole system, the weak
cosmic censorship conjecture can be violated by a scalar field pattern that
satisfies
$\dfrac{1}{2M\omega_{0}}<\dfrac{\omega}{m}<\dfrac{M\omega_{0}}{2M^{2}\omega_{0}^{2}+k_{i}}$
($k_{i}<0$; where $k_{1}$ corresponds to the cold dark matter model and $k_{2}$
corresponds to the ultralight dark matter model). The weak cosmic censorship
conjecture remains unviolated in the presence of a scalar field incident upon a
nearly extreme dark matter-black hole system. This research will contribute to
furthering our comprehension of the intricate interplay between dark matter and
black holes.
