Back to skill

Security audit

documentation-and-adrs

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation helper skill with some usability and scope caveats, but no evidence of hidden malicious behavior or unsafe execution.

Install only if you want an agent to help maintain technical documentation. Review any proposed changes to README, ADRs, changelogs, comments, CLAUDE.md/rules files, and git commits before accepting them, especially in repositories where agent rules affect future behavior.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 1)May include surrounding context.

md
---
name: documentation-and-adrs
version: 1.0.0
description: "Document decisions and architecture rationale �� capture why, not just what"

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger list contains very broad, common terms such as 'README' and 'documentation', which can cause the skill to activate in many unrelated contexts. This increases the chance that the skill injects its instructions when the user did not intend to use it, leading to prompt-scope confusion and unintended behavioral override.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The skill is written almost entirely in Chinese and does not clearly provide a language-selection mechanism, so it may steer outputs into Chinese regardless of the user's language. This is primarily a safety and usability issue because it can override user expectations and reduce transparency, though it is less severe than direct instruction hijacking.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.