yao-deepseek-crawler
Audited by Socket on Jul 26, 2026
3 alerts found:
Anomalyx3No clear evidence of embedded malware (no network exfiltration, crypto-mining, or backdoor logic in this fragment). The main supply-chain/security risk is behavioral: it spawns a Node process that runs options.crawlerScript and forwards the entire process.env plus untrusted prompt/target strings as command-line args. If attackers can control CLI options or input question content, this module can be leveraged for arbitrary local script execution and secret exposure to the spawned child.
No clear evidence of explicit malware (e.g., reverse shell, cryptomining, hardcoded credential theft, or direct exfiltration endpoints) appears in the provided fragment. The main security concern is structural: the module performs dynamic JavaScript execution in a browser context via an opencli 'eval' adapter using a constructed code string, and it relies on parsing untrusted stdout/stderr for verification and persistence. Additionally, it forwards the entire process environment to the child process, which can broaden impact if opencli or its dependencies leak or mishandle inherited secrets. This code is best treated as a high-importance automation component requiring strict escaping/sanitization in the eval-script construction (not shown) and careful handling of output destinations and child-process logging.
This module acts as a runtime installer/launcher for a remotely downloaded browser extension. It writes and unzips an unverified GitHub release asset, patches the extension’s background script, and then loads the extension in a real browser profile with remote debugging enabled. No explicit malicious payload is visible in the fragment itself, but the supply-chain/integrity risk is significant because the fetched artifact’s code will execute in the browser extension context, and the debugging port can increase the impact of any tampering. Additionally, pkill -f uses a CLI-controlled pattern, which can cause unintended process termination.