knowledge-base
Warn
Audited by Gen Agent Trust Hub on Apr 7, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
bulk-ingest.jsandingest.jsuseexecSyncto run shell commands with unsanitized input derived from URLs, text entries, or tags. This creates a high risk of command injection if an attacker provides a crafted input containing shell metacharacters. - Evidence in
scripts/bulk-ingest.js: The script constructs a shell command string usinginputArgandextraArgswithout sufficient escaping and executes it viaexecSync. - Evidence in
scripts/ingest.js: The script falls back to usingcurlviaexecSyncwhenfetchfails, directly interpolating theurlvariable into the shell command string. - [DATA_EXFILTRATION]: The
ingest.jsscript allows reading any local file that the user running the process has access to. While intended for local ingestion, this capability could be abused by a malicious agent or prompt to harvest sensitive system files. - Evidence in
scripts/ingest.js: The script detects file paths in the input arguments and usesfs.readFileSyncto read the entire content of the specified file. - [PROMPT_INJECTION]: The skill's primary function of ingesting and querying external data creates an indirect prompt injection surface.
- Ingestion points: Content is ingested from arbitrary URLs and local files via
scripts/ingest.jsandscripts/bulk-ingest.js. - Boundary markers: None. Ingested content is stored directly in the database without delimiters or instructions for the agent to ignore embedded commands.
- Capability inventory: The skill environment includes file read access and shell command execution capabilities.
- Sanitization: Only basic HTML tag removal is performed in
scripts/ingest.js; no sanitization is applied to the text content to prevent instruction injection.
Audit Metadata