dx-code-analyzer-configure
Fail
Audited by Gen Agent Trust Hub on Aug 7, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The instructions in
SKILL.mdandreferences/rule-name-resolution.mddirect the agent to execute shell commands that interpolate unvalidated user keywords directly into agrepcommand (e.g.,sf code-analyzer rules --rule-selector all 2>&1 | grep -i "<USER_KEYWORD>"). This pattern allows a malicious user to execute arbitrary commands by providing input containing shell metacharacters. - [REMOTE_CODE_EXECUTION]: The
references/engine-prerequisites.mdfile contains instructions to fetch and execute scripts from external sources such as SDKMAN, NVM, and NodeSource using piping to shell interpreters (e.g.,curl | bash). - [PRIVILEGE_ESCALATION]: The skill recommends using
sudofor installing global npm packages, system-level dependencies, and modifying file system permissions inreferences/troubleshooting.mdandreferences/engine-prerequisites.md. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided strings and local project configuration files (
code-analyzer.yml) to perform rule name resolution and validation. There is a lack of explicit sanitization or boundary markers when this untrusted data is interpolated into shell commands or parsed by internal scripts. - Ingestion points: User keywords for rule lookup; contents of
code-analyzer.ymlandsfdx-project.jsonfiles. - Boundary markers: None identified for user keywords used in shell commands.
- Capability inventory: Ability to execute
sf,grep,python3,npm, andjavacommands; ability to write and edit files at the project root. - Sanitization: No sanitization or escaping is performed on user keywords before shell interpolation.
Recommendations
- AI detected serious security threats
Audit Metadata