Skip to content

[Demo]#5747

Closed
gmechali wants to merge 29 commits intodatacommonsorg:masterfrom
gmechali:extension
Closed

[Demo]#5747
gmechali wants to merge 29 commits intodatacommonsorg:masterfrom
gmechali:extension

Conversation

@gmechali
Copy link
Copy Markdown
Contributor

No description provided.


except Exception as e:
logging.exception("Error verifying claim")
return jsonify({"error": str(e)}), 500

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
return jsonify({"claims": claims})
except Exception as e:
logging.exception("Error extracting claims")
return jsonify({"error": str(e)}), 500

Check warning

Code scanning / CodeQL

Information exposure through an exception Medium

Stack trace information
flows to this location and may be exposed to an external user.
tab.url.startsWith('about:') ||
tab.url.startsWith('view-source:') ||
tab.url.startsWith('https://chrome.google.com/webstore') ||
tab.url.startsWith('https://chromewebstore.google.com')) {

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

'
https://chromewebstore.google.com
' may be followed by an arbitrary host name.
} else if (event.data.type === 'VERIFY_ERROR') {
loading.style.display = 'none';
verifyBtn.disabled = false;
resultsDiv.innerHTML = `<div class="error-message" style="color: #d93025; padding: 10px; background: #fce8e6; border-radius: 4px;">${event.data.error}</div>`;

Check failure

Code scanning / CodeQL

Client-side cross-site scripting High

Cross-site scripting vulnerability due to
user-provided value
.
Comment thread server/templates/factcheck/widget.html Fixed
Comment on lines +26 to +29
iframe.contentWindow.postMessage({
type: 'SET_API_KEY',
key: geminiApiKey
}, '*');

Check warning

Code scanning / CodeQL

Cross-window communication with unrestricted target origin Medium

Sensitive data
is sent to another window without origin restriction.
Sensitive data
is sent to another window without origin restriction.
Sensitive data
is sent to another window without origin restriction.
Comment on lines +58 to +61
iframe.contentWindow.postMessage({
type: 'SET_API_KEY',
key: geminiApiKey
}, '*');

Check warning

Code scanning / CodeQL

Cross-window communication with unrestricted target origin Medium

Sensitive data
is sent to another window without origin restriction.
Sensitive data
is sent to another window without origin restriction.
Sensitive data
is sent to another window without origin restriction.
@gmechali gmechali closed this Apr 16, 2026
@gmechali gmechali deleted the extension branch April 16, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants