kaggle-research
Pass
Audited by Gen Agent Trust Hub on Aug 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes the official Kaggle CLI using the
subprocessmodule withshell=False, which effectively mitigates shell injection vulnerabilities. It further implements an authorization layer inscripts/kaggle_runtime/commands.pyto classify and restrict command groups, specifically blocking sensitive operations like printing access tokens.\n- [DATA_EXPOSURE_AND_EXFILTRATION]: Robust redaction logic is implemented inscripts/kaggle_runtime/security.pyto ensure that API keys, bearer tokens, and signed URLs from Kaggle's storage backends are stripped from all stdout, stderr, and audit logs before they are processed by the agent or stored.\n- [EXTERNAL_DOWNLOADS]: The skill manages dataset and metadata downloads from Kaggle's official API. It enforces strict path confinement and traversal prevention inscripts/kaggle_runtime/security.py, ensuring all downloads remain within an approved output root. Artifacts are verified using SHA-256 integrity hashes.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted metadata from Kaggle API responses. Ingestion points: Kaggle API results (datasets, kernels). Boundary markers: Absent. Capability inventory: Bounded file system write, Kaggle CLI execution. Sanitization: Automatic secret redaction. The attack surface is minimized by the wrapper's restricted command set and input validation.
Audit Metadata