security_daily_compat_var() was removed in release 13.4 (see Bug 275296) but is still called from daily and monthly security periodic by: usr/local/etc/periodic/security/ 405.pkg-base-audit 410.pkg-audit 460.pkg-checksum
I believe that this is the wrong issue tracker, since it resides in LOCALBASE, it is a port: https://github.com/freebsd/pkg/issues/2284.