This Chrome extension code is for "Custom Cursor for Chrome™" by BLife Team LLC, which provides users with a collection of custom mouse cursors and allows uploading their own. The code initializes extension settings, fetches cursor collections from a remote JSON resource, and manages user preferences and cursor packs using Chrome's storage API. It registers content scripts to apply cursor changes on tabs and handles extension lifecycle events such as installation, updates, and startup.
Key API and activities include:
- Network fetch to
https://custom-cursor.com/libs/collections.json to retrieve cursor collections.
- Use of
chrome.storage.local to save and retrieve user settings, collections, favorites, and cursor pack selections.
- Creation of new tabs to a success page on installation.
- Registration and unregistration of content scripts (
content.js) to apply cursor changes.
- Use of Chrome alarms API to manage cursor rotation timing.
- Handling messages from external sources and internal extension components to manage cursor packs and settings.
- Setting an uninstall URL to track uninstalls.
No indications of shell command execution, PowerShell usage, Windows Registry operations, user creation, clipboard access, or other typical malicious behaviors were found. The code is minified and bundled but does not employ advanced obfuscation techniques such as string encryption or control flow flattening.
Example of network fetch:
fetch("/libs/collections.json").then(response => response.json())
Example of storage usage:
chrome.storage.local.set({ ...settings }, callback);
chrome.storage.local.get(callback);
Example of content script registration:
chrome.scripting.registerContentScripts([{ id: "cursor", js: ["content.js"], world: "ISOLATED", matches: ["*://*/*"] }]);