Back to skill

Security audit

尸狗·警觉魄v2.0

Security checks for vulnerabilities and agentic risk

Overview

This security skill is coherent in purpose, but it asks an agent to monitor and respond broadly without clear approval, scope, or rollback safeguards.

Install only if you want a security-analysis skill and are prepared to keep it report-only by default. Before allowing monitoring or response actions, define the exact systems, files, accounts, duration, and tools in scope, and require separate confirmation before blocking activity, locking accounts, quarantining/removing files, or applying repairs.

Vulnerability Patterns
  • 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
  • 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
Findings (1)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:74
Finding

Unbounded Monitoring and Automated Response Instructions

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 74–89; related instructions at lines 103–107 and 194–198
Vulnerability Type: Excessive system monitoring and consequential response actions without mandatory authorization controls
Risk Level: Medium

Vulnerable Content

The following is an English translation of the relevant instructions:

text
### Real-Time Monitoring
- Process monitoring: Detect abnormal process launches
- Network monitoring: Detect suspicious connections
- File monitoring: Detect access to sensitive files
- Resource monitoring: Detect abnormal CPU or memory usage

### Automated Response Playbooks
Playbook 1: Prompt injection
→ Identify → Isolate → Block → Alert → Record

Playbook 2: Abnormal login
→ Identify → Verify → Lock → Notify → Audit

Playbook 3: Malicious file
→ Detect → Isolate → Analyze → Remove → Repair

Related activation and persistence-of-operation language states:

text
User: Enable real-time monitoring
→ Trigger Security Guardian
→ Start threat-monitoring mode

Continuous monitoring: Security is a prolonged effort; monitor 24 hours a day, 7 days a week.

Technical Analysis

The skill directs an agent to monitor processes, network connections, sensitive-file access, and resource utilization. It also defines automated actions including blocking activity, locking accounts, quarantining files, removing files, and performing repairs.

These instructions do not establish:

  • A mandatory authorization check before monitoring begins.
  • A defined target, directory, account, host, or network scope.
  • A least-privilege execution boundary.
  • A dry-run or report-only default.
  • Human approval before account locking, file quarantine, file removal, or remediation.
  • Protected-path and protected-account exclusions.
  • A rollback mechanism for destructive or disruptive actions.
  • A defined monitoring duration or explicit stop cond ...[truncated 2091 chars]
Remediation
View remediation

Remediation Suggestions

  1. Require explicit, informed authorization before starting any monitoring operation.
  2. Require the user to define the exact hosts, accounts, directories, processes, interfaces, data classes, and monitoring duration.
  3. Default to report-only or dry-run behavior. Do not treat a request to monitor as authorization to alter system state.
  4. Require separate, explicit confirmation before blocking activity, locking an account, quarantining or removing a file, or applying repairs.
  5. Run monitoring with a dedicated least-privilege identity and separate read-only detection privileges from response privileges.
  6. Introduce protected-account, protected-process, and protected-path deny lists that automated responses cannot affect.
  7. Require corroborating signals and documented confidence thresholds before proposing consequential actions.
  8. Preserve evidence before remediation and generate an audit record containing the requesting identity, approved scope, observations, decisions, and actions.
  9. Implement reversible quarantine rather than immediate deletion, including integrity metadata, retention limits, and tested restoration procedures.
  10. Add transaction-safe rollback procedures for account and configuration changes.
  11. Define a finite monitoring period, visible status reporting, resource limits, and an immediate stop mechanism.
  12. State clearly that claimed monitoring or remediation must not be reported as active or completed unless the host provides the required tools and verifiable execution evidence.
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)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill advertises automated response and real-time monitoring capabilities without prominent warnings, authorization requirements, or safety gates for system-impacting actions. In security contexts, users may interpret '隔离', '阻断', '锁定', or '启动威胁监控模式' as approval to take disruptive actions, which could lead to unauthorized changes, service interruption, or harmful false positives.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger examples are broad enough that normal user questions like '系统安全吗?' could activate the skill unintentionally, causing security-analysis or monitoring behavior outside the user's precise intent. In a security-focused skill that discusses monitoring and response actions, ambiguous activation increases the risk of overreach, user confusion, and unintended operational recommendations or actions.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The skill description, examples, and output format are entirely presented in Chinese, with no indication that users may request another language or that the locale restriction is intentional and justified. This can violate language/locale policy when a skill implicitly enforces one language without opt-in.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.