- Acceptable license? MIT
- you need something that builds everywhere. It probably does? At least it compiles with Turbo C 1.0.
- Modicum of security: probably.
Lua is also small compared to Perl, is easily embeddable, and seems to have a sane syntax compared to Perl.
I do understand why they use Perl though, probably more OpenBSD developers/users are familiar with it.