T09 · Insecure Skill Coding Practices
- Location
SKILL.md:16- Finding
Unsafe Processing and Duplication of Sensitive Environment Files
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent documentation translator, but it under-scopes sensitive file and URL handling enough that users should review it before installing.
Review before installing. Do not use folder mode on repositories or directories that may contain `.env`, credentials, private keys, or hidden configuration files, and avoid URL mode for internal systems or URLs containing tokens. Expect translated files to be created in the workspace.
SKILL.md:16Unsafe Processing and Duplication of Sensitive Environment Files
SKILL.md:16Unrestricted Arbitrary URL Retrieval
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
Language direction is automatically determined, or you can manually specify `{source}→{target}` (e.g., `zh→en`).
## Output Rules
All output is written to the workspace root directory:
The skill explicitly states that it writes translated output to the workspace root directory, but it does not prominently warn users about file-creation side effects or possible overwrites/clutter. This can lead to unintended persistence of sensitive translated content or unexpected modification of the workspace during normal use.
The skill accepts URLs and 'fetches then translates' content without any explicit privacy or network warning. Users may unknowingly cause outbound requests that expose internal URLs, tokens in query strings, or confidential document locations to remote systems.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
| JSON | `.json` | Translate values only; skip non-text fields like `version`/`keywords`/`config`/`scripts`/`dependencies`/`license`/`main` |
| YAML/TOML | `.yaml` `.yml` `.toml` | Translate string values only; preserve keys and structure. For front matter, translate `name`/`description`/`title` but keep field names. |
| HTML | `.html` `.htm` `.xhtml` | Translate text inside `<body>`/`<p>`/`<h1~6>`/`<li>`/`<td>`/`<th>`/`<a>`/`<title>`/`<meta description>`; preserve tag attributes. Do not touch `<code>`, `<pre>`, `<script>`, `<style>`. |
| XML/SVG | `.xml` `.svg` `.plist` | Translate element text content and comments; preserve tags, attributes, namespaces, CDATA. For SVG, translate `<text>` content but preserve font/Aria attributes. |
| RST | `.rst` | Translate body text; preserve heading adornments (`===` `---`), directives (e.g., `.. code-block::`), roles (e.g., `:ref:`), and reference links. |
| AsciiDoc | `.adoc` `.asciidoc` `.ad` | Translate body text; preserve heading markers, block delimiters (`----`), macros (e.g., `include::`), and attributes (e.g., `{name}`). |
| CSV/TSV | `.csv` `.tsv` | Detect header row, translate data cells; preserve delimiters and quotes. |