Summary

Fixes #1367

Changes Made

Clean, well-structured removal of the go-tree-sitter CGO dependency. The pure-Go replacement correctly handles comment stripping before regex and string extraction, preserves the JSLuiceEndpoint interface, and includes strong negative-assertion tests that verify URLs inside comments are NOT extracted.

Verification

  • Build: PASS
  • Tests: PASS
  • Lint: PASS

Summary by CodeRabbit

  • New Features

    • Parser now builds and runs on more platforms.
  • Refactor

    • JavaScript endpoint extraction rewritten to an internal, pure-Go implementation with improved heuristics.
    • Parser initialization simplified to a single unified build.
  • Chores

    • Build-time dependencies reduced to streamline builds.
  • Tests

    • Added tests for JS comment handling, URL heuristics, and endpoint extraction.

/claim #1367

Claim

Total prize pool $400
Total paid $0
Status Pending
Submitted February 28, 2026
Last updated February 28, 2026

Contributors

SO

Solari Systems

@SolariResearch

100%

Sponsors

PR

ProjectDiscovery

@projectdiscovery

$200
HE

Hermes1118

@dalledajay-gmail-com

$200