refactoring
Warn
Audited by Gen Agent Trust Hub on Nov 2, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill provides instructions for the agent to execute remote code at runtime via package runners for tools like jscpd and truffler.
- Evidence: Commands such as
npx jscpdandbunx @rayhanadev/trufflerinDUPLICATION.mdexecute packages directly from remote registries without strict version pinning or verification of the source. - [EXTERNAL_DOWNLOADS]: The skill requires downloading and installing external software from third-party repositories.
- Evidence:
DUPLICATION.mdincludes instructions to runbrew install nimblesite/tap/deslopand fetches the@rayhanadev/trufflerNode.js package. - [COMMAND_EXECUTION]: The skill defines specific shell commands that the agent is expected to run during the refactoring and auditing process.
- Evidence: The
DUPLICATION.mdfile provides exact CLI commands for runningjscpd,truffler, anddeslopsearch operations. - [INDIRECT_PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection because it is designed to ingest and analyze untrusted source code while possessing significant shell capabilities.
- Ingestion points: The agent reads and processes the user's local source code files (as described in
SKILL.mdandDUPLICATION.md). - Capability inventory: The skill utilizes subprocess calls to package managers (
npx,bunx,brew) and auditing tools that parse code structure. - Boundary markers: None identified; the instructions do not include specific delimiters or directives to ignore instructions that might be embedded within comments or strings in the code being refactored.
- Sanitization: No evidence of sanitization or validation of the code content or the output from third-party tools is mentioned.
Audit Metadata