byted-security-llmscanner

Warn

Audited by Socket on Sep 21, 2026

9 alerts found:

Anomalyx8Security
AnomalyLOW
SKILL.md

总体更像是用途一致的测评集成技能,而非明显恶意内容;但存在中等风险,主要来自命令行明文凭证传递、未固定的 npx 依赖执行,以及示例远程端点缺少公开可验证的官方归属。结论为 SUSPICIOUS 而非 MALICIOUS。

Confidence: 86%Severity: 58%
AnomalyLOW
scripts/src/update_asset_model.ts

The code appears to be a legitimate asset-update CLI rather than malware. It does not contain obfuscation, data theft routines, command execution, persistence, or suspicious network destinations. However, rejectUnauthorized:false disables TLS certificate validation for authenticated requests carrying bearer tokens and an API key, creating a significant man-in-the-middle and credential-disclosure risk. The service configuration must be trusted, and certificate validation should be enabled.

Confidence: 97%Severity: 67%
AnomalyLOW
scripts/src/create_asset_model.ts

The code implements an ordinary asset-registration CLI and contains no clear evidence of malware, exfiltration to a hardcoded suspicious destination, persistence, or code injection. The main security issue is disabling HTTPS certificate validation, which can expose the bearer token and model API key to man-in-the-middle attacks. Command-line handling of the API key also creates local credential-exposure risk. The configured endpoint and imported helpers should be reviewed separately.

Confidence: 97%Severity: 62%
SecurityMEDIUM
scripts/src/run_analysis.ts

The fragment is a task-status and result-analysis CLI, not apparent malware. It contains a significant command-injection risk because the user-controlled task ID is interpolated into a shell command. It also disables TLS certificate validation for authenticated API requests, creating a transport security weakness. Validate task IDs, avoid shell interpolation by using `execFile` or `spawn`, and enable certificate verification.

Confidence: 98%Severity: 78%
AnomalyLOW
scripts/src/create_asset_agent.ts

The code is a readable CLI client for creating an agent asset through a configured API. It does not show malicious behavior. The primary security risk is disabling HTTPS certificate validation, which permits man-in-the-middle attacks and could expose the bearer token and request contents. Logging arbitrary ChatVars can also disclose secrets, and retrying a creation request may cause duplicate assets if the operation is not idempotent.

Confidence: 97%Severity: 55%
AnomalyLOW
scripts/src/common.ts

No clear evidence of intentional malware or supply-chain backdoor behavior is present. The primary security concerns are disabled TLS certificate validation, plaintext token caching, and potentially unsafe path construction/deletion when taskId or cacheFile is externally controlled. Restrict TLS verification, protect cache files, validate task IDs, and constrain deletions to DATA_DIR.

Confidence: 98%Severity: 68%
AnomalyLOW
scripts/src/update_asset_agent.ts

The code appears to be a legitimate API update utility and does not provide clear evidence of malware or intentional malicious behavior. The primary security issue is disabling TLS certificate verification while sending a bearer token, which permits man-in-the-middle interception. Plaintext logging of ChatVars and complete error responses may also disclose secrets. The risk depends on the integrity of loadConfig() and getToken(), which are not included.

Confidence: 97%Severity: 68%
AnomalyLOW
scripts/src/create_task.ts

The fragment is a straightforward authenticated API client for creating evaluation tasks. It does not show malicious behavior, data exfiltration beyond the intended API request, code injection, or persistence. The primary security issue is disabling TLS certificate verification, which creates a significant man-in-the-middle risk and may expose the bearer token. Review loadConfig() and getToken() separately because their implementations are not included.

Confidence: 98%Severity: 62%
AnomalyLOW
scripts/src/list_agent_platforms.ts

The code appears to be a legitimate API-query CLI utility and contains no clear malware indicators. However, setting rejectUnauthorized to false for both HTTPS requests disables certificate validation and creates a meaningful man-in-the-middle and bearer-token exposure risk. The configured host should also be validated and TLS verification should be enabled.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 21, 2026, 03:19 PM
Package URL
pkg:socket/skills-sh/bytedance%2Fagentkit-samples%2Fbyted-security-llmscanner%2F@0944ca9c46892a24cebbbe18d2be24e522bfb9c6f10be586aba4148ad1e9d696