Sounds like a power valve screw assuming you have an auto transmission. These are the power valves under the upper intake manifold:
Take the UIM off (
guide here) and make sure all 12 are there. If they are, apply red threadlocker to all of them; if one or more are missing, then that is your most likely cause of the clatter and other potential damage.
If it is truly a power valve screw, this unfortunately makes the third or fourth QX4 with a power valve screw related issue in the past 6 months or so. It's a little odd that all have been QX4s and not Pathfinders.