Back to skill

Security audit

Context Compressor Free

Security checks for vulnerabilities and agentic risk

Overview

The skill is a Chinese guide for compressing local agent memory logs, with disclosed memory-file writes but no evidence of hidden upload, persistence, or destructive behavior.

Before installing, treat this as a local-memory editing workflow: review generated summaries before appending them to MEMORY.md, keep original logs or backups, and separately inspect any context-compressor.js script you obtain because it is not included in this artifact.

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
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (4)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The scenario recommends replacing original logs with compressed output via mv, which can destroy the only full-fidelity record without warning about irreversibility, validation, or backup. In this skill’s context, the source material is agent memory/history, so data loss can remove auditability, debugging context, and evidence needed to recover from bad summaries or compromised outputs.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill instructs the agent to append generated output directly into persistent memory files using shell redirection, without any explicit backup, preview, or confirmation step. Because the tool is allowed to use exec and operates on long-lived agent state, malformed compression output or prompt-influenced content could permanently pollute MEMORY.md and degrade future agent behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file explicitly states '完全中文化表达,适配中文用户工作流', which indicates an intentional language constraint. There is no accompanying note that users may choose another language or locale, so this is a natural-language policy issue under the language/locale rule.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

L275-L278 明确说明该免费版基于本地脚本运行且不上传数据,传达出无需网络参与的意图;但 L339 又将“网络错误”列为运行场景,并要求执行 ping 测试网络、检查防火墙和代理。这与前述“本地完成、无需网络”的文档意图形成直接矛盾。

Content

No source excerpt is available for this finding.