guardicore / guardicore/monkey

Custom config types not validated on the back end

Open
#2,965 0 comments 0 reactions 0 assignees View on GitHub
Bug Impact: Low
Dominant language
Python
Stars
7.1k
Forks
830
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
Custom types that are defined in `monkey/monkey_island/cc/ui/src/components/configuration-components/ValidationFormats.js` are not validated on the back end

The custom types are:
- Hostname
- IP ranges (cidr notation, IP-IP, etc.)
- Ransomware file extension
- Linux/windows absolute path for directory to encrypt

## To Reproduce
Steps to reproduce the behavior:
1. Send a config request with invalid custom type
2. Back end accepts the invalid configuration

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.