T09 · Insecure Skill Coding Practices
- Location
config.json:1- Finding
AgentMail API credential committed in plaintext
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is for email automation, but it publishes a live-looking API key and relies on unreviewed scripts outside the package.
Review before installing. The exposed AgentMail API key should be treated as compromised and rotated, and the package should replace it with environment-variable or secret-manager instructions. The referenced Python scripts should be included in the skill package or pinned by verified hashes before users run them. Use an isolated environment and avoid using this with sensitive email content until those issues are fixed.
config.json:1AgentMail API credential committed in plaintext
SKILL.md:20Skill delegates execution to mutable scripts outside the audited package
README.md:24Unpinned browser automation dependency and installer execution
The documentation exposes both a live-looking API key and a specific mailbox address without any warning about credential sensitivity, effectively publishing the means and target for email access. This materially increases the risk of unauthorized mailbox access, spoofed outbound email, privacy violations, and operational misuse.
The skill file directly discloses a live-looking AGENTMAIL_API_KEY, which is a sensitive secret granting email-management capability. Anyone with access to this documentation could reuse the credential to read mail, send messages, or manipulate inboxes, leading to account compromise and abuse of the associated service.
Suspicious Unicode normalization or mixed-script content
The README presents all user-facing instructions in Russian and does not indicate any alternative language option or user choice. Under the policy criteria, forcing a specific language without opt-in is a natural-language locale policy violation.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
Создайте временный email:
curl -X POST https://api.agentmail.to/v1/emails \
-H "Authorization: Bearer $AGENTMAIL_API_KEY" \
-H "Content-Type: application/json"
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
}
def create_email(self):
response = requests.post(
'https://api.agentmail.to/v1/emails',
headers=self.headers
)
The skill advertises capabilities to send replies, create inboxes, and clear messages, but provides no warning about privacy, data handling, or destructive effects. In an email-management context, these actions can expose message content, send unauthorized communications, or delete records, making misuse more dangerous than in a non-communications skill.