T09 · Insecure Skill Coding Practices
- Location
setup.sh:111- Finding
Username Validation Allows Configuration File Overwrite Outside the Intended Directory
- Content
View full analysis
"$CONFIG_DIR/config.sh" << EOF # jobautopilot skill bundle — user config # Generated by setup.sh on $(date +%Y-%m-%d) # Edit any value here; re-run setup.sh to regenerate from scratch. # This file is read-only by the agent. Nothing in it is sent to any network. export OPENCLAW_USER="${OPENCLAW_USER}" export OPENCLAW_PROFILE="apply" # browser profile used for submitting applications # Personal info export USER_FIRST_NAME="${USER_FIRST_NAME}" export USER_LAST_NAME="${USER_LAST_NAME}" export USER_EMAIL="${USER_EMAIL}" export USER_PHONE="${USER_PHONE}" export USER_LINKEDIN="${USER_LINKEDIN}" # File paths export RESUME_DIR="${RESUME_DIR}" export RESUME_OUTPUT_DIR="${RESUME_OUTPUT_DIR}" export RESUME_TEMPLATE="\$HOME/.openclaw/workspace/job_sub_agent/scripts/sample_placeholders.docx" export MD_TO_DOCX_SCRIPT="\$HOME/.openclaw/workspace/job_sub_agent/scripts/md_to_docx.py" export TRACKER_PATH="\$HOME/.openclaw/workspace/job_search/job_application_tracker.md" ex ...[truncated 3148 chars]- Remediation
View remediation
