Back to skill

Security audit

Empirecms7 Php8 Upgrade

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only PHP upgrade guide whose broad code-editing advice is expected for its stated EmpireCMS-to-PHP-8 migration purpose.

Install only if you want guidance for an EmpireCMS 7.5 PHP 8 migration. Apply the edits in a version-controlled copy or staging environment, review replacements manually, and run functional tests before deploying because the changes can affect large parts of a PHP site.

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

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill directs users to make sweeping code changes across an entire EmpireCMS project, including global search-and-replace and regex-driven edits, while providing only limited safeguards. Even though it mentions backup and cautions against some blind replacements, it does not adequately warn about the high risk of breaking application logic, corrupting legacy files, or introducing security regressions during mass modification of a large PHP codebase.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.