Back to skill

Security audit

Code and System Security Review

Security checks for vulnerabilities and agentic risk

Overview

This is a straightforward code security review checklist skill with no executable payload, persistence, or hidden behavior beyond a harmless UTF-8 BOM marker.

Install only if you want Codex to help review code for security issues. It may cause security-review requests to use this checklist and may suggest code patches, so review proposed changes before applying them.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Hidden Instructions

High
Category
Prompt Injection
Content
# Security Review Checklist

## Injection Vulnerabilities
Confidence
60% confidence
Finding
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Hidden Instructions

High
Category
Prompt Injection
Content
# Security Review Checklist

## Injection Vulnerabilities
Confidence
60% confidence
Finding
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Credential Access

High
Category
Privilege Escalation
Content
- Are API keys / tokens / passwords hardcoded?
- Are keys in configuration files encrypted or stored in environment variables?
- Is sensitive information (tokens, passwords, ID numbers) printed in logs?
- Are .env / key files listed in .gitignore?

## Insecure Deserialization
Confidence
60% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Vague Triggers

Medium
Confidence
95% confidence
Finding
The invocation text lists generic phrases such as 'security check', 'security assessment', and 'code scan' without clarifying scope, exclusions, or negative examples. This can cause unintended activation for broad everyday requests about security-related topics rather than a deliberate request to run this specific skill.

Unsafe Defaults

Medium
Category
Tool Misuse
Content
- Are weak algorithms used (MD5, SHA1, DES, RC4)?
- Are the TLS version and cipher suites secure?
- Is certificate verification skipped (`verify=False`)?

## SSRF
Confidence
75% confidence
Finding
Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.

Static analysis

No suspicious patterns detected.