Skip to content

fix: the documentation generator script directly ope... in generate-d...#22

Open
orbisai0security wants to merge 1 commit intoluongnv89:mainfrom
orbisai0security:fix-fix-path-traversal-doc-generator-v001
Open

fix: the documentation generator script directly ope... in generate-d...#22
orbisai0security wants to merge 1 commit intoluongnv89:mainfrom
orbisai0security:fix-fix-path-traversal-doc-generator-v001

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix high severity security issue in 03-skills/doc-generator/generate-docs.py.

Vulnerability

Field Value
ID V-001
Severity HIGH
Scanner multi_agent_ai
Rule V-001
File 03-skills/doc-generator/generate-docs.py:48

Description: The documentation generator script directly opens files using sys.argv[1] without any path validation or sanitization. This allows an attacker to provide path traversal sequences (e.g., '../../../e...

Changes

  • 03-skills/doc-generator/generate-docs.py

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • Code review passed

Automated security fix by OrbisAI Security

The documentation generator script directly opens files using sys
Resolves V-001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant