Back to skill

Security audit

huawei-cloud-rds-pg-ops

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because it contains guidance that could bypass protection against unresolved cloud operations and an installation example that may expose IAM credentials.

Review the unresolved-operation instructions and credential setup before installing. Avoid placing real IAM keys in project files that may be shared or committed, and do not retry a cloud operation while its earlier outcome is unresolved.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (4)

Troubleshooting guidance instructs the agent to evade unresolved-execution replay protection by changing parameters to obtain a fresh digest.

High
Category
Prompt Injection
Confidence
97% confidence
Finding

Changing a nonsemantic parameter to obtain a fresh digest bypasses the guard tracking an unresolved execution. Although the guidance requires checking the prior outcome, it does not require conclusively resolving it before resubmission, risking duplicate cloud operations, outages, or additional charges.

Content

No source excerpt is available for this finding.

Verification guidance instructs the agent to evade an unresolved-operation guard by changing nonsemantic parameters.

High
Category
Prompt Injection
Confidence
97% confidence
Finding

The verification procedure treats changing parameters to evade an unresolved-execution digest as expected behavior. Checking historical results alone does not establish that the earlier operation is resolved, so this procedure can normalize duplicate writes and undermine the replay protection it purports to test.

Content

No source excerpt is available for this finding.

Project-level MCP configuration embeds IAM credentials without a secret-storage warning.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The example directs users to populate a project-level .mcp.json file with IAM access and secret keys without warning against committing or sharing it. The placeholders are not leaked credentials themselves, but following this setup can expose real credentials through version control or project distribution, enabling cloud access within their granted permissions.

Content

No source excerpt is available for this finding.

Requires SKILL.md body text to be in English without an opt-in or documented justification.

Low
Category
Output Handling
Confidence
96% confidence
Finding

The acceptance criterion mandates an English-language body for SKILL.md. Although reference documents may use either Chinese or English, that flexibility does not apply to SKILL.md, and no justification or user language choice is provided.

Content

No source excerpt is available for this finding.