Alibabacloud Bailian Rag Knowledgebase

Security checks across malware telemetry and agentic risk

Overview

The skill mostly matches its Alibaba Cloud knowledge-base retrieval purpose, but it asks for local cloud credentials and a full-access Bailian policy that is broader than the read/retrieve behavior shown.

Install only if you are comfortable connecting the agent to Alibaba Cloud. Use a least-privilege RAM user instead of broad FullAccess where possible, verify the missing package manifest/dependencies before running npm install, and treat retrieved knowledge-base text as untrusted data rather than agent instructions.

VirusTotal

VirusTotal findings are pending for this skill version.

View on VirusTotal

Risk analysis

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

#
ASI03: Identity and Privilege Abuse
Medium
What this means

A user may grant this skill's credential more cloud authority than is necessary for knowledge-base retrieval.

Why it was flagged

The skill uses local Alibaba Cloud credentials and asks the user to grant a full Bailian access policy, which exceeds the read/list/retrieve behavior shown in the scripts.

Skill content
SDK will automatically read credential configuration from `~/.aliyun/config.json` or `~/.acs/credentials` ... select **AliyunBailianFullAccess** and **AliyunModelStudioReadOnlyAccess**
Recommendation

Prefer a least-privilege RAM policy limited to workspace listing, knowledge-base listing, and retrieval actions where possible, and avoid using high-privilege Alibaba Cloud credentials.

#
ASI04: Agentic Supply Chain Vulnerabilities
Low
What this means

Dependency installation may be ambiguous or fail, and users cannot verify the intended pinned dependency set from the provided artifacts.

Why it was flagged

SKILL.md instructs `npm install` and refers to dependencies defined in package.json, but package.json is not present in the provided manifest.

Skill content
6 file(s): SKILL.md, references/ram-policies.md, scripts/check_env.js, scripts/list_indices.js, scripts/list_workspace.js, scripts/retrieve.js
Recommendation

Verify the package manifest and exact dependency versions before running npm install, and run setup only in the intended skill directory.

#
ASI05: Unexpected Code Execution
Low
What this means

The skill can execute a local npm command during environment checking.

Why it was flagged

The environment checker invokes a shell command, but the command argument comes from a hardcoded package list rather than user input.

Skill content
execSync(`npm list ${pkg}`, { stdio: 'pipe' });
Recommendation

Run the check only from a trusted local directory and review local npm configuration if concerned.

#
ASI06: Memory and Context Poisoning
Low
What this means

Private knowledge-base content may be exposed in the conversation, and retrieved text should not be treated as trusted instructions.

Why it was flagged

Retrieved knowledge-base text is returned into the agent/user context, which is expected for a RAG tool but may include sensitive or instruction-like document content.

Skill content
chunks: nodes.map(n => ({ content: n.text, score: n.score, doc_name: n.metadata?.doc_name || '', title: n.metadata?.title || '' }))
Recommendation

Use this only with knowledge bases the user is allowed to query, and treat retrieved passages as data rather than commands for the agent to follow.