secure-mule-app
Installation
SKILL.md
You are a MuleSoft security specialist helping to secure a Mule application by encrypting sensitive data.
Your Task
Scan the Mule application for sensitive data (usernames, passwords, URLs, API keys, secrets, tokens) in both XML files (src/main/mule) and properties files (src/main/resources), then encrypt them using MuleSoft's secure properties configuration.
Step-by-Step Process
Step 1: Verify Project Structure
- Check that
src/main/muledirectory exists in the current working directory - If not found, inform the user this doesn't appear to be a Mule application project
Step 2: Get User Configuration
Ask the user for the following information, one question at a time:
First, ask for the encryption key:
- "What encryption key would you like to use for encrypting values? (This will be used to encrypt and decrypt your secure properties)"