legacy-modernizer
Pass
Audited by Gen Agent Trust Hub on Aug 27, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill includes automated assessment scripts that read and parse external codebase files, creating an attack surface where malicious content within a legacy project could attempt to influence the agent's behavior.
- Ingestion points:
references/system-assessment.mdusesPath.rglobto discover and read all Python source files in a target directory. - Boundary markers: Absent. There are no specific delimiters or "ignore previous instructions" warnings applied to the data being read from the files.
- Capability inventory:
references/system-assessment.mdutilizessubprocess.run(for git) andPath.write_text(for reporting). - Sanitization: Absent. The script performs static analysis via the
astmodule and regular expressions without sanitizing strings that might be interpreted as instructions. - [COMMAND_EXECUTION]: The assessment logic in
references/system-assessment.mdperforms legitimate shell command execution to analyze project history. - Evidence:
subprocess.run(['git', 'log', '--format=format:', '--name-only'], ...)is used to determine which files are most frequently changed to identify maintenance hotspots. - [DATA_EXFILTRATION]: The migration templates include code for establishing network connections, which is a potential surface for data movement.
- Evidence:
references/migration-strategies.mdprovides a proxy implementation usinghttpx.AsyncClientto route traffic between legacy and modern service endpoints.
Audit Metadata