Truss rod mebbe? Try tapping the back of the neck while you have your ear pressed on to it somewhere...
Otherwise, you haven't mentioned it, but I assume you've checked the bridge? There's a lot of stuff that can rattle there, and it always seems worse on a bass in my experience.