T09 · Insecure Skill Coding Practices
- Location
references/report-template.md:38- Finding
Unredacted Log Samples May Expose Sensitive Data in Shared Reports
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This log-analysis skill is mostly coherent, but it can handle sensitive log content and reproduce raw samples in reports without clear redaction, scoping, or sharing safeguards.
Review before installing. Use this skill only with explicit log paths and time ranges, avoid broad system-wide log access, redact secrets and personal data before report generation, and do not export or share reports to cloud documents unless you have checked the sanitized content and recipient permissions.
references/report-template.md:38Unredacted Log Samples May Expose Sensitive Data in Shared Reports
The README suggests activating this skill for broad phrases like 'check logs' or 'analyze system operation' without clearly constraining scope, permissions, or context. This can cause unintended invocation on ordinary requests, potentially exposing sensitive log data or triggering analysis/reporting in situations the user did not explicitly intend.
The Chinese usage guidance also uses generic trigger phrases such as '检查日志' and '总结报错' without defining boundaries for what logs, what system, or what authorization is required. As with the English section, this increases the risk of accidental activation and unintended handling of potentially sensitive operational data.
The English trigger conditions are very broad phrases such as 'check logs' and 'analyze system operation', which are likely to match many routine user requests. In an agent environment, overly generic activation criteria can cause unintended skill invocation, expanding access to log-related workflows and potentially exposing sensitive operational data or causing the agent to take actions the user did not explicitly request.
The Chinese trigger conditions are similarly overbroad, including common requests like '检查日志' and '分析系统运行情况' without constraints. Because the skill is bilingual, this increases the chance of accidental activation across more user inputs, which can route ordinary troubleshooting conversations into a log-accessing workflow without sufficient specificity or consent.
The template hard-codes all headings and footer text in both English and Chinese throughout the document. This imposes a specific language/locale format on every generated report without any visible user opt-in or justification that the skill is region-specific.
No suspicious patterns detected.