It's not really my question.
In the past, following or not following symbolic links could be controlled by the developer building the package (by using the modern version of the IFPkgFlagFollowLinks flag). Now, it looks like that the options that the developer set is not taken anymore into account by the installation mechanism of recent macOS versions.
This looks like both a regression bug and a security issue.
But at the same time since the package format has never been officially documented (contrary to the distribution XML file or Installer JS (with its own bugs: e.g. FB20448952)), it's difficult to file a bug report that states that an undocumented option that has been working for many years is not working anymore and is a regression.
But the behavior of always following symbolic links could be a security issue depending on where the items of the payload are to be installed.
Topic:
App & System Services
SubTopic:
Core OS
Tags: