Caution required
Suspicious in code review
Our reviewer found behaviour consistent with malware, but not enough to confirm it. Treat this extension as untrusted until it has been re-reviewed.
1 high-severity finding in this extension’s code
Every finding is verified by a security analyst. Unlock the code evidence, indicators and version history.
What our analysis found
WhatFont, used by 3,000,000 people, is rated caution by Extension Auditor. Our code review reported 4 findings (1 high, 2 medium, 1 low), led by privilege escalation. Its permissions mean it can inject scripts into pages.
Key findings
- High
Privilege Escalation
Inside the popup, the script references `chrome.tabs.create` to open the extensions page. Popups run in a short‑lived window and `chrome.tabs` may be unavailable because the popup is not a background page. Even when it is available, navigating to `chrome://extensions` via `chrome.tabs.create` is discouraged – the extension should open its own options page using `chrome.runtime.openOptionsPage` or show the extension page via the `management` API. Additionally, the popup immediately calls `window.close()` which will close the notice popup before the user can click the new tab, making the button useless. The user may also be blocked from opening a new tab in a popup due to security restrictions. The correct approach is to open the options page directly and keep the popup open, letting the user see the notice and decide to enable the file‑URL permission.
- Medium
Unauthorized Data Collection
The background script calls `openPopup` after setting the popup, which can lead to the popup being opened twice (once automatically by the browser when the icon is clicked, and again manually). This can cause the notice popup to briefly flash and close before the user can see the 'Open settings' button. The `window.close()` call in `notice. js` will then close the popup, leaving the user on the settings tab with the popup already gone, which is a poor UX. A better pattern is to let the browser open the popup and only interact with it when it is ready, without manually calling `openPopup`. Also, use the API's built‑in `chrome.runtime.openOptionsPage` to expose the appropriate settings instead of navigating to `chrome://extensions`.
- Medium
Data Exfiltration
The regular expression used to detect store URLs is missing a `\` before the colon and has a space after `https?`, which will prevent it from matching correctly on some browsers. As a result, the function `G` may return `"store"` for pages that are not actually Chrome Web Store pages, leading to the notice popup displaying the wrong message and potentially prompting the user to enable a setting that is irrelevant. This also makes the detection of `file:` URLs brittle: the `z.test(i)` call will never succeed for store pages because the pattern does not match correctly, which can cause the `pdf` detection logic to be skipped. The regex should be rewritten as `const Z = /^https?:\/\/(chromewebstore\.google\.com|chrome\.google\.com\[path withheld]|microsoftedge\.microsoft\.com\[path withheld])/;`.
- Low
Code Injection
The condition `message. settings` reads `message.settings` but the variable name uses a space (`message. settings`). This creates a syntax error at runtime (the property is never read). In the provided code the property is called `settings`, but there is an extra space in the snippet you posted, which would make the JavaScript parser error out and the popup would stay blank. This error is hard to notice because the script is loaded via a `<script src="notice. js">` tag and errors are swallowed by the popup’s own sandbox. The correct code should read `message.settings` without the extra space, and also ensure that the button is correctly linked to the correct function. Furthermore, the button should be hidden on pages where it does not apply (e.g., not on the `file` case).
Analyst notes
The provided code contains numerous usage of global `chrome` objects inside popup scripts, which can be undefined if the popup is not properly loaded, and it also opens the extensions management page directly (chrome://extensions). This is not the standard way to let users enable the 'Allow access to file URLs' option – it should open the extension's own options page or the extension management page via the API. Additionally, there are some race conditions with closing the popup while also opening a new tab, and the `settings` button in the notice popup will close the popup immediately after opening the settings tab, potentially causing a confusing user experience. The code also uses a custom polyfill (`browser-polyfill`) that may hide errors, making debugging harder. These issues could cause the notice popup to misbehave on some pages, and the overall architecture could be simplified and made more robust. I will propose concrete fixes, including: (1) using `chrome.runtime.openOptionsPage` instead of `chrome.tabs.create('chrome://extensions')`, (2) using the native `chrome` namespace inside the popup safely, (3) removing the premature `window.close()` call, (4) improving error handling and logging, and (5) adjusting the background script to correctly handle the popup lifecycle. I will also provide corrected snippets for `notice. js` and a small change to `background/ index. js`.
WhatFont Chrome extension security report
ID: jabopobgcpjmedljpbcaablpmlmfcogm
Supported Languages
Extension Info & Metadata
Publisher Contextual Analysis
- Author
- chengyinliu.com
- Privacy
- Privacy Policy
- Help
- Help Center
- MX records exist
- Yes
- Domain exists
- Yes
- Is disposable
- No
- Is role-based
- No
- Mailbox exists
- Yes
- Website
- Visit
Screenshots & videos
Install growth
- 1 high
- 2 medium
- 1 low
The file, code excerpt and explanation behind each finding are part of the full report. No conclusion has been withheld — only the evidence. The verdict above already reflects everything found here.
1 high-severity finding in this extension’s code
Every finding is verified by a security analyst. Unlock the code evidence, indicators and version history.
About this extension
The easiest way to identify fonts on web pages.
Read the publisher’s full description
Say goodbye to the complexity of developer tools for identifying fonts. With WhatFont, discovering the fonts used on websites becomes as effortless as hovering over text. Want more details? A simple click on any element reveals the styles applied, making it easier than ever to uncover the secrets behind beautiful typography. Recommended by Wired WebMonkey, Lifehacker, and SwissMiss. ——————————————————————————— History: • 3.2.0 - Improved toolbar icon compatibility • 3.1.1 - Removed unnecessary developer logging • 3.1.0 - Added multiple color format support • 3.0.1 - Restored escape key to exit • 3.0.0 - Completely Rewritten: The entire extension has been rebuilt for better performance and usability. - Updated Permission Model: We've revised permissions to better respect user privacy while maintaining functionalities. - Refreshed Appearance: The look has been updated for a more modern feel. - Isolation from Host Website Styling: Ensures WhatFont's appearance is unaffected by the website it's used on. - Adaptive Toolbar Icon: The toolbar icon now changes based on the system's appearance settings. - Support for New CSS Color Values: Enhanced support for the latest CSS color values. • 2.1.0 - A new design thanks to Siddharth Mate • 2.0.3 - Retina toolbar icon • 2.0.2 - Fix option page for button styles • 2.0.1 - Use native screen capturer • 2.0 - Improved sharing • 1.7 - Added font services detection for FontDeck (Thanks to Mark Perkins) - Improved font detecting algorithm - Improved overall performance • 1.6.1 - Added color detection for text • 1.6 - Added a tweet button for instant sharing through Twitter - Improved style reseting • 1.5 - Overall restyling • 1.4.4 - Supported light icon for dark themes • 1.4.3 - Fixed a bug related to Typekit service detection • 1.4.2 - Reduced loading time - Supported HTTPS protocol • 1.4.1 - Fixed stylesheet bug • 1.4 - Restructured source code - Supported font services detection for Typekit and Google Font API - Fixed toolbar button bug. Second click is now "Exit WhatFont"
User reviews
Extension files
Browse and explore files within this extension package
Gain full insight into all external connections.
Upgrade for full visibility.
URLs
View the external URLs this extension communicates with to understand its network activity and data interactions.
1 high-severity finding in this extension’s code
Every finding is verified by a security analyst. Unlock the code evidence, indicators and version history.
Code Diff
Compare extension code between any two versions.
0 changed files detected
No comparable text files found between these versions.
Gain full insight into all external connections.
Upgrade for full visibility.
Related extensions
Popular in Developer Tools
- GoFullPage - Full Page Screen Capture11,000,000 users
- TouchEn PC보안 확장8,000,000 users
- TrendAI™ Toolbar for Enterprise7,000,000 users
- SentinelOne6,000,000 users
- React Developer Tools5,000,000 users
Store rankings
Where this extension appears in store category, collection and keyword rankings.