Based on the Tesseroids software, We offer the codes for modeling the gravitational curvatures of tesseroids, and the gravitational curvatures are the third order derivatives of the gravitational potential.
Tesseroids is a collection of command-line tools for modeling the gravitational potential, acceleration, and gradient (Marussi) tensor. See details at Leouieda's Github: tesseroids.