/usr/lib/libreoffice/ is in libreoffice-script-provider-bsh 1:3.5.2-2ubuntu1.
This file is owned by root:root, with mode 0o755.
..
/usr/lib/libreoffice/program/
/usr/lib/libreoffice/program/classes/
/usr/lib/libreoffice/program/classes/ScriptProviderForBeanShell.jar
/usr/lib/libreoffice/program/services/
/usr/lib/libreoffice/program/services/scriptproviderforbeanshell.rdb
/usr/lib/libreoffice/share/
/usr/lib/libreoffice/share/Scripts/
/usr/lib/libreoffice/share/Scripts/beanshell/
/usr/lib/libreoffice/share/Scripts/beanshell/Capitalise/
/usr/lib/libreoffice/share/Scripts/beanshell/Capitalise/capitalise.bsh
/usr/lib/libreoffice/share/Scripts/beanshell/Capitalise/parcel-descriptor.xml
/usr/lib/libreoffice/share/Scripts/beanshell/HelloWorld/
/usr/lib/libreoffice/share/Scripts/beanshell/HelloWorld/helloworld.bsh
/usr/lib/libreoffice/share/Scripts/beanshell/HelloWorld/parcel-descriptor.xml
/usr/lib/libreoffice/share/Scripts/beanshell/Highlight/
/usr/lib/libreoffice/share/Scripts/beanshell/Highlight/ButtonPressHandler.bsh
/usr/lib/libreoffice/share/Scripts/beanshell/Highlight/highlighter.bsh
/usr/lib/libreoffice/share/Scripts/beanshell/Highlight/parcel-descriptor.xml
/usr/lib/libreoffice/share/Scripts/beanshell/Highlight/ShowDialog.bsh
/usr/lib/libreoffice/share/Scripts/beanshell/MemoryUsage/
/usr/lib/libreoffice/share/Scripts/beanshell/MemoryUsage/memusage.bsh
/usr/lib/libreoffice/share/Scripts/beanshell/MemoryUsage/parcel-descriptor.xml
/usr/lib/libreoffice/share/Scripts/beanshell/WordCount/
/usr/lib/libreoffice/share/Scripts/beanshell/WordCount/parcel-descriptor.xml
/usr/lib/libreoffice/share/Scripts/beanshell/WordCount/wordcount.bsh