Conversation
commented
Sep 23, 2025
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
| fastapi==0.104.1 | ||
| uvicorn[standard]==0.24.0 | ||
| pydantic==2.5.0 | ||
| python-multipart==0.0.6 |
Check failure
Code scanning / Trivy
`python-multipart` is a streaming multipart parser for Python. When us ...
| fastapi==0.104.1 | ||
| uvicorn[standard]==0.24.0 | ||
| pydantic==2.5.0 | ||
| python-multipart==0.0.6 |
Check failure
Code scanning / Trivy
python-multipart: python-multipart has a DoS via deformation `multipart/form-data` boundary
| uvicorn[standard]==0.24.0 | ||
| pydantic==2.5.0 | ||
| python-multipart==0.0.6 | ||
| python-jose[cryptography]==3.3.0 |
Check failure
Code scanning / Trivy
python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats
| uvicorn[standard]==0.24.0 | ||
| pydantic==2.5.0 | ||
| python-multipart==0.0.6 | ||
| python-jose[cryptography]==3.3.0 |
Check warning
Code scanning / Trivy
python-jose: allows attackers to cause a denial of service
| python-jose[cryptography]==3.3.0 | ||
| passlib[bcrypt]==1.7.4 | ||
| aiofiles==23.2.1 | ||
| aiohttp==3.9.1 |
Check warning
Code scanning / Trivy
aiohttp: follow_symlinks directory traversal vulnerability
| redis==5.0.1 | ||
| asyncio-mqtt==0.16.1 | ||
| cryptography==41.0.8 | ||
| requests==2.31.0 |
Check warning
Code scanning / Trivy
requests: subsequent requests to the same host ignore cert verification
| redis==5.0.1 | ||
| asyncio-mqtt==0.16.1 | ||
| cryptography==41.0.8 | ||
| requests==2.31.0 |
Check warning
Code scanning / Trivy
requests: Requests vulnerable to .netrc credentials leak via malicious URLs
|
|
||
| # Monitoring and logging | ||
| prometheus-client==0.19.0 | ||
| sentry-sdk[fastapi]==1.38.0 |
Check notice
Code scanning / Trivy
sentry-sdk is the official Python SDK for Sentry.io. A bug in Sentry's ...
| # Development | ||
| pytest==7.4.3 | ||
| pytest-asyncio==0.21.1 | ||
| black==23.11.0 |
Check warning
Code scanning / Trivy
psf/black: ReDoS via the lines_with_leading_tabs_expanded() function in strings.py file
| "node_modules/bigint-buffer": { | ||
| "version": "1.1.5", | ||
| "resolved": "https://registry.npmjs.org/bigint-buffer/-/bigint-buffer-1.1.5.tgz", | ||
| "integrity": "sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA==", | ||
| "hasInstallScript": true, | ||
| "license": "Apache-2.0", | ||
| "dependencies": { | ||
| "bindings": "^1.3.0" | ||
| }, | ||
| "engines": { | ||
| "node": ">= 10.0.0" | ||
| } | ||
| }, |
Check failure
Code scanning / Trivy
bigint-buffer Vulnerable to Buffer Overflow via toBigIntLE() Function
| } | ||
|
|
||
| false // CRITICAL: Never add unreachable peers, even during bootstrap | ||
| } |
There was a problem hiding this comment.
Bug: Genesis Peer Connectivity Logic Conflict
The P2P module has conflicting logic for Genesis peers. While some paths use "bootstrap trust" to add them even if unreachable, other critical sections enforce strict connectivity for Byzantine safety. This inconsistency can lead to phantom Genesis peers being considered for consensus, compromising network stability and Byzantine fault tolerance.
Additional Locations (1)
| var endpoint = networkEnv === 'mainnet' | ||
| ? this.endpoints.qnet.mainnet | ||
| : this.endpoints.qnet.testnet; | ||
| } |
There was a problem hiding this comment.
Bug: Variable Hoisting Causes Unexpected Behavior
The endpoint variable in initializeQNetConnection is declared with var in both if and else blocks. This redeclaration can lead to unexpected behavior due to var's hoisting rules.
Add LICENSE
Note
Integrates Phase 1 1DEV burn activation (Solana devnet) with updated rewards/consensus and configs, plus new scripts, monitoring, and documentation for testnet.
70%and set transfergas_limitto10000.NodeConfigdefaults (dynamiclisten_addr, ports, metrics, RPC).SolanaVerifierfor 1DEV burns (devnet mint62PP...FHHJ, incinerator addr) and enhanceQNetVerifier.251,432.34QNC/4h; per-node-type reputation gates (Light any; Full/Super>=70).prometheus.yml, and issuer key placeholders.scripts/package.jsondeps; simple test token creator.src/crypto/ProductionBIP39.js).Written by Cursor Bugbot for commit 493d272. This will update automatically on new commits. Configure here.