Back to skill

Security audit

Project Doc Analyst

Security checks for vulnerabilities and agentic risk

Overview

This skill is a repository documentation assistant that asks to inspect a user-specified project and generate docs, with no hidden execution, credential use, or persistence found.

Before installing, be aware that this skill is designed to read a substantial portion of a repository and create self-contained documentation. Use it on codebases you are comfortable documenting, choose an appropriate output directory, and review generated docs for sensitive implementation details before sharing them.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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 (3)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger list includes broad, generic phrases such as '生成文档', '代码分析', and '项目总览' that can match many ordinary requests unrelated to this specific skill. This increases the chance of unintended activation, which can cause the agent to apply repository-wide analysis behavior in the wrong context, consume excessive context/tokens, and override more appropriate specialized skills.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

Defaulting to Chinese when the user's language is unclear imposes a language choice without explicit consent. While not a classic security flaw, it can degrade usability, cause misunderstanding of analysis results, and create operational risk if users misinterpret documentation or prompts due to unexpected language selection.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The English section does not provide equivalent full instructions; instead, it tells users to read the Chinese section and translate it if needed. This effectively privileges one language and may disadvantage users who did not opt into Chinese-centric behavior.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.