Almost every model is fully trained on js. That does not need teaching either.
Infact harder to sandbox bash (just-bash or brush based) than it is to js or lua, which has fantastic embedded tooling.