Counselllor / Counsellor-Web

Audit: Unsanitized user input passed to server logs JS-A1004
Security
Critical
1 occurrence in this check
Sanitize user queries before logging them to console
13      try {
14        const response = await fetch(`https://api.github.com/repos/${owner}/${repo}/contributors`);
15        if (!response.ok) {
16          console.error('Failed to fetch contributors:', response.statusText);17          return;
18        }
19        const data = await response.json();