React web application injected texts virus










0














I have built a react web application, and somehow the hardcoded texts get replaced in about 30% of the times to "rude" ones. It seems like a virus, I went through the dependencies there all seems fine. I will also add it here. The server side has only 1 AWS lambda that stores data to mongodb



 "dependencies": 
"@vimeo/player": "^2.6.4",
"classnames": "^2.2.6",
"hex-rgb": "^3.0.0",
"js-sha256": "^0.9.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-ga": "^2.5.3",
"react-pose": "^3.4.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.0.4"
,


Is there any idea to start check? Ever happened to anyone?
If there is any information I can add that might help, please tell me and I will
Thanks in advance










share|improve this question























  • Are you accessing the app behind HTTPS? Is possible that the code is injected during the transport.
    – Luca Fabbri
    Nov 11 at 11:37










  • @LucaFabbri yes, but anyways the texts are hardcoded in the client side
    – user3900146
    Nov 11 at 12:01










  • That doesn't matter, a malicious ISP for example can modifiy a JS file sent to the client. However this is not possible behind SSL.
    – Luca Fabbri
    Nov 11 at 12:45















0














I have built a react web application, and somehow the hardcoded texts get replaced in about 30% of the times to "rude" ones. It seems like a virus, I went through the dependencies there all seems fine. I will also add it here. The server side has only 1 AWS lambda that stores data to mongodb



 "dependencies": 
"@vimeo/player": "^2.6.4",
"classnames": "^2.2.6",
"hex-rgb": "^3.0.0",
"js-sha256": "^0.9.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-ga": "^2.5.3",
"react-pose": "^3.4.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.0.4"
,


Is there any idea to start check? Ever happened to anyone?
If there is any information I can add that might help, please tell me and I will
Thanks in advance










share|improve this question























  • Are you accessing the app behind HTTPS? Is possible that the code is injected during the transport.
    – Luca Fabbri
    Nov 11 at 11:37










  • @LucaFabbri yes, but anyways the texts are hardcoded in the client side
    – user3900146
    Nov 11 at 12:01










  • That doesn't matter, a malicious ISP for example can modifiy a JS file sent to the client. However this is not possible behind SSL.
    – Luca Fabbri
    Nov 11 at 12:45













0












0








0







I have built a react web application, and somehow the hardcoded texts get replaced in about 30% of the times to "rude" ones. It seems like a virus, I went through the dependencies there all seems fine. I will also add it here. The server side has only 1 AWS lambda that stores data to mongodb



 "dependencies": 
"@vimeo/player": "^2.6.4",
"classnames": "^2.2.6",
"hex-rgb": "^3.0.0",
"js-sha256": "^0.9.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-ga": "^2.5.3",
"react-pose": "^3.4.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.0.4"
,


Is there any idea to start check? Ever happened to anyone?
If there is any information I can add that might help, please tell me and I will
Thanks in advance










share|improve this question















I have built a react web application, and somehow the hardcoded texts get replaced in about 30% of the times to "rude" ones. It seems like a virus, I went through the dependencies there all seems fine. I will also add it here. The server side has only 1 AWS lambda that stores data to mongodb



 "dependencies": 
"@vimeo/player": "^2.6.4",
"classnames": "^2.2.6",
"hex-rgb": "^3.0.0",
"js-sha256": "^0.9.0",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-ga": "^2.5.3",
"react-pose": "^3.4.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.0.4"
,


Is there any idea to start check? Ever happened to anyone?
If there is any information I can add that might help, please tell me and I will
Thanks in advance







reactjs dependencies code-injection virus






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 at 10:33

























asked Nov 11 at 10:04









user3900146

2519




2519











  • Are you accessing the app behind HTTPS? Is possible that the code is injected during the transport.
    – Luca Fabbri
    Nov 11 at 11:37










  • @LucaFabbri yes, but anyways the texts are hardcoded in the client side
    – user3900146
    Nov 11 at 12:01










  • That doesn't matter, a malicious ISP for example can modifiy a JS file sent to the client. However this is not possible behind SSL.
    – Luca Fabbri
    Nov 11 at 12:45
















  • Are you accessing the app behind HTTPS? Is possible that the code is injected during the transport.
    – Luca Fabbri
    Nov 11 at 11:37










  • @LucaFabbri yes, but anyways the texts are hardcoded in the client side
    – user3900146
    Nov 11 at 12:01










  • That doesn't matter, a malicious ISP for example can modifiy a JS file sent to the client. However this is not possible behind SSL.
    – Luca Fabbri
    Nov 11 at 12:45















Are you accessing the app behind HTTPS? Is possible that the code is injected during the transport.
– Luca Fabbri
Nov 11 at 11:37




Are you accessing the app behind HTTPS? Is possible that the code is injected during the transport.
– Luca Fabbri
Nov 11 at 11:37












@LucaFabbri yes, but anyways the texts are hardcoded in the client side
– user3900146
Nov 11 at 12:01




@LucaFabbri yes, but anyways the texts are hardcoded in the client side
– user3900146
Nov 11 at 12:01












That doesn't matter, a malicious ISP for example can modifiy a JS file sent to the client. However this is not possible behind SSL.
– Luca Fabbri
Nov 11 at 12:45




That doesn't matter, a malicious ISP for example can modifiy a JS file sent to the client. However this is not possible behind SSL.
– Luca Fabbri
Nov 11 at 12:45












1 Answer
1






active

oldest

votes


















0














Ok, 12 hours of research have passed and here are the conclusions: Google translate has recognized my site as a wrong language and translated it totally wrong. It changed my whole site texts. I am happy it is behind me, I didn't know what to think about. Thanks!






share|improve this answer




















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53247622%2freact-web-application-injected-texts-virus%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Ok, 12 hours of research have passed and here are the conclusions: Google translate has recognized my site as a wrong language and translated it totally wrong. It changed my whole site texts. I am happy it is behind me, I didn't know what to think about. Thanks!






    share|improve this answer

























      0














      Ok, 12 hours of research have passed and here are the conclusions: Google translate has recognized my site as a wrong language and translated it totally wrong. It changed my whole site texts. I am happy it is behind me, I didn't know what to think about. Thanks!






      share|improve this answer























        0












        0








        0






        Ok, 12 hours of research have passed and here are the conclusions: Google translate has recognized my site as a wrong language and translated it totally wrong. It changed my whole site texts. I am happy it is behind me, I didn't know what to think about. Thanks!






        share|improve this answer












        Ok, 12 hours of research have passed and here are the conclusions: Google translate has recognized my site as a wrong language and translated it totally wrong. It changed my whole site texts. I am happy it is behind me, I didn't know what to think about. Thanks!







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 11 at 19:09









        user3900146

        2519




        2519



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53247622%2freact-web-application-injected-texts-virus%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kleinkühnau

            Makov (Slowakei)

            Deutsches Schauspielhaus