T09 · Insecure Skill Coding Practices
- Location
scripts/ocr.py:100- Finding
Undisclosed transmission of sensitive prenatal reports to a third-party OCR service
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is a coherent pregnancy assistant, but it under-discloses sensitive health-data retention and third-party OCR processing.
Review this skill before installing if you may upload prenatal reports or discuss sensitive pregnancy details. Use it only if you are comfortable with possible cross-session remembering for reminders/letters and with OCR documents being processed by Tencent Cloud; avoid uploading identifying information unless the agent asks for clear consent and explains retention.
scripts/ocr.py:100Undisclosed transmission of sensitive prenatal reports to a third-party OCR service
scripts/ocr.py:88Unpinned Tencent Cloud SDK installation instruction
Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.
The skill advertises narrowly scoped pregnancy support but the analysis indicates behavior consistent with general OCR and external cloud OCR use with secret-backed processing that is not declared to users. That mismatch can cause users to submit highly sensitive medical documents under false assumptions about purpose, handling, and destination of their data.
The trigger set includes broad everyday pregnancy-related terms that can activate the skill unintentionally in unrelated conversations. In a health context, accidental invocation can lead to unsolicited collection or inference of sensitive reproductive and medical information.
These instructions direct the assistant to silently maintain pregnancy week, dates, checkup schedules, and monthly letter state across interactions. Silent retention of reproductive health data is especially sensitive and can expose users to privacy harms if accessed, misrouted, or surfaced unexpectedly.
The skill explicitly tells the assistant to remember detailed medical results, emotional highs/lows, naming choices, family participation, and body changes for later use. Retaining this breadth of intimate data without clear consent or strict minimization is a substantial privacy vulnerability, amplified by the later contradictory claim that sensitive data is used only in the current conversation.
The privacy section says prenatal reports and sensitive information are used only in the current conversation, but earlier instructions require ongoing collection, reminder-state tracking, and saving monthly letter material across time. This contradiction is dangerous because users may disclose sensitive health and emotional data believing it is ephemeral when the design expects persistence.
The README advertises photo upload for OCR interpretation of prenatal reports and browser notifications, but does not mention how sensitive medical images, extracted health data, or reminder metadata are handled. Because this skill operates on pregnancy and prenatal test information, omitted privacy disclosures increase the risk of users sharing highly sensitive medical data without informed consent.
The trigger examples include very common phrases such as '我怀孕了', '今天吃什么好', and '宝宝现在多大了', which could cause the skill to activate in broad conversational contexts where the user did not intend to invoke this specific capability. In a pregnancy-focused skill, unintended invocation is more concerning because it may steer sensitive health, diet, or emotional-support conversations into this skill without clear user intent.
Without declared permissions the skill's intent is opaque and cannot be validated.
The skill instructs proactive collection and reuse of sensitive pregnancy data, emotional disclosures, and medical events for reminders and letter generation, but does not present a clear user-facing consent flow at the point of collection. Because pregnancy and health data are highly sensitive, silent background profiling materially increases privacy and trust risk.
The entire conversation example set is written as if the skill operates in Chinese only, and there is no natural-language indication that users may choose another language or that the skill is intentionally limited to a Chinese-speaking audience. Under the policy rule, a fixed language/locale without opt-in is a natural-language policy concern.
Suspicious Unicode normalization or mixed-script content
This file provides extensive week-by-week pregnancy and fetal development guidance, symptom expectations, and testing milestones, but it does not clearly state that the material is informational only and not a substitute for individualized medical advice. In a health-related skill aimed at pregnant users, omission of a prominent medical disclaimer can cause users to over-rely on generalized content, delay care, or dismiss concerning symptoms as normal variation.
This markdown file contains user-facing instructional content exclusively in Chinese from start to finish. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation when no alternative language option or justification is provided.
The file presents all user-facing guidance and example reminder text exclusively in Chinese, and does not offer any language or locale opt-in. Under the policy, forcing a specific language without user choice is a natural-language policy violation unless the locale restriction is clearly documented and justified.
The manifest describes a pregnancy companion focused on prenatal report interpretation, food safety, nutrition, timelines, and emotional support. This file implements a standalone general-purpose OCR client for arbitrary images/PDFs, which is a reusable capability not justified by the stated pregnancy-specific scope on its own.
The script sends user-supplied images or PDFs to Tencent Cloud OCR, which may include sensitive medical records from pregnant users, without any explicit consent notice, privacy disclosure, or transmission warning in the tool itself. In this skill context, the data is likely health-related and therefore more sensitive, making silent third-party transmission a meaningful privacy and compliance risk.
Overly Broad Trigger: '怀孕' is too short and may match unintended inputs
Overly Broad Trigger: '孕期' is too short and may match unintended inputs
Overly Broad Trigger: '产检' is too short and may match unintended inputs
Overly Broad Trigger: 'B超' is too short and may match unintended inputs
Overly Broad Trigger: '宝宝' is too short and may match unintended inputs
Overly Broad Trigger: '孕妈' is too short and may match unintended inputs
Overly Broad Trigger: '待产' is too short and may match unintended inputs
Overly Broad Trigger: '孕吐' is too short and may match unintended inputs