Back to skill

Security audit

Archive and Integrity Toolbox

Security checks for vulnerabilities and agentic risk

Overview

The skill provides local archive operations with clear file boundaries and no active credential collection, network transfer, or hidden execution.

Choose files explicitly, use new output destinations, and review extracted contents before opening them. This archive tool needs no account credentials despite generic README account references. Consider a reviewed installer version instead of @latest; local .mochilab state remains after use.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (6)

MCP server referenced without pinned version: 'npx clawhub'.

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The installation command uses npx clawhub@latest, which can download and execute a changing package version with the invoking user's permissions; a compromised future release could access or modify workspace files. This is an unpinned executable dependency rather than an MCP server reference, and the risk is conditional on running the installation command, not evidence of malicious archive handling.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx clawhub'.

Medium
Category
MCP Rug Pull
Confidence
95% confidence
Finding

The documented command uses npx clawhub@latest, a mutable version selector that can download and execute a future, unreviewed package release with the invoking user's permissions. A compromised release or publisher account could therefore expose workspace files or credentials, although the provided README contains no evidence of such a compromise. This is a legitimate installation workflow rather than an MCP server reference, but that scanner misclassification does not remove the unpinned-execution risk.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The atomic file writer silently overwrites existing destination files without disclosing that behavior.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The atomic() helper writes data and uses os.replace() to replace an existing destination file. There is no confirmation, user-facing notification, or explanatory docstring/comment warning that existing contents will be overwritten.

Content

No source excerpt is available for this finding.

L39–L42 implement credential retrieval from environment variables, an unrelated capability for a local archive and integrity toolbox.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

The secret() helper reads a configuration-selected environment variable and returns its value as a credential. ZIP/TAR inspection, extraction, ZIP creation, and integrity hashing do not require credential access; however, this file does not show the helper being invoked, so the finding concerns an implemented capability rather than demonstrated credential collection.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 7)May include surrounding context.

text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.