Skip to content

Dictionary path construction improvement #432

@monolithed

Description

@monolithed

Hi,

I noticed that the dictionary path is built using the key name. I think this could be insecure, because the key might contain a slash (/), which could potentially be used to access the file system and execute arbitrary code. I'm pretty sure there's a potential attack vector there.

CWE-73, CWE-22

Also, this would allow human-readable keys like namespace/my-key, right now, the / breaks dictionary access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bundlingRelated to the way intlayer is bundled on application (Next.js, Vite.js, Nuxt.js, etc)refactorRefactor a part of the codebasesecurityrelated to security point

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions