Skip to content

CodeQL Alert #3 - Security rule js/incorrect-suffix-check triggered #523

Open
@jwj019

Description

@jwj019

Tool: CodeQL (2.13.4)
Rule: js/incorrect-suffix-check
Severity: error (Security level: high)
Description: Incorrect suffix check
Instance reference: refs/heads/main
Instance state: open
Location: dist/sourcemap-register.js @ l1:c4851-l1:c4888
Message: This suffix check is missing a length comparison to correctly handle indexOf returning -1.

CodeQL Alert Link

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions