Back to skill

Security audit

Codex: Finish the Task

Security checks for vulnerabilities and agentic risk

Overview

This skill openly makes Codex more autonomous for coding tasks, but it does not contain hidden code, persistence, exfiltration, or unrelated privileges.

Install this only if you want Codex to proceed through normal coding steps with fewer checkpoints. Review the trigger phrases and avoid enabling it for work where every file edit, dependency install, long-running command, or local server launch should require a separate confirmation.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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 (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The activation description uses broad, natural-language trigger phrases such as 'nao pare' and 'rode ate o final' that can easily appear in ordinary user requests. This increases the chance the skill activates unintentionally and shifts the agent into a more autonomous mode without explicit, informed user opt-in.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

This instruction explicitly authorizes the agent to make routine choices, run commands, edit files, and verify results 'without asking for avoidable confirmations.' In a skill designed for autonomous execution, that materially reduces human oversight and can lead to unintended code changes, command execution, or persistence in risky workflows if the original request is ambiguous or manipulated.

Content

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

md
## Operating Mode

Execute the requested task end to end. Treat the user's latest prompt as permission to make routine choices, run commands, edit files, wait for output, and verify results without asking for avoidable confirmations.

## Rules

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
88% confidence
Finding

The confirmation policy normalizes proceeding without asking across file reads, dependency installation, test/build execution, file edits, and waiting/polling. While convenient, this broad delegation expands the blast radius of accidental activation and makes the skill context more dangerous because it authorizes real system changes and code execution under implied consent.

Content

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

md
## Confirmation Policy

Proceed without asking when the action is normal for the task:

- reading files, searching the repo, inspecting logs, checking status
- installing local dependencies already required by the project

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The default prompt instructs the agent to run tasks end to end without avoidable confirmations, which broadens activation toward autonomous execution without defining concrete safety boundaries or narrow trigger conditions. In the context of a run-to-completion skill, ambiguous activation increases the chance the agent will suppress useful checkpoints before risky actions such as executing commands, modifying files, or waiting on long-running operations.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
74% confidence
Finding

The description hard-codes Portuguese trigger phrases without documenting language scope, user consent, or why multilingual triggers are needed. This can surprise users and increase accidental activation risk, especially in mixed-language environments where the user may not realize these phrases enable an autonomous workflow.

Content

No source excerpt is available for this finding.