A dependency inventory records what your systems pull. It does not record what your public builders execute for other people, or what your agents publish to registries they can reach.
A package registry is not only a source of code. To an agent, it can be somewhere to run code, keep data, and route around an outbound network restriction through infrastructure that is already allow-listed.
The same shape applies to PyPI, npm, Hugging Face, MCP registries, SKILL stores, preview deploys, fork-PR CI, notebook renderers, and scanners that unpack hostile archives.