delegate-x-research
Audited by Socket on Sep 17, 2026
6 alerts found:
Securityx3Anomalyx3The code appears to be a legitimate Codex delegation wrapper rather than embedded malware. It contains no direct malicious payload or explicit exfiltration behavior. However, it presents a significant security risk because it defaults to danger-full-access, copies an authentication token into the worker environment, trusts request and repository instruction content, and invokes npx. Use of untrusted requests, repository content, models, or path values could result in unauthorized commands or file changes. Restrict the sandbox, avoid exposing auth.json where possible, validate paths and response JSON, and pin or explicitly install md2idx.
The fragment is a legitimate agent-delegation wrapper and contains no direct evidence of malware, credential theft, exfiltration, persistence, or destructive behavior. Its significant security concern is architectural: it runs an external agent with --trust and --force from the repository root, relying on prompt-level restrictions and potentially untrusted request/instruction content. Use only with trusted inputs and consider enforcing task permissions outside the prompt.
This is an agent-invocation wrapper, not clear malware. It delegates request processing and web research to Grok and permits the child process to run with `bypassPermissions` by default, use the repository working directory, and invoke `npx`, creating a meaningful supply-chain and authorization risk. The file contains no direct credential theft, persistence, destructive behavior, hardcoded malicious endpoint, or obfuscated payload. Permission restrictions, pinned tooling, input/path validation, and response schema validation should be added before use with untrusted requests.
This is a privileged Devin task-launching wrapper. It does not itself show clear malware indicators, but it creates a substantial security boundary risk because untrusted request data and repository instructions influence a Devin process started with --permission-mode dangerous. Caller-controlled output paths and lack of scope restrictions further increase impact if this script is reachable by untrusted users or invoked on attacker-controlled repositories. Use only with trusted inputs, isolated execution, and validated paths and helper binaries.
The code appears to be a legitimate response-building utility and contains no direct evidence of malware or intentional data theft. Its use of `npx --yes md2idx` without a pinned version or integrity verification is a notable software supply-chain risk because it executes registry-provided code during operation. Arbitrary path arguments and the metrics environment variable can also cause unintended filesystem writes if controlled by an untrusted caller. Review or replace the runtime npx invocation with a pinned, verified dependency and validate output paths.
This is an orchestration wrapper rather than evident malware. It contains a significant security risk because it launches Claude with --dangerously-skip-permissions and may grant broad or command-execution capabilities based on task type and untrusted request or repository instructions. The fragment shows no direct data theft, persistence, or malicious network behavior, but callers should strictly validate inputs, constrain tools for every task type, isolate the working directory, and treat request and repository instructions as untrusted.