BitComet Download Extension
ID: dhigneefebkcagnpnpbibganpmfgebnk
Supported Languages
Extension Info & Metadata
Publisher Contextual Analysis
- Author
- https://www.bitcomet.com/View Profile
- Privacy
- Privacy Policy
- MX records exist
- Yes
- Domain exists
- Yes
- Is disposable
- No
- Is role-based
- No
- Mailbox exists
- Yes
- Website
- Visit
helps to download files with BitComet
BitComet Download Extension for Chrome add following conveniences for you: 1. Show "Download using BitComet" command in the context menu of links in web page and downloads tab of Chrome. 2. Download file of specified types using BitComet when click links in web pages. The filter list of file types can be configured in BitComet option window. 3. Launch BitComet directly from Chrome toolbar. Note: This extension works only with BitComet v1.38 or later. Official website: http://www.bitcomet.com
Reads all cookies scoped to the download URL's domain (including HttpOnly/session cookies via chrome.cookies API) and hands them off to a native messaging host together with the referrer. This is a legitimate pattern for download managers that need to replay authenticated sessions, but it bypasses HttpOnly protection and the cookies leave the browser sandbox into a native binary — worth noting as a sensitive-data flow.
// retrieve cookies for downloadfunction PrepareDownload(link, refererUrl) { chrome.cookies.getAll({ url: link }, function(cookies) { var cookie = ""; for (i in cookies) { cookie = cookie.concat(cookies[i].name, "=", cookies[i].value, "; "); }; InvokeDownload(link, cookie, refererUrl); });}// Invoke downloadfunction InvokeDownload(link, cookie, referurl) { chrome.runtime.sendNativeMessage('com.bitcomet.chrome_extension', { action: "Download", link: link, cookie: cookie, referurl: referurl },Content script injected into every http/https page reads document.cookie on link clicks matching a server-provided extension filter list and forwards it to the background page (which then pipes it to the BitComet native host). The filter list `sExtFilterList` is fetched from the native host via InvokeGetHostConfig and is not validated, so compromise/reconfiguration of the native host could widen what link patterns trigger cookie capture.
// link click eventfunction onLinkClick(event) { if (bPluginEnabled) { var linkUrl = this.href; var checkResult = checkDownloadLink(linkUrl, sExtFilterList); if (checkResult != false) { chrome.runtime.sendMessage({ name: "CaptureDownload", link: linkUrl, cookie: document.cookie, referurl: document.location.href }); return event.preventDefault(); } }}The extension unconditionally trusts `response.ext_list` from the native messaging host and persists it to storage, where content.js then uses it to decide which link clicks cause document.cookie exfiltration to the native host. No validation/type check on the response means a malicious/compromised native host could push an overly broad filter (e.g., `.html;.php`) and turn this into a universal cookie-collection channel across all http/https sites.
// Invoke get configfunction InvokeGetHostConfig() { chrome.runtime.sendNativeMessage('com.bitcomet.chrome_extension', { action: "GetConfig" }, async function(response) { if (chrome.runtime.lastError) { console.log("InvokeGetHostConfig Error: " + chrome.runtime.lastError.message); } else { console.log("Received Config: " + JSON.stringify(response)); } // load local settings let settingValues = await chrome.storage.local.get(["sExtFilterList"]); // save sExtFilterList if (typeof settingValues == 'undefined' || settingValues.sExtFilterList != response.ext_list) { chrome.storage.local.set({ sExtFilterList: response.ext_list }); } });}By severity
Versions scanned
Showing 1 of 7 scanned versions with more than one unique finding. Counts are unique findings that include each version.
| Extension Version | Code Review Findings |
|---|---|
| 1.96.0 | 3 |
Files with findings
2 distinct paths — top paths by unique finding count:
- background.js2
- js/content.js1
URLs
View the external URLs this extension communicates with to understand its network activity and data interactions.
Gain full insight into all external connections.
Upgrade for full visibility.
Gain full insight into all external connections.
Upgrade for full visibility.
Code Diff
Compare extension code between any two versions.
No comparable text files found between these versions.
Browse and explore files within this extension package
Gain full insight into all external connections.
Upgrade for full visibility.