craftcms
Fail
Audited by Snyk on Dec 1, 2026
Risk Level: HIGH
Full Analysis
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (low risk: 0.10). The main coding path references credentials only by environment-variable name (for example
App::env('REDIS_PASSWORD')), but the config-bootstrap guidance directs the model to check.envand.ddev/.env.webwhen verifying general-config values, which would read secrets into context.
MEDIUM W013: Attempt to modify system services in skill instructions.
- Attempt to modify system services in skill instructions detected (low risk: 0.10). The skill makes operational changes available, such as running
project-config/write,craft gc --delete-all-trashed,deleteSite, cron, Redis/app.php component config and plugin edition switching. No supplied text establishes an unrecoverable loss of operational state for any of them: the YAML rewrite is checked via git diff, site deletion is a soft delete, and the Redis flush warning depends on a misconfigured shared database.
Issues (2)
W007
HIGHInsecure credential handling detected in skill instructions.
W013
MEDIUMAttempt to modify system services in skill instructions.
Audit Metadata