So I found a question on this site that talked about the possibility of having a habitable planet in a stable trojan position (a planet located at Lagrangian point L4 or L5 of a much bigger object). And I thought it was cool, and decided to make it the homeworld of a spacefaring civilisation of my worldbuilding project.
So I decided to create a planetary system consisting of a central sun-sized star (1.1 solar masses), an orbiting brown dwarf (20 Jupiter masses, distance to the star: 1.45au, quasi-circular orbit), and a small rocky planet of half the Earth's mass at L5 point of the brown dwarf. That's not all but the rest of the system isn't relevant.
Then I started thinking about the planet's details and a few questions came to my mind. One of which I cannot answer at all is the following :
How would asteroids and comets be affected ? The brown dwarf would attract them all even more than Jupiter. Would a significant amount of them (or their debris) be redirected towards the planet, thus increasing the overall amount of asteroids hitting the planet? Or would the dwarf attract all the asteroids coming to the planet, completely protecting it ? Overall, would more or less asteroids collide with the planet ?
My knowledge is limoted on how exactly Jupiter affects asteroids, other that it attracts them and thus protects the rocky planets. In this situation the Jupiter-like object is much more massive, and my planet is much closer to it, and more or less comets and asteroids could affect the habitability and amount of natural resources of my planet, especially by adding water. On the other side, if asteroids regularly hit the planet, it might make it a harsh environment, that would definitely affect the native's culture. Hence my question.