bigquery-ml
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Python code in several narrative files (e.g., 'sql_scripting.md', 'composer_airflow.md') uses the subprocess module to call gcloud and bq CLI tools for administrative tasks such as enabling Google Cloud APIs and retrieving project details.
- [PRIVILEGE_ESCALATION]: The skill provides code to programmatically grant IAM roles using gcloud projects add-iam-policy-binding. Roles like roles/composer.worker, roles/aiplatform.user, and roles/storage.objectViewer are granted to service accounts to enable necessary permissions for ML pipelines.
- [DATA_EXFILTRATION]: The skill demonstrates loading environment variables from .env files for local configuration, which is a standard secret management practice. It also involves movement of model artifacts between BigQuery and Google Cloud Storage (GCS) using standard machine learning lifecycle commands.
- [EXTERNAL_DOWNLOADS]: Narrative files contain examples of installing and importing various standard Python libraries for data science and machine learning, including xgboost, lifelines, scikit-learn, and kfp, which are fetched from official package registries.
- [DYNAMIC_EXECUTION]: The skill illustrates how to load machine learning models from files using framework-specific loaders like xgboost.Booster().load_model() and uses Dataform and dbt for executing SQL-based pipeline operations.
Audit Metadata