T09 · Insecure Skill Coding Practices
- Location
templates/settings.xml:15- Finding
Plaintext Storage of Maven Central Credentials and GPG Passphrase
- Content
View full analysis
central REPLACE_WITH_USER_TOKEN_NAME REPLACE_WITH_USER_TOKEN_PASS ``` `templates/settings.xml:27-34`: ```xml release false gpg REPLACE_WITH_PASSPHRASE ``` The same workflow is presented in `SKILL.md:55-74`: ```xml central USER_TOKEN_USERNAME USER_TOKEN_PASSWORD release false gpg YOUR_GPG_PASSPHRASE ``` ### Technical Analysis The supplied template and documentation instruct users to replace placeholders with a real Maven Central Portal token username, token password, and GPG private-key passphrase in Maven's `settings.xml`. Maven settings files are ordinary XML files, so these values remain readable plaintext unless Maven credential encryption or another secret-management mechanism is used. The project does not instruct users to encrypt the server password, inject secrets temporarily from a secure CI secret provider, restrict ...[truncated 2051 chars]- Remediation
View remediation
