server-security-scan
Pass
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches IP geolocation and ASN information from
ipinfo.ioand updates vulnerability templates for thenucleiscanner. These are well-known services used for reconnaissance and security testing. - [COMMAND_EXECUTION]: The skill performs extensive system commands including network scanning (
nmap), web application testing (nikto,nuclei), and system auditing. It specifically reads sensitive system files such as/etc/passwdand searches the filesystem for SSH private keys (id_rsa,.pem) andauthorized_keysto identify potential credential exposure. - [PRIVILEGE_ESCALATION]: The skill includes checks for privilege escalation vectors, such as searching for non-standard SUID/SGID binaries, reviewing
sudo -lpermissions, and identifying world-writable scripts executed by cron jobs. It also suggests running thelynissecurity auditor withsudoprivileges. - [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes output from several external sources, including
nmapservice banners, web server headers vianikto, and vulnerability results fromnuclei. This data is untrusted and could potentially contain malicious instructions intended to manipulate the agent's behavior during report generation or subsequent analysis tasks. - [DYNAMIC_EXECUTION]: The skill includes a pre-written Bash script designed to be executed at the end of the scan to aggregate results from multiple local files and generate a markdown report. The script performs string manipulation and parsing of command output.
- [DATA_EXFILTRATION]: By performing reconnaissance via
ipinfo.io, the target IP address is shared with a third-party service. While the skill does not exfiltrate server data to an attacker-controlled endpoint, the internal scan phase collects highly sensitive information about the server's users, keys, and security posture.
Audit Metadata