aicore-admin-resources
Pass
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: SAFECREDENTIALS_UNSAFEDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONPERSISTENCE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted user data via command-line arguments for resource group IDs and labels.
- Ingestion points: Arguments in
scripts/create_resource_group.pyandscripts/patch_resource_group.py(e.g.,--id,--label). - Boundary markers: None present; values are interpolated directly into API calls.
- Capability inventory: The scripts execute network operations via the
AICoreV2Clientto create or modify resources in SAP AI Core. - Sanitization: Basic regex validation is performed on resource group IDs in
scripts/create_resource_group.py(^[a-z0-9][a-z0-9\-]*[a-z0-9]$), but labels are not validated beyond the key=value format. - [DATA_EXFILTRATION]: The
scripts/get_token.pyscript outputs a raw authentication Bearer token to the standard output. - Evidence:
print(token)inscripts/get_token.py. If invoked directly by the agent without redirection to a variable, this sensitive token will be included in the agent's context and conversation history. - [CREDENTIALS_UNSAFE]: The skill is designed to manage and access sensitive SAP AI Core credentials.
- Evidence: The scripts access configuration files in
~/.aicore/config.jsonand environment variables likeAICORE_CLIENT_SECRET. It also supports X.509 certificate and private key authentication methods. - [PERSISTENCE]: The setup documentation instructs users to modify shell profile files to persist environment variables.
- Evidence:
references/SETUP.mdsuggests addingexportcommands to~/.zshrcor~/.bashrcto maintain credential configuration across sessions.
Audit Metadata