Back to skill

Security audit

Project Brief Writer

Security checks for vulnerabilities and agentic risk

Overview

The skill mainly behaves like a project-brief writer, but its bundled script contains under-disclosed local audit and secret-pattern scanning modes outside that purpose.

Review before installing if you only want a narrow brief-writing skill. In the published configuration it generates structured Markdown from user-provided material, but the bundled script also contains broader local audit and secret-pattern scanning code that should not be enabled or used on private directories without explicit user intent and careful scoping.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (16)

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

声明描述的是一个面向需求整理和项目任务书生成的工具,这与代码中的 structured_brief 模式部分吻合。但实际代码的核心行为由 spec.json 的 mode 决定,支持 directory_audit、csv_audit、pattern_audit、skill_audit 等多种审计/扫描能力。这些能力明显超出并偏离了“整理需求/会议内容为项目任务书、边界、验收标准和风险清单”的声明范围,且涉及本地文件系统遍历、内容读取、模式匹配和技能包规范检查等未声明功能。因此描述未准确覆盖代码实际能力,存在实质性不匹配。

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The regex-based pattern scanner searches arbitrary files for secrets, private URLs, and risky shell constructs, which is not justified by the skill's project-brief authoring purpose. Even though matches are truncated or partially masked, the tool still reads and reports sensitive content from local files, creating an unnecessary data exposure path and covert repo-scanning capability.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The dispatcher enables multiple operational modes—directory audit, CSV audit, pattern scan, and skill audit—that materially exceed the stated purpose of a project-brief writer. This broadens the skill into a local filesystem inspection tool, increasing the chance that users invoke it on sensitive repositories or data and receive extracted structural or secret-adjacent output unrelated to the declared workflow.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger examples are broad and do not clearly state exclusion criteria or narrow activation conditions, which can cause the skill to be invoked for loosely related requests. In an agent setting, ambiguous routing increases the chance of unintended processing of user content, including sensitive project material, under the wrong workflow.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill exposes operational capabilities implying file read/write and shell execution, but it does not declare an explicit tool scope such as permissions or allowed-tools. This creates a governance gap: reviewers and runtimes may underestimate what the skill can access or execute, increasing the chance of unintended command execution or file modification through prompt-driven behavior.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The documentation claims the skill is default read-only and should favor review or dry-run output, yet it explicitly permits shell/exec via a local Python script. That inconsistency can mislead operators into trusting the skill as non-executing while it still has an execution path, which expands the attack surface for prompt-influenced local command use.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The entire example output is written in Chinese and presents a fixed-language template, but the file does not indicate that language choice is optional or limited to a justified Chinese-language context. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The title, category label, summary, examples, and risk text are all presented in Chinese, indicating a fixed language/locale for the skill. The file does not offer a language choice or explain that the skill is intended only for a Chinese-speaking or region-specific context, which violates the language/locale policy criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The template content is entirely in Chinese and the title indicates a fixed output template for the skill, which implies a language constraint on generated content. The file does not offer a language choice or document that the skill is intentionally limited to Chinese for a justified regional or compliance reason.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The generated report strings are written in Chinese literals such as '结果', '摘要', and '下一步', which forces a specific language for user-facing output. The file does not offer a language/locale option or document that the skill is intentionally region-specific, so this is a natural-language policy violation under the locale-choice rule.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

Directory enumeration and skill-package auditing functions inspect local files, summarize directory contents, and extract Markdown headings from sampled files, none of which are necessary to convert notes into a project brief. In this context, they create unnecessary visibility into repository structure and content, which can leak sensitive project names, filenames, or embedded text to the output.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The directory report uses Chinese-only headings and guidance such as '扫描报告', '目录概览', and '给出人工审阅意见'. Because these are user-visible outputs and there is no opt-in or locale configuration, the script imposes a single language across another major code path.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The CSV reporting path presents headings and guidance in Chinese, including '数据报告' and '字段概览', and similarly the skill audit path uses Chinese status text. This creates a forced locale experience without providing the user a choice or explaining a justified locale limitation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The markdown content is entirely written in Chinese and specifies expected output sections in Chinese, which indicates a language constraint for using or validating the skill. There is no visible opt-in, alternative language option, or justification that this skill is intentionally limited to a Chinese-language or region-specific context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

SQP-3 适用于所有文件类型。该技能说明全文以中文呈现,技能名称与各节标题也均固定为中文,但未声明支持用户选择语言,也未说明这是特定区域或合规场景限定,存在语言/locale 策略约束未显式 opt-in 的问题。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The file's headings and instructions are entirely in Chinese, which can impose a specific language on users without any stated opt-in or justification. Under the policy rule for natural-language violations, forcing a language or locale without user choice is reportable.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.