T09 · Insecure Skill Coding Practices
- Location
references/examples.md:694- Finding
Destructive database cleanup lacks environment safeguards
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This testing skill is mostly ordinary documentation, but it includes copyable examples that can wipe database tables without strong safety checks.
Review before installing or reusing. The skill is not deceptive and does not contain executable install logic, but copy its examples only into isolated test environments. Add a hard guard before any database reset, avoid production or shared credentials, keep Cypress browser security enabled unless narrowly justified, and pin CI actions, npx tools, and container images for controlled updates.
references/examples.md:694Destructive database cleanup lacks environment safeguards
references/examples.md:185Cypress example globally disables browser web security
references/examples.md:768CI workflow examples use mutable third-party action and container references
The examples include unconditional destructive operations such as 'TRUNCATE TABLE users, products, orders CASCADE' with default localhost/test credentials and no prominent warning that the code will wipe database contents. In a testing skill, this is plausible and likely benign in intent, but it is still dangerous because users may copy it into misconfigured environments or point it at a non-isolated database, causing irreversible data loss.
Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
This markdown file contains code examples that write screenshots to disk and later upload or retain generated artifacts, but the surrounding documentation provides no warning that running these examples will create files and preserve test outputs. For markdown files, SQP-2 applies when descriptions omit warnings about behaviors that can affect user data or system state.
No suspicious patterns detected.