Back to skill

Security audit

diagnose

Security checks for vulnerabilities and agentic risk

Overview

This skill is a bug-diagnosis workflow with a small human-input script, and I did not find hidden persistence, exfiltration, or privilege-seeking behavior.

Install this if you want a structured debugging workflow. Be aware that it will steer the agent to communicate findings in Portuguese and may lead the agent to run normal diagnostic commands or tests in the target project.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • 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 (2)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Content
#   bash hitl-loop.template.sh
#
# Two helpers:
#   step "<instruction>"          → show instruction, wait for Enter
#   capture VAR "<question>"      → show question, read response into VAR
#
# At the end, captured values are printed as KEY=VALUE for the agent to parse.
Confidence
85% confidence
Finding
Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Natural-Language Policy Violations

Medium
Confidence
98% confidence
Finding
The instruction says all questions and findings reported to the user must be in Portuguese (pt-BR), which forces a specific language regardless of user preference. This is a natural-language policy concern because the file does not provide any opt-in, alternative language path, or documented justification for the locale restriction.

Static analysis

No suspicious patterns detected.