Are first-party scripts safer than third-party scripts?
Generally yes, because you control the source, hosting, and release process, but not automatically. First-party bundles usually include third-party dependencies pulled from package managers, so they inherit supply-chain risk. The advantage is control and auditability, not inherent immunity from compromise or vulnerabilities.