Back to skill

Security audit

persona-skill

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed persona-initialization skill that persistently updates scoped persona files when explicitly invoked, with no evidence of hidden network access, credential handling, or deceptive execution.

Install this only if you want an explicitly invoked persona builder that can create or rewrite local persona, memory, identity, and user preference files. Review overwrite confirmations and resulting diffs carefully, especially because the skill intentionally changes persistent agent-behavior files and much of the reference material is Chinese/MBTI-based.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (28)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The declared description describes a persona lifecycle management skill with persistent file rewrites and identity patching tied to explicit persona update requests. The supplied code does none of that. Instead, it implements a command-line MBTI recommendation lookup: it normalizes and validates an MBTI string, loads a JSON index from assets/mbti/mbti-index.json, returns recommendation metadata, and prints it. This is a materially different primary purpose, with unrelated inputs, resources, and behavior. Therefore this is a clear description-behavior mismatch.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

This JSON asset embeds the substantive persona guidance and many labels/taglines in Chinese across the file, while the metadata does not indicate that the skill is China-specific or that users can choose their preferred language. That creates a natural-language locale policy issue because the skill content appears to enforce a specific language by default.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ENFJ.md (reported line 51)May include surrounding context.

md
## 2. 优势

| 优势         | 详细描述                                                                                                                                                    |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **包容**     | ENFJ 有着真正开放和包容的心态,对各种各样的人感兴趣,包括那些背景和信念与他们非常不同的人。他们认为,与多种多样的人沟通对双方都有裨益。                     |
| **可靠**     | ENFJ 认真对待自己的责任。当他们承诺做某事时,他们会跟进。人们往往可以信任他们会信守诺言,保守秘密,并为需要帮助的人出现。                                   |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ENFJ.md (reported line 64)May include surrounding context.

md
## 3. 弱势

| 弱势             | 详细描述                                                                                                                      |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| **过度理想化**   | ENFJ 往往以比实际更积极的眼光看待其他人和情况,这有时意味着他们会惊讶地发现,他们放了很多心在某个实际上并不关心他们的人身上。 |
| **太无私**       | ENFJ 可能很难承认当他们筋疲力尽或需要帮助时。他们感到被迫要照顾他人,以至于在此过程中可能会牺牲自己的需求。                   |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ENFP.md (reported line 66)May include surrounding context.

md
## 3. 弱势

| 弱势             | 详细描述                                                                                                                                |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| **缺乏专注**     | ENFP 喜欢头脑风暴和探索想法,但他们可能发现很难保持专注。他们生动的想象力和好奇心有时会让他们难以忍受完成乏味或重复性的任务。           |
| **不够组织化**   | 对于 ENFP 来说,与他人联系比检查待办事项列表更重要——他们不总是最有条理的人。他们在截止日期和细节上可能会挣扎,尤其当他们不感兴趣时。    |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ENFP.md (reported line 53)May include surrounding context.

md
## 2. 优势

| 优势                 | 详细描述                                                                                                                                    |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **知识渊博**         | ENTP 很少放弃学习新事物的好机会,尤其是抽象概念。这些信息通常不用于任何有计划的目的——他们只是觉得它很吸引人。广博的知识库是他们辩论的底气。 |
| **思维敏捷**         | 头脑极为灵活,能毫不费力地从一个想法转换到另一个,利用积累的知识来证明他们认为合适的任何观点——或者对手的观点。                              |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ENTP.md (reported line 53)May include surrounding context.

md
## 2. 优势

| 优势                 | 详细描述                                                                                                                                    |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| **知识渊博**         | ENTP 很少放弃学习新事物的好机会,尤其是抽象概念。这些信息通常不用于任何有计划的目的——他们只是觉得它很吸引人。广博的知识库是他们辩论的底气。 |
| **思维敏捷**         | 头脑极为灵活,能毫不费力地从一个想法转换到另一个,利用积累的知识来证明他们认为合适的任何观点——或者对手的观点。                              |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ENTP.md (reported line 66)May include surrounding context.

md
## 3. 弱势

| 弱势               | 详细描述                                                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| **好斗**           | 以出色的辩论技巧著称,享受思维碰撞的乐趣,但在此过程中可能忽视他人感受,导致交流氛围紧张,甚至烧断重要的关系桥梁。                   |
| **缺乏敏感性**     | 过度强调理性,可能缺乏对他人情感的细腻感知,显得冷漠或过于直接。他们可能将情感推向他人的容忍限度之外。                               |

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

This is a natural-language locale policy constraint that forces a specific language for user-visible output by default. The rule allows language restrictions only when the user is offered a choice or the constraint is clearly justified as region-specific, which is not present here.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ESTJ.md (reported line 51)May include surrounding context.

md
## 2. 优势

| 优势             | 详细描述                                                                                                            |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| **组织能力强**   | ESTJ 重视秩序,这经常在他们组织团队的能力上体现出来。他们不只善于实施计划,还能使任务对所有涉及的人来说都清晰明确。 |
| **诚实直接**     | ESTJ 相信不管情况多么困难,诚实总是最好的策略。他们直接提出批评,而不是用甜言蜜语包裹它,他们期望同样的直接性回报。 |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ESTJ.md (reported line 64)May include surrounding context.

md
## 3. 弱势

| 弱势             | 详细描述                                                                                                    |
| ---------------- | ----------------------------------------------------------------------------------------------------------- |
| **固执**         | ESTJ 有时难以在面对新的证据或情况时放弃旧的方式。他们对于打破传统,哪怕是出于好的理由,可能也有抵触。       |
| **不舒适于创新** | ESTJ 更喜欢用已知的方法,对新的方式持谨慎态度,特别是当它们颠覆了已建立的秩序或传统时。                     |

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The file imposes a hard language lock for all user-visible output unless the user explicitly requests a switch. In an agentic setting, this can improperly constrain higher-priority system or developer instructions, interfere with safety messaging, and create prompt-conflict behavior where the model withholds or misroutes important content because of a persona-layer rule.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

Line L242 states that all user-visible content must use the current locked interview_language unless the user explicitly asks to change it. This imposes a language/locale constraint by default rather than offering the user a choice or opt-in, which matches the policy-violation criterion for forced language behavior.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/INTJ.md (reported line 50)May include surrounding context.

md
## 2. 优势

| 优势         | 详细描述                                                                                                                                                 |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **理性**     | 以思想为傲,几乎任何情况都能成为磨练理性思维的机会。面对最棘手的问题,也能设计出创造性的解决方案,不被情绪左右。                                         |
| **博学**     | 极少有人格类型像建筑师一样致力于形成基于证据的理性观点。他们不凭直觉或半生不熟的假设,而是通过深度研究和分析得出结论,因此在坚持自己立场时有充分的底气。 |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/INTJ.md (reported line 63)May include surrounding context.

md
## 2. 优势

| 优势         | 详细描述                                                                                                                                                 |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **理性**     | 以思想为傲,几乎任何情况都能成为磨练理性思维的机会。面对最棘手的问题,也能设计出创造性的解决方案,不被情绪左右。                                         |
| **博学**     | 极少有人格类型像建筑师一样致力于形成基于证据的理性观点。他们不凭直觉或半生不熟的假设,而是通过深度研究和分析得出结论,因此在坚持自己立场时有充分的底气。 |

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Line L241 imposes a language policy for all user-visible content, requiring use of a pre-locked interview_language rather than offering a fresh user choice at interaction time. This is a natural-language locale constraint and may violate language/locale choice policy because it defaults to a fixed language unless the user opts out.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The file imposes a hard language-boundary rule requiring all user-visible output to remain in a locked interview_language unless the user explicitly requests a switch. In an agent skill, this can override normal user intent handling, conflict with higher-priority system or application policies, and create prompt-level control over response behavior that may degrade safety, transparency, or accessibility.

Content

No source excerpt is available for this finding.

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ISTJ.md (reported line 53)May include surrounding context.

md
## 2. 优势

| 优势         | 详细描述                                                                                                                                       |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| **诚实直接** | ISTJ 是最直接、最不可能扭曲事实的人格类型之一。他们相信对每个人来说,无论情况多么困难,真相都是更好的。                                        |
| **意志坚定** | 一旦 ISTJ 形成了意见,他们会坚守立场,即使在压力下也不会轻易动摇。他们会平静地忽视他人关于这件事应该如何发展的意见,并继续他们认为正确的道路。 |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ISTJ.md (reported line 66)May include surrounding context.

md
## 2. 优势

| 优势             | 详细描述                                                                                                                                        |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **乐观**         | ISTP 一般不花时间在令人担忧的事情上,更喜欢将潜在问题作为有待解决的练习来处理,并且只有在必要时才会担心。                                       |
| **有创造力**     | ISTP 有令人印象深刻的能力将他们的实际经验融入新的想法、解决方案和项目中。他们的修补和创造能力使他们能够以别人没有想到的新颖方式处理问题。       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ISTP.md (reported line 51)May include surrounding context.

md
## 2. 优势

| 优势             | 详细描述                                                                                                                                        |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **乐观**         | ISTP 一般不花时间在令人担忧的事情上,更喜欢将潜在问题作为有待解决的练习来处理,并且只有在必要时才会担心。                                       |
| **有创造力**     | ISTP 有令人印象深刻的能力将他们的实际经验融入新的想法、解决方案和项目中。他们的修补和创造能力使他们能够以别人没有想到的新颖方式处理问题。       |

Whitespace Padding

Medium
Category
Prompt Injection
Confidence
70% confidence
Finding

Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.

Content

Scanner excerpt · references/mbti/ISTP.md (reported line 64)May include surrounding context.

md
## 3. 弱势

| 弱势         | 详细描述                                                                                                                                                                  |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **顽固**     | ISTP 对于他们已经决定要做某件事的方式非常坚定,很少对于为什么他们做决定的解释感兴趣。他们可能不会花时间为他人解释他们的推理,并且可能会对被推入不必要讨论的情况感到沮丧。 |
| **不敏感**   | ISTP 通常专注于手头的任务,可能在回应他人情绪时表现不够灵活和体贴,这在涉及敏感话题或情况时可能是一个问题。                                                               |

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The document title and the entire operational specification are written in Chinese, and the file presents itself as the sole execution standard for the drafting stage. There is no accompanying language-choice mechanism or stated justification that this protocol is intentionally region- or locale-specific, which makes it a natural-language policy concern under the language/locale rule.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

These lines require the skill to determine interview_language automatically and then force all subsequent questions and options to remain in that language. This is a natural-language policy concern because it removes user language choice and does not provide an opt-in or override mechanism.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

Step 4 states that all three candidate names must be English names regardless of user preference. This is a language/locale policy violation because it forces a specific linguistic format without offering alternatives or obtaining consent.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The template explicitly instructs the agent to update continuity files when facts change, which creates authorization pressure toward persistent file modification. In the context of a persona-management skill whose stated purpose includes rewriting multiple files, this is a real safety issue because the template itself does not clearly require explicit per-action user confirmation before modifying project or user files.

Content

No source excerpt is available for this finding.