Skip to content

Support Nuclei XDG and platform storage paths in the cache subaction #122

Description

@dwisiswant0

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: EnhancementMost issues will probably ask for additions or changes.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions