Incomplete referenced artifact analysis
- Category
- analysis-evasion
- Confidence
- 100% confidence
- Finding
Referenced artifact was not completely inspected
- Content
md python3 scripts/verify_layout.py --all # → 扫描 theme/hekouwang*.css(有几套测几套)
Security audit
Security checks for vulnerabilities and agentic risk
ClawScan rates this skill benign with medium confidence: the reported findings mostly look consistent with its Typora theme and checking tools, but one referenced script was only partly analyzed.
The verdict is benign, not a guarantee of safety. Consider whether you trust the skill's source before installing, and keep in mind that one script was only partly analyzed; the scan does not establish that all of its content is safe.
Referenced artifact was not completely inspected
python3 scripts/verify_layout.py --all # → 扫描 theme/hekouwang*.css(有几套测几套)
Referenced artifact was not completely inspected
scripts/verify_layout.py / verify_export_pdf.py / verify_render.py
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
def prop(selector: str, key: str) -> str:
try:
return rules[selector][key]
except KeyError as exc:
raise ValueError(f"{label}: missing {selector} {{{key}}} for contrast audit") from exc
Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
for variant in "${LEGACY_REMOVE[@]}"; do
if [ -f "$THEME_DIR/$variant.css" ]; then
rm -f "$THEME_DIR/$variant.css" 2>/dev/null \
&& ok "removed legacy $variant.css from Themes menu" \
|| warn "could not remove legacy $variant.css"
fi
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
#!/usr/bin/env python3
"""Exercise generated export CSS in A4/A5 PDF fixtures.
This uses the Typora 1.14 print rules relevant to code fences and macOS
tables, then loads a generated theme. Chrome PDF verifies full text, table
pagination, custom margins, and CSS page headers/footers. Typora's native
export dialog still needs a manual check.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
f"--print-to-pdf={pdf_path}", "--no-pdf-header-footer",
html_path.as_uri(),
]
result = subprocess.run(command, capture_output=True, text=True, timeout=90)
if result.returncode or not pdf_path.is_file():
raise RuntimeError(f"Chrome PDF failed: {result.stderr[-800:]}")
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
def pdf_text(pdf_path: Path) -> list[str]:
result = subprocess.run(
["pdftotext", "-layout", str(pdf_path), "-"],
capture_output=True, text=True, check=True,
)
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
def paper_size(pdf_path: Path) -> tuple[float, float]:
info = subprocess.run(
["pdfinfo", str(pdf_path)], capture_output=True, text=True, check=True,
).stdout
match = re.search(r"^Page size:\s*([\d.]+) x ([\d.]+) pts", info, re.M)
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
def first_heading_position(pdf_path: Path, title: str) -> tuple[float, float]:
xml = subprocess.run(
["pdftotext", "-bbox", str(pdf_path), "-"],
capture_output=True, text=True, check=True,
).stdout
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
widest = max(max(500, width * scale) for _k, width, _e, scale in jobs)
with tempfile.TemporaryDirectory(prefix="typora-layout-profile-") as profile:
result = subprocess.run(
[chrome, "--headless", "--disable-gpu", "--incognito",
"--allow-file-access-from-files", f"--user-data-dir={profile}",
"--virtual-time-budget=10000",
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
else:
args += ["--dump-dom"]
args.append("file://" + html_path)
r = subprocess.run(args, capture_output=True, text=True, timeout=90)
shutil.rmtree(tmp, ignore_errors=True)
return r.stdout