hardlink
Fail
Audited by Gen Agent Trust Hub on Nov 29, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill instructs the agent to download a utility script from the author's official GitHub repository (
github.com/stopsopa) usingcurlorwgetif the tool is not already present in the project directory. - [REMOTE_CODE_EXECUTION]: After downloading the utility script, the agent is directed to execute it using
nodeorbash. This allows for the execution of logic fetched from a remote vendor resource to manage project links. - [COMMAND_EXECUTION]: The skill utilizes several shell commands and the Node.js runtime to perform filesystem operations, including link creation (
ln), file replacement (mv), and directory creation (mkdir). - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: The agent is instructed to read and parse markdown files (e.g.,
hardlink.md) to extract configuration pairs. Maliciously crafted configuration files could theoretically attempt to influence agent behavior. - Boundary markers: The skill uses
<!-- prettier-ignore-start -->markers to identify path pairs; while these help the parser, they do not serve as security boundaries for the LLM. - Capability inventory: The skill possesses the capability to create hardlinks, symlinks, and modify
.gitignorefiles across the project. - Sanitization: The provided utility scripts perform path validation and lexical normalization of the configuration pairs, but the agent's interpretation of the markdown file remains a potential surface for indirect injection.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/stopsopa/stopsopa.github.io/master/bash/hardlink/hardlink.ts - DO NOT USE without thorough review
Audit Metadata