performing-security-code-review
Warn
Audited by Gen Agent Trust Hub on May 8, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The file
assets/example_code_vulnerable.pycontains a functional example of command injection in thecommand_injection_examplefunction, which usessubprocess.run(command, shell=True)with unsanitized string concatenation. - [REMOTE_CODE_EXECUTION]: The file
assets/example_code_vulnerable.pyincludes an insecure deserialization example usingpickle.loads()on base64-encoded input. This technique can be used to execute arbitrary code if the processed data is untrusted. - [EXTERNAL_DOWNLOADS]: The instructions in
SKILL.mdand the README forscripts/dependency_checker.pydescribe running dependency audits (e.g.,npm audit,pip audit), which involve connecting to external package registries to retrieve vulnerability databases. - [PROMPT_INJECTION]: The skill exhibits surface area for indirect prompt injection (Category 8):
- Ingestion points: The skill is designed to scan and read entire codebases or specific source files as part of its primary review function, as described in
SKILL.mdand implemented inscripts/code_analyzer.py. - Boundary markers: There are no explicit instructions or markers defined to help the agent distinguish between its own system instructions and potentially malicious instructions embedded in the code being reviewed.
- Capability inventory: The skill is granted powerful tool access in
SKILL.md, includingBash(cmd:*),Write, andEdit, which could be abused if the agent is manipulated by instructions found in the analyzed files. - Sanitization: No sanitization or validation logic is present to filter out or escape instructions contained within the ingested project files.
Audit Metadata