There are warnings of a new attack called "dependency confusion" or "substitution attack," come from Microsoft and published in a white paper. The attack could allow bad actors to inject malicious code inside private code repositories by registering internal library names on public package indexes.
Read more here [
medium.com...]
Read more here [
zdnet.com...]
Read more here [
azure.microsoft.com...]