T09 · Insecure Skill Coding Practices
- Location
scripts/inspect-rest-api.sh:43- Finding
Application Password Exposed Through Command-Line Arguments
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This WordPress REST helper is mostly purpose-aligned, but its credential-handling script can expose application passwords if used carelessly or with an unsafe URL.
Review before installing. Use this only with test or narrowly scoped WordPress application passwords, prefer HTTPS-only targets, avoid putting real application passwords directly in shell history, and do not use authenticated calls with absolute --route URLs unless the script is fixed to enforce same-origin HTTPS behavior.
scripts/inspect-rest-api.sh:43Application Password Exposed Through Command-Line Arguments
scripts/inspect-rest-api.sh:74Basic Authentication Credentials Can Be Transmitted Over Plaintext HTTP
scripts/inspect-rest-api.sh:74Absolute Route URL Can Redirect Trusted-Site Credentials to an Arbitrary Origin
The skill advertises broad WordPress REST functionality including authentication flows and read/write operations, but the described behavior is primarily route discovery and generic inspection. This mismatch can mislead users or upstream agents into assuming safe support for authenticated or write operations that are not actually implemented or constrained, increasing the chance of insecure workarounds, accidental misuse, or overtrust in the skill's capabilities.
The skill invokes shell-based scripts and relies on file reads, but it does not declare an explicit tool scope such as allowed tools or permissions. That omission weakens least-privilege boundaries and can let the runtime grant broader capabilities than operators expect, especially in environments that use metadata to enforce tool restrictions.
This shell script performs an authenticated network request by passing --user credentials to curl, which sends the username and app password to the target URL. While the usage text shows the arguments, there is no explicit warning, confirmation, or user-facing disclosure that credentials will be transmitted over the network to the specified site.
No suspicious patterns detected.