semanticfs
该技能为语义搜索工具,但其安装过程使用了高危的 curl|bash 远程脚本执行模式,且未声明 shell 和 network:WRITE 权限,存在明显的供应链风险和权限越权。
SKILL.md 第 40 行引导用户执行 curl -sSfL https://raw.githubusercontent.com/Navneeth08k/semanticFS/main/scripts/install.sh | bash。该模式直接从互联网下载脚本并通过 bash 执行,是经典的供应链攻击向量。若 GitHub 仓库被入侵、域名劫持或 CDN 被污染,AI Agent 将无差别执行恶意代码。无 hash 校验、无版本锁定、无签名验证。
SKILL.md:40 Why this conclusion was reached
3/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 3 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · SKILL.md:1
Escalation · SKILL.md:40
Impact · SKILL.md:40
What drove the risk score up
SKILL.md:40 指导用户执行 curl -sSfL https://raw.githubusercontent.com/Navneeth08k/semanticFS/main/scripts/install.sh | bash,无 hash 校验,无版本锁定,完全依赖 GitHub 仓库完整性
文档未声明需要 shell 执行能力,但安装命令通过 bash 管道执行任意远程脚本
文档未声明网络访问,但实际从外部 URL 下载并执行代码
install.sh 可能下载预编译二进制,无法验证其完整性和来源(可信度未知)
Most important evidence
curl|bash 远程脚本执行(最高危模式)
SKILL.md 第 40 行引导用户执行 curl -sSfL https://raw.githubusercontent.com/Navneeth08k/semanticFS/main/scripts/install.sh | bash。该模式直接从互联网下载脚本并通过 bash 执行,是经典的供应链攻击向量。若 GitHub 仓库被入侵、域名劫持或 CDN 被污染,AI Agent 将无差别执行恶意代码。无 hash 校验、无版本锁定、无签名验证。
SKILL.md:40 未声明 shell:WRITE 权限越权
该技能文档声明为 read-only(文件系统),但安装过程需要通过 bash 管道执行远程脚本。shell:WRITE 权限完全未在 metadata.requires 中声明,违反了最小权限原则。
SKILL.md:40 未声明 network:WRITE 权限越权
该技能文档未声明任何网络写入(发送)能力,但实际从外部 GitHub URL 下载并执行代码,属于 network:WRITE 操作。
SKILL.md:40 install.sh 脚本内容不可审计
install.sh 存放在第三方 GitHub 仓库中,AI Agent 在执行前无法审查其内容。该脚本可能执行以下危险操作:写入计划任务(持久化)、修改 ~/.bashrc、安装后门二进制、收集系统信息等。
SKILL.md:40 Declared capability vs actual capability
SKILL.md:17-18 明确说明 SemanticFS 是 read-only,永不修改文件 SKILL.md:40 curl -sSfL https://... | bash — 从外部 URL 下载并执行代码,属于 network:WRITE SKILL.md:40 使用 | bash 管道执行远程脚本,属于 shell:WRITE,且 SKILL.md 未声明 无相关代码 无相关代码 无相关代码 无相关代码 无相关代码 Suspicious artifacts and egress
curl -sSfL https://raw.githubusercontent.com/Navneeth08k/semanticFS/main/scripts/install.sh | bash SKILL.md:40
Dependencies and supply chain
There are no structured dependency warnings.
File composition
SKILL.md