saml-sso-attack
Fail
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: HIGHINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTIONREMOTE_CODE_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill fetches and parses SAML metadata and requests from external URLs using
curl. This data is processed by Python and printed to the terminal without sanitization or boundary markers. A malicious remote endpoint could return XML containing instructions meant to manipulate the agent's behavior. - Ingestion points:
SKILL.md(Phases 1, 2, and 3 usecurlto fetch XML). - Boundary markers: Absent.
- Capability inventory: Uses
curl,python3,nmap, andnucleivia the terminal tool. - Sanitization: Absent; uses
ElementTree.fromstring()directly on raw remote input. - [DYNAMIC_EXECUTION]: The skill employs
python3 -cto execute multi-line scripts defined within the skill instructions. Although the scripts are static, the pattern of piping raw remote data into an interpreter to be processed is a sophisticated capability. - [COMMAND_EXECUTION]: The skill uses
curl -skto ignore SSL certificate validation when connecting to remote targets and invokes several security scanning tools such asnmapandmasscanthrough the shell. - [REMOTE_CODE_EXECUTION]: The skill contains a command pattern (
curl | python3) that triggered automated remote code execution alerts. Detailed analysis shows that thepython3 -ccommand executes the skill's own embedded code on the piped data, which is not a direct execution of remote code, though it remains a risky pattern for handling untrusted input.
Recommendations
- HIGH: Downloads and executes remote code from: https://TARGET/saml2/idp/metadata.php - DO NOT USE without thorough review
Audit Metadata