ios-memgraph-leaks
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- Command Execution: The skill interacts with the local environment by executing system commands like
leaksandxcrunto manage simulators and analyze memory graphs. The implementation inscripts/summarize_memgraph_leaks.pyusessubprocess.runto invoke these tools. Security is maintained by passing arguments as a list (avoiding shell execution) and using regular expressions to ensure that memory addresses extracted from the data are valid hexadecimal strings before they are used in further commands. - Indirect Prompt Injection Surface: The skill summarizes output from the
leakstool, which is generated from the memory contents of a running application. This provides a surface where data from an untrusted application is parsed and presented to the agent. - Ingestion points: The Python script
scripts/summarize_memgraph_leaks.pyingests text output from the systemleakscommand. - Boundary markers: The rendered Markdown summary does not use specific delimiters or warnings to isolate the parsed leak data from the agent's instructions.
- Capability inventory: The skill utilizes
subprocess.runto call diagnostic utilities and performs local file read/write operations to store memory graphs and leak reports. - Sanitization: The script applies strict regular expression filtering to memory addresses (e.g.,
0x[0-9a-fA-F]+) to ensure that only expected data types are processed from the tool output.
Audit Metadata