Ae1
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md | 文档与理论文本 | 本 `SKILL.md`、`README.md`、其中「理论依据」段与一切理论表述 | **不在 MIT 覆盖范围内**:保留所有权利(All rights reserved) |
Security audit
Security checks for vulnerabilities and agentic risk
This is a coherent local RAG evaluation skill with purpose-aligned scripts and no evidence of hidden exfiltration, persistence, or destructive behavior.
Before installing or running, review the knowledge-base path you provide because its contents will be embedded through your local Ollama service and written into local evaluation reports. Treat suite_registry.json and referenced scripts as trusted code, and avoid running the suite after editing the registry unless you intend those scripts to execute.
Referenced artifact was not completely inspected
| 文档与理论文本 | 本 `SKILL.md`、`README.md`、其中「理论依据」段与一切理论表述 | **不在 MIT 覆盖范围内**:保留所有权利(All rights reserved) |
Referenced artifact was not completely inspected
| 文档与理论文本 | 本 `SKILL.md`、`README.md`、其中「理论依据」段与一切理论表述 | **不在 MIT 覆盖范围内**:保留所有权利(All rights reserved) |
The skill uses 'shell' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.
The skill uses 'env' capability that is not listed in its permissions. This may indicate deceptive intent or missing permission declarations.
File contents flow to a network sink. This may indicate data exfiltration of sensitive files.
OLLAMA + "/api/embed",
data=json.dumps({"model": EMBED_MODEL, "input": text}).encode(),
headers={"Content-Type": "application/json"})
with urllib.request.urlopen(req, timeout=60) as r:
return json.loads(r.read())["embeddings"][0]
def cosine(a, b):
The file begins with a Chinese-only scope notice that defines important licensing limitations, while the rest of the license text is in English. This creates a language/locale policy concern because essential usage terms are conveyed in a specific language without offering an explicit language choice or stating a justified region-specific constraint.
The natural-language instructions and user-facing descriptions are entirely presented in Chinese, including usage and output descriptions, with no indication that language is configurable or user-selectable. Under the policy, forcing a specific language without user opt-in can be a locale-policy violation unless clearly justified as region-specific.
Dynamic import() can load arbitrary modules at runtime, bypassing static analysis and potentially importing malicious code.
result = {
"skill": "rag-eval-harness",
"version": "1.1.0",
"timestamp_local": __import__("datetime").datetime.now().isoformat(timespec="seconds"),
"scope": "本地闭环 · 零真实凭据 · 可重复",
"dimensions": dims,
"overall": round(overall, 2),
The harness executes module scripts defined in suite_registry.json with the current Python interpreter, so anyone who can alter the registry or referenced script files can cause arbitrary code execution when the suite runs. In an evaluation framework this may be expected functionality, but it still creates a real trust-boundary risk if registry contents are not tightly controlled because the harness treats configuration as executable authority.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
return {"module_id": mod["id"], "status": "error", "error": f"脚本不存在: {script}"}
print(f"\n>>> 运行模块 [{mod['id']}] {mod['name']}")
try:
r = subprocess.run([PY, script], cwd=script_dir,
capture_output=True, text=True, timeout=300)
except Exception as e:
return {"module_id": mod["id"], "status": "error", "error": str(e)}
The suite name and description are entirely specified in Chinese, with no indication that language choice is configurable or that the registry is intentionally limited to a Chinese-language environment. The policy for this audit flags language or locale constraints when a skill appears to force a specific language without user opt-in or clear justification.
This file hardcodes its natural-language instructions and status messages in Chinese, starting with the top-level docstring. Because the script does not offer any locale selection or explain a justified region-specific constraint, it enforces a specific language without user opt-in.
The script writes security_results.json to disk automatically in the target directory without prior confirmation, which can overwrite an existing file or create artifacts the user did not expect. In this skill's local, non-privileged context the risk is limited, but silent file writes are still a real safety issue because they modify the filesystem without explicit consent.
The module docstring is entirely in Chinese and presents the skill behavior in a single fixed language. Under the policy, forcing a specific language without user opt-in or a documented regional justification is a natural-language policy concern.
This file contains multiple user-visible labels entirely in Chinese, including the title and legend text, with no indication that the skill is region-specific or that another language is available. Under the policy, forcing a specific language without user opt-in is a natural-language locale violation.
This JSON file contains user-facing natural-language values such as scope, dimension names, and notes exclusively in Chinese. Under the policy rule for language/locale, forcing a specific language without opt-in or justification is a natural-language policy concern.