Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.
SECRET//NOFORN
3.2 Auto Discovery
Grasshopper applications will automatically discover component packages at
startup. Grasshopper components are installed by placing their package in the
component search path.
Grasshopper will search for component packages in the following locations and
order:
Local Path
Optional directory co-located with the Grasshopper Python package named
“grasshopper-components”.
System Path
Optional subdirectory of the Grasshopper system directory named
“components”. The Grasshopper system directory is /var/lib/grasshopper on
Linux operating systems and %PROGRAMDATA%\Grasshopper on Windows operating
systems.
Working Path
Optional subdirectory of the current working directory named “grasshopper-
components”.
Environment Paths
Directories specified using the GHCOMPONENTPATH environment variable.
The value of the variable is delimited by the system-appropriate path
separator (‘:’ on Linux, ‘;’ on Windows).
22
SECRET//NOFORN