pca-dimensionality-reduction
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external CSV, TXT, and TSV files, which constitutes a surface for indirect prompt injection if the processed data is later used to influence agent decisions.
- Ingestion points: Data is loaded in
scripts/utils.Rusing theread_datafunction, which wrapsdata.table::freadto ingest files specified by the--data_fileparameter. - Boundary markers: No explicit boundary markers or instructions to ignore embedded commands are present in the prompt interpolation logic.
- Capability inventory: The skill has the capability to create directories and write files to the local filesystem using
write_output_tableandsave_session_infoinscripts/utils.Randscripts/run_analysis.R. - Sanitization: The skill performs numeric validation and filters for finite values in
scripts/functions.R(prepare_pca_input), providing some protection against malformed numeric data, though text-based columns (IDs/Groups) are not sanitized. - [EXTERNAL_DOWNLOADS]: The skill instructions include steps to download and install R dependencies from an official repository.
- Evidence:
SKILL.mddocuments the installation ofoptparseanddata.tablefrom the well-known CRAN mirrorhttps://cloud.r-project.org. - [COMMAND_EXECUTION]: The skill is designed to be executed via
Rscript, which involves shell command invocation. - Evidence: The entry point
scripts/main.Rprocesses command-line arguments. While it usesfile.pathfor path construction, the--output_prefixparameter is only checked for being non-empty and is not sanitized for path traversal characters (e.g.,../), potentially allowing files to be written to unexpected locations if an attacker provides a malicious prefix.
Audit Metadata