By default, there is no exposed route to the modules/lib folder which holds the library actions, so not possible to be reached from the outside. I would think that adding a security restrict would be unnecessary but also redundant on api’s that have restrict actions themselves.