Back to skill

Security audit

Safe Cron Runner

Security checks for vulnerabilities and agentic risk

Overview

The skill is a disclosed command-running utility, but its safety claims are undercut by concrete privilege, logging, timeout, and release-verification weaknesses.

Review before installing or using from any privileged or multi-user environment. Treat it as a small command wrapper, not a complete sandbox: avoid running secret-bearing commands, do not rely on the /tmp log for secure audit storage, and require fixes for supplementary groups, process-group termination, secure logging, and version-matched signed manifests before production use.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (4)

T05 · Unauthorized Access and Privilege Escalation

Error
Location
safe_cron.py:22
Finding

Supplementary Groups Are Retained During Privilege Dropping

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
safe_cron.py:68
Finding

Predictable Privileged Log File Permits Symlink Attacks and Sensitive Data Exposure

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
safe_cron.py:48
Finding

Timeout Kills Only the Direct Child and Leaves Descendant Processes Running

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
isnad_manifest.json:5
Finding

Integrity Manifest Does Not Match the Advertised Release Version

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
90% confidence
Finding

The skill advertises security-sensitive behavior and demonstrates subprocess execution, yet it declares no explicit tool scope such as permissions or allowed-tools. That creates a governance gap: an agent platform may permit broader shell or file capabilities than intended, undermining the skill's own safety claims and making misuse or overreach easier if the skill is invoked in a permissive environment.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · safe_cron.py (reported line 50)May include surrounding context.

python
try:
            # We use subprocess.Popen without shell=True for maximum safety
            process = subprocess.Popen(
                command_parts,
                stdout=subprocess.PIPE,
                stderr=subprocess.PIPE,

Static analysis

No suspicious patterns detected.