Skip to content
← LibraryTechnique entry
SUP-INSTALL-SCRIPTExecution

Malicious Install Script

preinstall / postinstall scripts in npm, setup.py in PyPI run during dependency resolution — code exec on the developer / CI host.

§ Where this technique fits

SUP-INSTALL-SCRIPT is catalogued under the Execution tactic of the offensive-security kill-chain. It appears in 3 approved dossiers in the registry, typically at step 3.7 on average.

§ Dossiers chaining this technique

§ What commonly comes next

  1. 01seen 1×
  2. 02
    Valid Accounts
    T1078 · Initial Access
    seen 1×