dcg
Audited by Socket on Sep 19, 2026
10 alerts found:
Anomalyx5MalwareSecurityx4This is a Bash Tree-sitter external scanner with no evidence of supply-chain malware, data theft, persistence, command execution, or network exfiltration. It contains a credible memory-safety defect in heredoc delimiter matching and weaker-than-desirable validation of serialized state. The code should be reviewed and patched before parsing attacker-controlled input in a security-sensitive process.
No clear evidence of intentional malware in the shown fragment, but the workflow introduces significant supply-chain/security risks: it executes a remotely fetched `install.ps1` from GitHub raw at runtime via `scriptblock::Create` without visible pinning/signature verification, and it prints `OPENAI_API_KEY` to stdout/logs (`printenv OPENAI_API_KEY | codex login ...`), which can lead to secret disclosure. Additionally, it installs `@openai/codex@latest` without version pinning. These are high-impact CI integrity and credential-safety concerns, even if the underlying dcg tool is benign.
This fragment represents (or documents) an execution-ready, cross-system destructive teardown capability. It includes high-impact mass deletion/purge actions across storage, search (including system indices and broad wildcards), messaging, and CI/CD/code-hosting platforms. While there is no explicit covert malware behavior shown (e.g., exfiltration or reverse shells), the overall operational intent is strongly destructive and could enable sabotage or catastrophic data loss if executed with sufficient privileges. Missing context (whether it is ever executed, how targets are scoped, and what safeguards/permissions exist) prevents certainty, but the risk remains very high.
This fragment is a multi-system command set performing administrative/reconnaissance queries across search engines, message brokers, cloud messaging, and CI/CD. Critically, it includes commands that specifically retrieve sensitive data (e.g., Jenkins credentials, NATS KV api-key, Meilisearch keys, Algolia keys/logs). Although the snippet alone does not show how outputs are handled, the command selection is consistent with credential/key discovery and system reconnaissance rather than normal application behavior. Treat the package as suspicious and review the full repository/package code for how commands are executed and whether results are exfiltrated.
The fragment documents a destructive command that would recursively delete /home/example/project if executed. It does not show credential theft, network exfiltration, persistence, obfuscation, or other malware behavior. The surrounding record indicates that the command was correctly denied. The immediate security risk of executing the command is high because it can cause irreversible data loss.
No classic malware behaviors (exfiltration, backdoors, persistence) are evidenced in the provided fragment, but the package contains extremely destructive Git and filesystem operations that can rewrite remote history and recursively delete workspace/project directories (including an absolute `/home/...` target). In a supply-chain or CI execution context, this represents a high integrity/availability risk consistent with sabotage/DoS potential and should be reviewed, blocked, or heavily gated with strict path validation and non-destructive alternatives.
No clear malware/backdoor/exfiltration behavior is present; the workflow is plain and readable. However, it contains multiple intentionally destructive and integrity-compromising commands (force-push to `main`, `rm -rf`, `psql DROP TABLE`, aggressive Docker prune, and hard reset/clean wipes). If run with adequate permissions or connected services, it could enable sabotage or data loss, so it should be gated/permission-scoped even though it may be intended purely as a scanning fixture.
This script is a high-severity destructive test/fixture artifact. It performs broad filesystem deletions, forceful git operations, Docker pruning/volume deletion, Kubernetes namespace/pod deletion, and irreversible database DROP/TRUNCATE commands. There is no evidence of obfuscated or covert exfiltration/persistence in the shown fragment, but it lacks execution safeguards and would be extremely dangerous if executed outside a tightly controlled test harness. Treat it as a critical operational risk item for any supply-chain context.
This fragment is consistent with an operational migration/cleanup script for Elasticsearch indices, including high-impact destructive steps (deleting an entire index and running a time-based `_delete_by_query`). No clear supply-chain malware indicators (exfiltration, remote C2, obfuscated payloads, backdoors) are present in the shown code. The primary risk is availability/integrity due to the destructive Elasticsearch operations and the potentially misleading “secret rotation” comment (the shown AWS command updates description/metadata rather than demonstrably rotating secret values).
No clear indicators of classic malware (obfuscation, exfiltration, backdoor behavior) are present in this fragment. However, the script performs multiple unconditional, high-impact destructive operations across storage and CI systems (S3/rclone deletes and GitLab/Jenkins deletion of pipelines/jobs). This makes it a significant sabotage/operational security risk if executed with incorrect inputs, against the wrong environment, or under attacker control. Use requires strict access control, strong environment gating, and safeguards (e.g., verifying build/ contents and constraining deletion scopes).