update-claude-settings
Pass
Audited by Gen Agent Trust Hub on Jul 16, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted project files and lock files to generate security configuration recommendations.
- Ingestion points: Repository root files, dependency manifests (such as
package.json,poetry.lock), and existing.claude/settings.jsonas defined inreferences/stack-detection.md. - Boundary markers: The instructions explicitly require user approval before writing any files and mandate the exclusion of destructive system commands.
- Capability inventory: The skill utilizes
Write,Edit, andBashtools to modify project configurations and inspect the environment. - Sanitization: The skill includes a verification step to ensure written JSON is valid and does not contain unintended system-level command permissions.
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to identify the project's technology stack by executing discovery commands likelsandgit status. These operations are limited to environment detection and are governed by guardrails inSKILL.MDthat prohibit the execution of destructive commands.
Audit Metadata