db2-rhel
Warn
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFEPERSISTENCECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill provides hardcoded example passwords within bash commands for setting up database users and keystores. While intended as examples, these scripts execute commands that set active credentials.
- Evidence in
install-admin.md:echo 'db2inst1:StrongP@ss!2024' | sudo chpasswdandecho 'db2fenc1:FencedP@ss!2024' | sudo chpasswd. - Evidence in
security-backup-recovery.md:gsk8capicmd_64 ... -pw "Keystore_P@ss!2024"andgsk8capicmd_64 ... -pw "SSL_P@ss!2024". - [PERSISTENCE]: The instructions establish automated execution and maintenance of the database engine and backup scripts across system reboots using systemd services and timers.
- Evidence in
performance-monitoring-rhel.md: Creation of/etc/systemd/system/db2inst1.service. - Evidence in
security-backup-recovery.md: Creation of/etc/systemd/system/db2-backup.serviceand/etc/systemd/system/db2-backup.timer. - [COMMAND_EXECUTION]: The skill makes extensive use of command-line tools to perform administrative tasks that modify the underlying RHEL system configuration.
- Evidence: Multiple instances of commands for package management (
dnf), kernel tuning (sysctl), and database management utility calls (db2icrt,db2licm). - [PRIVILEGE_ESCALATION]: The skill requires and instructs the agent to use elevated privileges to perform system-level modifications.
- Evidence: Widespread use of
sudofor tasks such as modifying/etc/sysctl.d/, adding users/groups, modifying firewall rules, and configuring SELinux contexts. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection by ingesting and processing untrusted data from database logs and query caches while maintaining high-privilege capabilities.
- Ingestion points: Processing SQL statements from package caches via
MON_GET_PKG_CACHE_STMTand extracting audit logs viadb2audit. - Boundary markers: None found in the provided scripts or prompts.
- Capability inventory: High-privilege shell execution (
sudo), file system writing (db2look,db2audit extract), and network operations (scp,firewall-cmd). - Sanitization: No explicit sanitization or validation of data retrieved from the database or logs before processing.
Audit Metadata