Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(utils): secure "generate_id" function #242

Open
uniqueg opened this issue Jun 20, 2024 · 0 comments
Open

feat(utils): secure "generate_id" function #242

uniqueg opened this issue Jun 20, 2024 · 0 comments
Assignees
Labels
priority: medium Medium priority type: security Related to security workload: minutes Likely takes minutes to resolve

Comments

@uniqueg
Copy link
Member

uniqueg commented Jun 20, 2024

Guard function against code injection, see elixir-cloud-aai/drs-filer#54

Remove eval and instead require callers to provide a literal string of allowed chars to charset, e.g., 0123456789ABCDEF.

@uniqueg uniqueg self-assigned this Jun 20, 2024
@uniqueg uniqueg added priority: medium Medium priority type: security Related to security workload: minutes Likely takes minutes to resolve labels Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium priority type: security Related to security workload: minutes Likely takes minutes to resolve
Projects
None yet
Development

No branches or pull requests

1 participant