-
Notifications
You must be signed in to change notification settings - Fork 80
Bug: Security Scan Findings & Vulnerabilities #136
Copy link
Copy link
Open
Labels
gssoc26GirlScript Summer of Code 2026 contributionGirlScript Summer of Code 2026 contributionlevel2GSSoC level 2 - intermediate (medium points)GSSoC level 2 - intermediate (medium points)level:intermediateGSSoC difficulty: intermediate-level taskGSSoC difficulty: intermediate-level tasktype:bugGSSoC bonus: bug fixGSSoC bonus: bug fixtype:securityGSSoC bonus: security fix or improvementGSSoC bonus: security fix or improvement
Description
Metadata
Metadata
Assignees
Labels
gssoc26GirlScript Summer of Code 2026 contributionGirlScript Summer of Code 2026 contributionlevel2GSSoC level 2 - intermediate (medium points)GSSoC level 2 - intermediate (medium points)level:intermediateGSSoC difficulty: intermediate-level taskGSSoC difficulty: intermediate-level tasktype:bugGSSoC bonus: bug fixGSSoC bonus: bug fixtype:securityGSSoC bonus: security fix or improvementGSSoC bonus: security fix or improvement
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
A security scan (using Bandit and npm audit) has identified multiple security vulnerabilities across the repository, including a Flask app running in debug mode, vulnerable NPM packages, missing request timeouts, and silent error suppression.
Steps to reproduce
bandit -r .in the root of the repository to identify Python issues.npm install --package-lock-only && npm auditinsidefrontend-integration/frontend-integrationto see JavaScript dependency vulnerabilities.Expected behavior
The repository code should adhere to basic security guidelines:
requestslibrary should specify a timeout to avoid hangs.Actual behavior
debug=Trueenabled (High Severity):frontend-integration/frontend_app.py:131runs Flask withdebug=True, which exposes an interactive debugger potentially allowing Remote Code Execution (RCE).frontend-integration/frontend-integration/package.jsonuses outdated versions ofaxios,next, and other packages containing known SSRF, DoS, and Prototype Pollution vulnerabilities.web3/internet-computer/fetch/agent.pyand other agents callrequests.post()andrequests.get()withouttimeoutparameters, risking denial of service if the endpoint hangs.video-to-map-agent/pdf_generator_agent.pyandvideo-to-map-agent/weather_monitor_agent.pyglobally suppress errors viaexcept Exception: pass.Affected file or folder path
frontend-integration/frontend_app.pyfrontend-integration/frontend-integration/package.jsonweb3/internet-computer/fetch/agent.pyvideo-to-map-agent/pdf_generator_agent.pyLogs / traceback
Environment
macOS, Python 3.11, Automated Scanner