Skip to content

fix: all http requests in scripts/data_collector/utils in utils.py#2221

Open
orbisai0security wants to merge 1 commit into
microsoft:mainfrom
orbisai0security:fix-v-005-request-timeout-none
Open

fix: all http requests in scripts/data_collector/utils in utils.py#2221
orbisai0security wants to merge 1 commit into
microsoft:mainfrom
orbisai0security:fix-v-005-request-timeout-none

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix high severity security issue in scripts/data_collector/utils.py.

Vulnerability

Field Value
ID V-005
Severity HIGH
Scanner multi_agent_ai
Rule V-005
File scripts/data_collector/utils.py:219

Description: All HTTP requests in scripts/data_collector/utils.py explicitly set timeout=None, which instructs the requests library to wait indefinitely for both connection establishment and response data. In a production quantitative trading environment where timely market data is critical, a slow or unresponsive upstream data provider will cause all data collection threads to hang permanently, blocking the entire data pipeline without any error or recovery.

Changes

  • scripts/data_collector/utils.py

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by OrbisAI Security
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