Skip to content

[Bug] Hardcoded Backend IP Address and Plain HTTP Usage in reflection.js #6572

@karthik-dev56

Description

@karthik-dev56

Description

reflection.js currently has an AWS IP address hardcoded for its backend communication, and it is using plain HTTP.

Because this is hardcoded, it exposes the internal infrastructure explicitly to clients. More importantly, using http:// instead of https:// makes network traffic (including project code sent to the /projectcode, /chat, and /analysis endpoints) vulnerable to Man-in-the-Middle (MITM) interception.

File Location:
js/widgets/reflection.js (around line 106)

// Currently hardcoded to AWS IP
this.PORT = "http://3.105.177.138:8000";

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions