Nested cardboard boxes that slide inside each other tightly, spray painted black with a strip of velvet around the inside of the seam where they meet. You'd have to measure the distance you want them to travel and cut them to size.
You could even flock the interior with cheap black felt from a craft store; that self adhesive type for kits craft projects will do I think.
If you use 3 boxes with overlapping seams, 2 on the camera body, one on the lens board, it should make a good light trap.
Smallest interior opening on camera back, next larger one on lens board and finally the largest around the other two on the camera body, slightly extending beyond the seam of the middle box mounted on the lens board.