Skip to content
← LibraryTechnique entry
SUP-DEP-CONFUSIONInitial Access

Dependency Confusion (Public ↔ Internal)

Publish a package on a public registry with the name of a target's internal-only dependency at a higher version — npm/yarn prefers the public one.

§ Where this technique fits

SUP-DEP-CONFUSION is catalogued under the Initial Access tactic of the offensive-security kill-chain. It appears in 1 approved dossier in the registry, typically at step 2 on average.

§ Dossiers chaining this technique

§ What commonly comes next

  1. 01
    Malicious Install Script
    SUP-INSTALL-SCRIPT · Execution
    seen 1×