Description-Behavior Mismatch
Medium
- Confidence
- 93% confidence
- Finding
- The installer offers to recursively delete the entire source directory with `rm -rf "$OPC_SKILLS_DIR"` based on a weak safety check that only compares it against the current working directory. That behavior is broader than necessary for installing a skill and can cause unintended data loss if the package is unpacked in a shared or important location, especially since `SOURCE_DIR` is script-location derived rather than constrained to a dedicated temp directory.
