readability-check

Warn

Audited by Socket on Oct 29, 2026

1 alert found:

Anomaly
AnomalyLOW
hooks/readability_hook.py

This fragment appears to be a guardrail/readability gate rather than explicit malware: it performs local scoring on content and outputs advisory/block decisions. However, it creates a tangible security risk if an attacker can influence payload routing or tool_input.file_path: it may read unintended local files (only suffix-filtered) and then disclose extracted excerpts in stdout JSON (additionalContext/reason). Additionally, it dynamically executes a packaged scorer resource, which could become critical if that file is tampered with in the deployed environment.

Confidence: 70%Severity: 50%
Audit Metadata
Analyzed At
Oct 29, 2026, 07:32 AM
Package URL
pkg:socket/skills-sh/lyndonkl%2Fclaude%2Freadability-check%2F@fbcfca9e410aa9463a4f82695484e5a2a1c5888d7551cc5ad5ce96d3a959b7af