Back to skill

Security audit

Generate Tests

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only skill for generating Aptos Move unit tests, with no evidence of hidden persistence, credential access, or unsafe execution.

Installers should understand that this skill is narrowly useful for Aptos Move contract testing. It may be invoked by generic testing requests because of its broad trigger phrases, so users should verify the target project is actually a Move contract before applying its guidance.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • 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
Findings (2)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill advertises very broad trigger phrases such as 'how to test' and 'write unit tests', which are common developer requests and can cause the skill to activate in situations beyond narrow Move-contract test generation. Over-broad activation increases the chance that the agent applies this skill in the wrong context, producing irrelevant or unsafe guidance and crowding out more appropriate skills.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 5)May include surrounding context.

md
name: generate-tests
description:
  "Creates comprehensive test suites for Move contracts with 100% coverage requirement. Triggers on: 'generate tests',
  'create tests', 'write test suite', 'test this contract', 'how to test', 'add test coverage', 'write unit tests'."
license: MIT
metadata:
  author: aptos-labs

Static analysis

No suspicious patterns detected.