other
Error
- Location
- SKILL.md:1
- Finding
- Obfuscated Binary Content in the Skill Definition<![CDATA[ ## Vulnerability Details **File Location**: `SKILL.md:1-11` **Vulnerability Type**: Binary content obfuscation **Risk Level**: High ### Evidence The file has a Markdown extension but begins with binary data, contains extensive NUL padding, and continues with high-entropy bytes rather than readable Skill instructions. ```text SKILL.md:1: }\x1c<l\x00\x10\x00Vst\x00"KU... SKILL.md:2-11: [high-entropy binary content and non-text bytes] ``` Attempts to read the file as text failed because it could not be decoded. A repository-wide content scan confirmed that all available lines contain opaque binary data rather than valid Markdown. ### Technical Analysis `SKILL.md` is the primary source used to communicate a Skill's instructions and intended behavior. Storing its contents in an opaque binary representation prevents reviewers from validating its goals, safety constraints, tool-use instructions, data-handling behavior, and external interactions. The mismatch between the `.md` extension and the file's actual content constitutes deliberate content obfuscation. A specialized loader or undocumented decoding stage could interpret content that ordinary source-review tools cannot inspect. The concealed payload itself was not recovered, so no specific hidden command, endpoint, or malicious instruction can be asserted. ### Attack Path 1. A user or platform accepts the package based on its apparent Markdown-only structure. 2. Static review tools fail to decode `SKILL.md` and cannot inspect its effective instructions. 3. A specialized package loader or undocumented decoder processes the opaque bytes. 4. Any recovered instructions could then affect agent behavior without having undergone meaningful source review. Steps 3 and 4 are conditional because no decoder or executable component was present in the reviewed artifact. ### Impact Assessment The confirmed impact is loss of auditability and bypass of ordinary text-based security controls. If the content is ...[truncated 300 chars]
- Remediation
- <![CDATA[ ## Remediation Suggestions 1. Replace the file with canonical, plain UTF-8 Markdown containing the complete Skill instructions. 2. Remove NUL padding, binary encoding, encrypted content, compressed payloads, and undocumented transformations. 3. If transformation is genuinely required, document the format and publish the decoder's complete source code for review. 4. Add package validation that rejects `.md` files containing NUL bytes, invalid UTF-8, excessive control characters, or anomalously high-entropy content. 5. Require security review of the decoded canonical content and verify its digest before loading. 6. Fail closed when Skill instructions cannot be decoded as valid UTF-8 Markdown. ]]>
