Back to skill

Security audit

System Inspection

Security checks for vulnerabilities and agentic risk

Overview

This inspection skill is mostly coherent, but it requires automatic persistent writes into private and shared agent memory without clear user control or retention limits.

Review before installing. This skill should be changed or run only in a controlled environment unless you are comfortable with every inspection writing operational summaries into both private and shared agent memory. Prefer making memory writes explicit, append-only, sanitized, and approved, and restrict deep inspection to non-secret health baselines.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • 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
Findings (2)

T02 · Agent Memory Poisoning

Warning
Location
SKILL.md:100
Finding

Mandatory Persistence of Untrusted Inspection Results in Private and Shared Agent Memory

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Note
Location
SKILL.md:53
Finding

Optional Deep Inspection Extends Access into Agent Memory and Configuration

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The file is written entirely in Chinese and prescribes specific Chinese output formats and labels such as 结论 / 原因 / 建议, without indicating that another language may be used on request. This imposes a locale/language constraint without user opt-in, which matches the policy's language-choice concern.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill advertises a low-disturbance inspection/reporting role, but then mandates persistent writes to two memory locations after every run. This expands the skill from read-only monitoring into state-changing behavior, creating unnecessary data modification risk and making the documented purpose misleading.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

Mandatory writes to personal and shared memory stores are not clearly justified by the stated system-inspection purpose, which should primarily collect and report runtime health information. Unnecessary write capability increases the blast radius of the skill by allowing modification of shared operational context, accidental data leakage, or persistent poisoning of future agent behavior.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The instructions explicitly require writing inspection results into memory files without warning that this modifies user/shared data or obtaining any confirmation. This can cause silent alteration of durable context, surprise operators, and propagate incorrect or sensitive operational details into stores later consumed by other components.

Content

No source excerpt is available for this finding.