Back to skill

Security audit

日志压缩器免费版

Security checks for vulnerabilities and agentic risk

Overview

The skill is a log-compression helper, but it asks for execution and memory-writing authority while leaving the actual script and data-flow boundaries unclear.

Install only if you are comfortable letting the agent read log files, run a local compression command, and append reviewed summaries to MEMORY.md. Before using it, confirm what script is actually being executed and whether any log content is sent to an LLM or remote service.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • 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
Findings (4)

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill makes contradictory trust claims: it says it is a purely local Node.js script with no external dependencies, yet elsewhere states an LLM API is required. This can mislead users and agents about the actual execution and data-flow boundary, causing sensitive logs to be processed under false assumptions about locality and privacy.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The workflow instructs writing output to /tmp and appending it into MEMORY.md without a prominent warning or explicit confirmation step before modifying files. Because the skill also requests exec/write capabilities and operates on long-term memory artifacts, this raises the risk of unintended persistence, corruption, or poisoning of future agent context.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The example trigger "今天的日志太长了,帮我压缩" relies on the broad phrase "帮我压缩" rather than a narrowly scoped invocation pattern. In a markdown skill description, this can make activation boundaries unclear and increase the chance of unintended invocation during ordinary conversation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation again conflicts with earlier assurances by declaring an LLM API as a required dependency despite claiming the tool is local and requires no API key. For a log-compression skill handling potentially sensitive memory files, ambiguity about whether content leaves the local environment is a meaningful security and privacy risk.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.