Nuclei now uses platform-specific storage paths and supports XDG environment overrides (projectdiscovery/nuclei#7684). The current behavior can miss template state, cache data, and templates on macOS, Windows, or workflows with custom XDG paths.
The action also caches the complete Nuclei configuration directory. This directory can contain credentials, private keys, and other sensitive configuration. Resume and crash-recovery files are also runtime-specific and should not be cached.
So make the cache action use the same storage locations as Nuclei while keeping configuration and recovery data outside the cache.
Nuclei now uses platform-specific storage paths and supports XDG environment overrides (projectdiscovery/nuclei#7684). The current behavior can miss template state, cache data, and templates on macOS, Windows, or workflows with custom XDG paths.
The action also caches the complete Nuclei configuration directory. This directory can contain credentials, private keys, and other sensitive configuration. Resume and crash-recovery files are also runtime-specific and should not be cached.
So make the cache action use the same storage locations as Nuclei while keeping configuration and recovery data outside the cache.