beefproject / beefproject/beef

Add Configuration File Validation and Error Handling

Open
#1,739 2 comments 0 reactions 0 assignees View on GitHub
Core Enhancement High
Dominant language
JavaScript
Stars
11k
Forks
2.4k
Avg merge
1d 1h
Merged PRs (30d)
15

Description

BeEF should validate the configuration file options and exit upon failure.

Each extension should be able to define it's own validation for configuration file options, which is called upon extension soft load.

This is especially important to prevent issues arising due to changes to the configuration file which affect backwards compatibility.

Contributor guide

Open the contributing guide

Research direction

Trace the existing configuration loading path and the extension soft-load entry point, then inspect how configuration options are currently defined. Done means extensions can validate their own options and the application exits with an error when validation fails, including cases affected by backwards-incompatible configuration changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.