Back to skill

Security audit

ARC Creator

Security checks for vulnerabilities and agentic risk

Overview

The skill has a coherent ARC-creation purpose, but its command templates create a real review concern because user-supplied metadata and paths could be executed as shell syntax if followed literally.

Review this skill before installing or using it. Use it only with trusted ARC metadata and paths, and require the agent to pass collected values as separate command arguments or validate and escape them safely. Before any DataHUB push, confirm the exact host, repository visibility, credentials being used, and whether unpublished research data or personal contact details may be uploaded.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:28
Finding

Shell Command Injection Through User-Controlled ARC Metadata

Content
View full analysis
` and set investigation metadata via: ```bash arc investigation update -i "" --title "" --description "<desc>" ``` ``` `SKILL.md:46-50`: ```markdown Create with: ```bash arc study init --studyidentifier "<id>" arc study update --studyidentifier "<id>" --title "<title>" --description "<desc>" ``` ``` `SKILL.md:67-70`: ```markdown Create with: ```bash arc assay init -a "<id>" --measurementtype "<type>" --technologytype "<tech>" ``` ``` `SKILL.md:100-103`: ```markdown Add via: ```bash arc investigation person register --lastname "<last>" --firstname "<first>" --email "<email>" --affiliation "<aff>" ``` ``` `SKILL.md:107-117`: ```markdown 1. Configure git user: ```bash git config user.name "<name>" git config user.email "<email>" ``` 2. Commit: ```bash git add -A git commit -m "Initial ARC: <investigation title>" ``` ``` ### Technical Analysis The placeholders in these command templates represent values collected conversationally from the user. If the agent replaces the placeholders with raw input and submits the resulting text to a shell, shell syntax contained in those values is interpreted during command parsing. Double quotes do not make this construction safe. They prevent ordinary word splitting and pathname expansion, but still permit command substitution such as `$(command)` and backtick substitution. Quote-breaking input can also terminate the quoted argument and append additional shell operators. The ARC path invocation is particularly expose ...[truncated 2522 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 14)May include surrounding context.

md
- `git` and `git-lfs` installed
- ARC Commander CLI at `~/bin/arc` (optional but recommended)
- For DataHUB sync: Personal Access Token for git.nfdi4plants.org or datahub.hhu.de

## Interactive ARC Creation Workflow

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill instructs the agent to offer a push to external DataHUB hosts after collecting and organizing potentially sensitive research data, metadata, contacts, and publication details, but it does not require an explicit confirmation that this information will be transmitted to a remote third party. In an agentic setting, that omission can lead to unintended exfiltration of unpublished or sensitive research materials because the user may interpret the step as routine project setup rather than a network transfer with persistence on an external service.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.