Javascript global identifier conflicts detection based on static analysis.

Uložené v:
Podrobná bibliografia
Názov: Javascript global identifier conflicts detection based on static analysis.
Autori: Sun, Shibo, Yao, Shixiong, Chen, Jiageng, Li, Pei
Zdroj: Cybersecurity (2523-3246); 1/4/2026, Vol. 9 Issue 1, p1-12, 12p
Predmety: JAVASCRIPT programming language, WEB-based user interfaces, COMPUTER performance, SOURCE code
Abstrakt: JavaScript code is often included in web applications to implement various functionalities. However, namespace is absent in JavaScript(JS), and all JavaScript code in a same frame shares a common namespace. The absence of namespace may lead to mutual interference among JavaScript code, which results in abnormal program execution. In this paper, we investigate the issue of global identifier conflicts in JavaScript code that cause anomalies across entire web pages. Unlike existing dynamic detection methods like JSOBSERVER which introduce significant runtime performance overhead and can only detect conflicts in executed code paths, our approach avoids execution dependency and performance penalty. Aimed to this issue, we develop a static analysis tool, called DetecJS, to analyze dependencies and conflict relationships among JavaScript code. It can be used to assists developers in identifying global identifier conflicts in the program early during development without executing the code. Based on DetecJS, we identify 2618 global identifier conflicts across 1000 websites. Additionally, we conduct a performance evaluation of DetecJS, the results indicated that the tool exhibits high performance, with an average analysis time of only 5.56 s per web page and conflict detection taking just 15.15 ms. [ABSTRACT FROM AUTHOR]
Copyright of Cybersecurity (2523-3246) is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Databáza: Complementary Index
FullText Text:
  Availability: 0
CustomLinks:
  – Url: https://resolver.ebscohost.com/openurl?sid=EBSCO:edb&genre=article&issn=25233246&ISBN=&volume=9&issue=1&date=20260104&spage=1&pages=1-12&title=Cybersecurity (2523-3246)&atitle=Javascript%20global%20identifier%20conflicts%20detection%20based%20on%20static%20analysis.&aulast=Sun%2C%20Shibo&id=DOI:10.1186/s42400-025-00530-x
    Name: Full Text Finder
    Category: fullText
    Text: Full Text Finder
    Icon: https://imageserver.ebscohost.com/branding/images/FTF.gif
    MouseOverText: Full Text Finder
  – Url: https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=EBSCO&SrcAuth=EBSCO&DestApp=WOS&ServiceName=TransferToWoS&DestLinkType=GeneralSearchSummary&Func=Links&author=Sun%20S
    Name: ISI
    Category: fullText
    Text: Nájsť tento článok vo Web of Science
    Icon: https://imagesrvr.epnet.com/ls/20docs.gif
    MouseOverText: Nájsť tento článok vo Web of Science
Header DbId: edb
DbLabel: Complementary Index
An: 190671221
RelevancyScore: 1082
AccessLevel: 6
PubType: Academic Journal
PubTypeId: academicJournal
PreciseRelevancyScore: 1082.40478515625
IllustrationInfo
Items – Name: Title
  Label: Title
  Group: Ti
  Data: Javascript global identifier conflicts detection based on static analysis.
– Name: Author
  Label: Authors
  Group: Au
  Data: <searchLink fieldCode="AR" term="%22Sun%2C+Shibo%22">Sun, Shibo</searchLink><br /><searchLink fieldCode="AR" term="%22Yao%2C+Shixiong%22">Yao, Shixiong</searchLink><br /><searchLink fieldCode="AR" term="%22Chen%2C+Jiageng%22">Chen, Jiageng</searchLink><br /><searchLink fieldCode="AR" term="%22Li%2C+Pei%22">Li, Pei</searchLink>
– Name: TitleSource
  Label: Source
  Group: Src
  Data: Cybersecurity (2523-3246); 1/4/2026, Vol. 9 Issue 1, p1-12, 12p
– Name: Subject
  Label: Subject Terms
  Group: Su
  Data: <searchLink fieldCode="DE" term="%22JAVASCRIPT+programming+language%22">JAVASCRIPT programming language</searchLink><br /><searchLink fieldCode="DE" term="%22WEB-based+user+interfaces%22">WEB-based user interfaces</searchLink><br /><searchLink fieldCode="DE" term="%22COMPUTER+performance%22">COMPUTER performance</searchLink><br /><searchLink fieldCode="DE" term="%22SOURCE+code%22">SOURCE code</searchLink>
– Name: Abstract
  Label: Abstract
  Group: Ab
  Data: JavaScript code is often included in web applications to implement various functionalities. However, namespace is absent in JavaScript(JS), and all JavaScript code in a same frame shares a common namespace. The absence of namespace may lead to mutual interference among JavaScript code, which results in abnormal program execution. In this paper, we investigate the issue of global identifier conflicts in JavaScript code that cause anomalies across entire web pages. Unlike existing dynamic detection methods like JSOBSERVER which introduce significant runtime performance overhead and can only detect conflicts in executed code paths, our approach avoids execution dependency and performance penalty. Aimed to this issue, we develop a static analysis tool, called DetecJS, to analyze dependencies and conflict relationships among JavaScript code. It can be used to assists developers in identifying global identifier conflicts in the program early during development without executing the code. Based on DetecJS, we identify 2618 global identifier conflicts across 1000 websites. Additionally, we conduct a performance evaluation of DetecJS, the results indicated that the tool exhibits high performance, with an average analysis time of only 5.56 s per web page and conflict detection taking just 15.15 ms. [ABSTRACT FROM AUTHOR]
– Name: Abstract
  Label:
  Group: Ab
  Data: <i>Copyright of Cybersecurity (2523-3246) is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.)
PLink https://erproxy.cvtisr.sk/sfx/access?url=https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edb&AN=190671221
RecordInfo BibRecord:
  BibEntity:
    Identifiers:
      – Type: doi
        Value: 10.1186/s42400-025-00530-x
    Languages:
      – Code: eng
        Text: English
    PhysicalDescription:
      Pagination:
        PageCount: 12
        StartPage: 1
    Subjects:
      – SubjectFull: JAVASCRIPT programming language
        Type: general
      – SubjectFull: WEB-based user interfaces
        Type: general
      – SubjectFull: COMPUTER performance
        Type: general
      – SubjectFull: SOURCE code
        Type: general
    Titles:
      – TitleFull: Javascript global identifier conflicts detection based on static analysis.
        Type: main
  BibRelationships:
    HasContributorRelationships:
      – PersonEntity:
          Name:
            NameFull: Sun, Shibo
      – PersonEntity:
          Name:
            NameFull: Yao, Shixiong
      – PersonEntity:
          Name:
            NameFull: Chen, Jiageng
      – PersonEntity:
          Name:
            NameFull: Li, Pei
    IsPartOfRelationships:
      – BibEntity:
          Dates:
            – D: 04
              M: 01
              Text: 1/4/2026
              Type: published
              Y: 2026
          Identifiers:
            – Type: issn-print
              Value: 25233246
          Numbering:
            – Type: volume
              Value: 9
            – Type: issue
              Value: 1
          Titles:
            – TitleFull: Cybersecurity (2523-3246)
              Type: main
ResultId 1