Skill flagged — suspicious patterns detected
ClawHub Security flagged this skill as suspicious. Review the scan results before using.
Microscopy Scale Bar Adder
v1.0.0Add accurate, publication-ready scale bars to microscopy images given pixel-to-unit calibration data.
⭐ 0· 38·0 current·0 all-time
byAIpoch@aipoch-ai
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Suspicious
high confidencePurpose & Capability
Name/description (add calibrated scale bars) match the included script's purpose. No unrelated credentials, binaries, or installs are requested. Minor note: SKILL.md examples and parameter names differ from the script's actual CLI flags, which will confuse users or automation that relies on the documentation.
Instruction Scope
SKILL.md instructs the agent to validate paths and only operate within the workspace and claims to reject absolute/outside paths. The script's check_path_traversal only looks for '../' or a leading '..' and does not block absolute paths (e.g., '/etc/passwd' on Unix or 'C:\...') or perform an allowlist based on a workspace root. SKILL.md also claims to preserve image metadata and supports parameter names like --image/--scale/--unit and position tokens like 'bottomright', whereas the script uses --input/--scale-length/--scale-unit and position values with hyphens ('bottom-right'). These mismatches mean following the SKILL.md could fail or cause unintended file access.
Install Mechanism
No install spec and no network downloads; only a bundled Python script using Pillow. This is low-risk from an installation perspective.
Credentials
No environment variables, credentials, or config paths are requested. The script reads only the provided image file and writes an output file — nothing else is accessed.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or persistent privileges. It does not modify other skills or system-wide settings.
What to consider before installing
This skill appears to implement the advertised functionality (adding calibrated scale bars) and does not request credentials or external installs, but there are important inconsistencies you should address before using it on real data:
- CLI mismatches: SKILL.md uses flags like --image, --scale, --unit and position tokens without hyphens (e.g., 'bottomright'), while the script expects --input, --scale-length, --scale-unit and position values like 'bottom-right'. Update the docs or script so they match.
- Path restriction is incomplete: the script's path traversal check only rejects '../' or leading '..'. It does not prevent absolute paths. If you want to restrict files to a workspace, require resolving to an absolute path and verify it is within an explicit workspace root (use os.path.abspath and compare prefixes). Until fixed, avoid passing absolute paths or run the script in a sandbox with only images you trust.
- Metadata claim: SKILL.md promises to preserve original metadata, but the script converts images to RGBA and then may convert to RGB for JPEG without explicitly preserving EXIF/TIFF tags. If metadata preservation matters, test and patch to copy metadata when saving.
- Font path portability: the script attempts to load /System/Library/Fonts/Helvetica.ttc; this will fail on non-macOS systems (it falls back to a default font, which may affect label appearance). Consider bundling or specifying a portable font path.
Recommendations before installing/using:
- Run the script in a restricted/sandboxed environment first with sample images.
- Fix or reconcile the SKILL.md and the script so parameter names, position tokens, and error messages match.
- Strengthen path validation to enforce that resolved absolute paths lie inside an intended workspace directory, and explicitly reject other absolute paths.
- If you cannot modify the skill, only run it with controlled input files and do not pass absolute paths.
Given these mismatches and the incomplete path protection, treat the skill as suspicious (likely sloppy/buggy rather than malicious). Patching the items above would move it toward benign/coherent.Like a lobster shell, security has layers — review code before you run it.
latestvk976q9ehk4n594h3g9efj2kv3d83q5y7
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
