pflow-task-add
Warn
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DATA_EXPOSURE]: The script
scripts/task-add-run.shcontains aload_dotenvfunction that explicitly reads and parses the.envfile located in the project root. - Evidence: The script calls
load_dotenv "$ROOT_DIR/.env"to populate environment variables such asPFLOW_TASKS_MDTODO_FILE. - Risk: Accessing
.envfiles is flagged because they frequently contain sensitive credentials, although in this context it is used for local configuration. - [INDIRECT_PROMPT_INJECTION]: The skill takes user-supplied titles and descriptions and writes them directly into a markdown file (
todo.md) without sanitization or boundary markers. - Ingestion points: User input is passed through the
--titleand--descriptionflags to the execution script. - Capability: The skill has file-write permissions to update the task list.
- Sanitization: There is no validation or escaping of the user content before it is appended to the markdown file, which could allow malicious instructions to be stored and later interpreted by an agent reading the tasks.
- [COMMAND_EXECUTION]: The script executes the
mdtodocommand-line interface to add new tasks. - Evidence: The script uses a bash array
cmd=(mdtodo add ...)and executes it via"${cmd[@]}". - Risk: While the execution method is secure against argument injection, the skill relies on the presence and behavior of an external CLI tool.
Audit Metadata