/usr/bin/maskFastaFromBed is in bedtools 2.26.0+dfsg-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2
#!/bin/sh ${0%/*}/bedtools maskfasta "$@"