Security platform dependency #586
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Overview
This PR addresses critical cross-platform compatibility issues with security scanning tools Arachni and Wapiti, and introduces Docker-based Arachni for consistent behavior across all platforms.
Current Behavior (Issues Fixed):
New Behavior:
uvx/uvfor cross-platform execution without global installationBreaking Changes:
uvx/uvexecution instead of global pip installationTest Cases
Technical Details
Arachni Docker Integration:
Dockerfile.arachnifor custom lightweight Arachni imagedocker-compose.ymlfor container orchestration with memory limitsarachni_download.pyto use Docker instead of native installationarachni_run.pyfor proper HTML report generation and directory handlingWapiti Cross-Platform Fix:
uvx/uvexecution for Wapiti without global installation--with greenletflagFiles Modified:
Framework/Built_In_Automation/Security/BuiltInFunctions.py- Added Wapiti auto-installation and uvx integrationFramework/Built_In_Automation/Security/arachni_download.py- Converted to Docker-based approachFramework/Built_In_Automation/Security/arachni_run.py- Fixed HTML report generation and Docker executionFramework/Built_In_Automation/Security/helper.py- Enhanced helper functionsDockerfile.arachnianddocker-compose.ymlfor containerizationBenefits
Testing