markdown-formatter
Fail
Audited by Gen Agent Trust Hub on Aug 19, 2026
Risk Level: HIGHDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The
formatBatchfunction inindex.jsreads files from user-supplied paths and returns their content to the agent. This allows an attacker to read any file the agent has access to, including sensitive configurations or credentials. - Evidence:
index.jslines 343-345 usefs.readFileSync(filePath, 'utf8')and include the results in the function's return object. - [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface by processing external markdown content without sanitization or protective delimiters.
- Ingestion points:
markdownparameter informatMarkdownand file contents informatBatch(index.js). - Boundary markers: Absent; there are no instructions or delimiters used to separate processed content from agent instructions.
- Capability inventory: The skill has local file system read access through the
fsmodule. - Sanitization: Absent; the markdown content is formatted and returned directly without escaping or filtering malicious injection patterns.
Recommendations
- AI detected serious security threats
Audit Metadata