connect-ai-manage

Warn

Audited by Socket on Sep 22, 2026

5 alerts found:

SecurityAnomalyx4
SecurityMEDIUM
scripts/connect-cli.mjs

The code appears to be a legitimate CData Connect AI administrative CLI, not malware. The principal security issue is that --host can redirect authenticated API requests, including the Bearer token, to an arbitrary server. Missing OAuth state validation and the deliberate raw/administrative API capabilities are additional risks. The provided fragment also appears syntactically broken in api() and references an undefined json variable. Use only with a trusted host, restrict or validate API_BASE, and add strict OAuth state validation.

Confidence: 98%Severity: 72%
AnomalyLOW
references/drivers/salesforce.md

The fragment implements Salesforce connection setup and OAuth handling rather than demonstrating clear malware. It legitimately handles highly sensitive credentials and tokens, but the localhost form uses permissive CORS and an unauthenticated HTTP endpoint, while the temporary HTML file and token persistence require careful protection. The code should be reviewed and hardened before use, especially by restricting CORS, authenticating or randomizing the local endpoint, using secure temporary-file handling, validating inputs, and minimizing token exposure. The assessment is limited because the actual connection API calls and header construction are not fully included.

Confidence: 94%Severity: 62%
AnomalyLOW
references/drivers/excel-online.md

The fragment documents a legitimate-looking ExcelOnline OAuth and connection-management workflow. It does not contain clear malware, destructive behavior, or hidden code execution. However, it handles authorization codes, access tokens, refresh tokens, and service-principal credentials, and requests broad Microsoft Graph permissions. Authorization URLs and tokens must not be shared with an untrusted chat or logged, and the requested scopes should be reduced to the minimum required. Trust in cloud.cdata.com and its token storage is required.

Confidence: 94%Severity: 67%
AnomalyLOW
references/drivers/microsoft-teams.md

The fragment describes a legitimate-looking Microsoft Teams connector provisioning workflow rather than malware. It does handle and persist highly sensitive OAuth tokens and optionally client secrets through cloud.cdata.com. The code lacks validation and exposes credentials in PowerShell variables and HTTP bodies, so it should be used only with verified CData endpoints, protected headers, secure logging, and careful secret handling. No direct evidence of data theft, persistence, sabotage, or unauthorized execution is present in the supplied fragment.

Confidence: 91%Severity: 62%
AnomalyLOW
references/drivers/generic.md

The fragment appears intended to support CData driver configuration rather than to implement malware. It does not show credential exfiltration, persistence, reverse-shell behavior, or destructive actions. However, its local credential collection design is insecure: it exposes an unauthenticated localhost endpoint with wildcard CORS, stores credentials as plaintext strings, leaves a temporary HTML file, and performs unescaped HTML interpolation. These issues warrant security review before use, particularly on systems where untrusted local web content or processes may be present.

Confidence: 96%Severity: 62%
Audit Metadata
Analyzed At
Sep 22, 2026, 07:28 AM
Package URL
pkg:socket/skills-sh/cdatasoftware%2Fconnect-ai-skills%2Fconnect-ai-manage%2F@be7035437304c609a62917d2472ada4117f083f81a4f517483fdffb0a4e595c6