Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

project-assistant

项目初始化与智能分析工具。当用户要求初始化新项目、分析项目结构、项目问答时使用。触发词:初始化项目、init、分析项目、项目问答。

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 141 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description align with the included code: the repo contains many Python scripts for detection, analyzers, QA document management and Feishu integration and the skill only requires python3. However README/SKILL.md mention Feishu tokens (feishu.doc_token, etc.) and cross-session config storage (config.json) but the skill's declared requirements list no environment variables — the feature is supported via stored config rather than explicit declared env vars. That's plausible but worth calling out because credentials may be stored in config.json rather than passed as env vars.
!
Instruction Scope
SKILL.md instructs the agent to scan a project directory, read and update .claude/project.md, run many local analyzers (detector, cache manager, qa_doc_manager, feishu_doc_manager, env_scanner, call-chain analyzer). Those analyzers can read arbitrary project files (including .env, config files, source) and the env_scanner module is present, which may detect/expose environment variables or secrets. SKILL.md also contains detected unicode-control-chars (prompt-injection) which could be an attempt to influence runtime behavior. The instructions do not explicitly warn users about scanning for secrets or external transmission of generated reports.
Install Mechanism
No install spec (instruction-only) and required runtime is just python3. Code is provided with the skill (many Python scripts) and will be executed locally; there is no suspicious remote download/install mechanism in the manifest.
Credentials
The skill declares no required environment variables (good), but supports storing arbitrary configuration (config.json) and references Feishu integration in README/SKILL.md. Feishu tokens are referenced in docs (feishu.doc_token, etc.) and could be stored in config.json via the config_manager. The ability to store arbitrary custom keys (custom.*) means secrets could be persisted across sessions; this is functionally coherent but sensitive and not made explicit in the top-level requirements.
Persistence & Privilege
always:false (normal). The skill persists configuration to config.json in its baseDir (documented) to enable cross-session settings. It does not request global system modifications or 'always' inclusion. However cross-session stored config can contain tokens/keys — the skill is allowed to persist data within its own directory.
Scan Findings in Context
[unicode-control-chars] unexpected: Unicode control characters were detected inside SKILL.md. This pattern is commonly used in prompt-injection attempts to alter how the agent interprets instructions. Even if accidental, it should be inspected and removed or explained.
What to consider before installing
Before installing or enabling this skill: 1) Inspect SKILL.md, scripts/feishu_doc_manager.py and scripts/analyzers/env_scanner.py to understand what data is read, logged, or transmitted. 2) Be cautious storing any API tokens or secrets: the skill stores config in config.json (cross-session) and supports Feishu tokens — only add tokens if you trust the code and destination. 3) If you plan to run it on sensitive repositories, run it in a sandbox or on a copy without secrets (or remove .env and credentials first). 4) Remove or review any unicode/control characters in SKILL.md (they could be a prompt-injection artifact). 5) If you need guarantees about data exfiltration, require explicit declarations of external endpoints and audit the network behavior of feishu_doc_manager before providing tokens. If you want me to, I can scan the specific files (feishu_doc_manager.py, env_scanner.py, qa_doc_manager.py) and summarize any external network calls, data serialization, or obvious secret-handling code.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk971zdvawxmx8nh2keexed82vx82ps3e

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🚀 Clawdis
Binspython3

SKILL.md

project-assistant

项目全能助手,支持 50+ 项目类型,提供智能问答、文档沉淀、飞书集成。

触发条件

TRIGGER when: 用户询问项目相关问题:

  • "这个项目的架构是什么?"
  • "XXX功能是怎么实现的?"
  • "如何构建/运行这个项目?"
  • "修改XXX会影响什么?"

角色视角

问题类型角色关注点
架构设计架构师系统架构、扩展性
功能实现开发工程师代码逻辑、调试
项目进度项目经理里程碑、风险点
测试质量测试工程师测试用例、覆盖率
部署运维DevOps部署流程、环境配置

命令索引

配置管理

命令说明详细指南
/set-config <key> <value>设置配置项{baseDir}/references/guides/config.md
/get-config <key>获取配置项-
/show-config显示所有配置-
/delete-config <key>删除配置项-

项目初始化

命令说明详细指南
/init [目录] [选项]初始化项目{baseDir}/references/guides/init.md

问答文档

命令说明详细指南
/search-qa <关键词>搜索历史问答{baseDir}/references/guides/qa.md
/list-qa [分类]列出问答文档-
/check-qa检查文档过期-
/delete-qa <id>删除问答文档-

飞书集成

命令说明详细指南
/feishu-report生成更新建议{baseDir}/references/guides/feishu.md
/feishu-status检查同步状态-
/feishu-suggest <file> <type>生成文档建议-

执行流程

Step 1: 确定项目目录

# 读取配置的工作目录
python3 {baseDir}/scripts/config_manager.py {baseDir} get workdir

优先级:命令行参数 > 配置的 workdir > 当前目录

Step 2: 检查项目文档

检查 $PROJECT_DIR/.claude/project.md 是否存在,不存在则调用 /init

Step 3: 智能缓存检查

根据问题类型决定缓存检查策略:

问题类型检查策略原因
LOCATION跳过直接搜索即可
CONFIG快速只检查时间戳
ARCHITECTURE完整需要最新数据
IMPACT强制必须最新
python3 {baseDir}/scripts/utils/cache_manager.py check "$PROJECT_DIR" --quick

Step 4: 搜索历史问答

python3 {baseDir}/scripts/qa_doc_manager.py "$PROJECT_DIR" search "$QUERY"

Step 5: 分析并回答

根据问题意图选择回答策略:

意图关键词格式
LOCATION在哪、哪个文件简洁路径
EXPLAIN怎么实现、原理Markdown详情
MODIFY如何修改步骤指导
IMPACT影响什么影响树

Step 6: 沉淀问答文档

python3 {baseDir}/scripts/qa_doc_manager.py "$PROJECT_DIR" create "$QUESTION" "$ANSWER" "$FILES" "$TAGS"

工具命令

# 配置管理
python3 {baseDir}/scripts/config_manager.py {baseDir} <get|set|delete|show> [args]

# 项目探测
python3 {baseDir}/scripts/detector.py "$PROJECT_DIR"

# 问答文档
python3 {baseDir}/scripts/qa_doc_manager.py "$PROJECT_DIR" <search|list|check|create|delete> [args]

# 飞书集成
python3 {baseDir}/scripts/feishu_doc_manager.py "$PROJECT_DIR" <report|status|suggest> [args]

# 缓存管理
python3 {baseDir}/scripts/utils/cache_manager.py <check|update|clear> "$PROJECT_DIR"

# 调用链分析
python3 {baseDir}/scripts/utils/call_chain_analyzer.py "$PROJECT_DIR" "$FUNCTION" --impact

子模块索引

按需加载详细指南:

模块路径内容
配置管理{baseDir}/references/guides/config.md配置项详细说明
项目初始化{baseDir}/references/guides/init.md初始化流程详解
问答文档{baseDir}/references/guides/qa.md问答功能详解
飞书集成{baseDir}/references/guides/feishu.md飞书协作详解
示例对话{baseDir}/references/guides/examples.md完整示例

项目类型支持

分类类型
嵌入式MCUSTM32, ESP32, Arduino, Pico, Keil, IAR
嵌入式RTOSFreeRTOS, Zephyr, RT-Thread
嵌入式LinuxYocto, Buildroot, OpenWrt, QNX
Android应用, NDK, AOSP
iOSSwift, SwiftUI
Web前端React, Vue, Angular, Svelte, Next.js
Web后端Django, FastAPI, Flask, Spring
桌面应用Qt, Electron, Flutter
系统编程C/C++, Rust, Go

目录结构

project-assistant/
├── SKILL.md                    # 主入口(本文件)
├── scripts/                    # Python 工具脚本
│   ├── config_manager.py       # 配置管理器
│   ├── qa_doc_manager.py       # 问答文档管理器
│   ├── feishu_doc_manager.py   # 飞书文档管理器
│   ├── detector.py             # 项目类型探测器
│   ├── parsers/                # 配置文件解析器
│   ├── analyzers/              # 代码分析器
│   └── utils/                  # 工具函数
├── references/
│   ├── templates/              # 子 Skill 模板
│   └── guides/                 # 详细指南(按需加载)
├── tests/                      # 测试套件
└── README.md

依赖

  • Python 3.6+
  • Git(可选)
  • PyYAML(可选)

许可证

MIT License

Files

66 total
Select a file
Select a file to preview.

Comments

Loading comments…