critique-toy
Warn
Audited by Gen Agent Trust Hub on Oct 12, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The test suite (
scripts/tests/test_checks_toy.py) usesimportlib.utilto dynamically load and execute the skill's logic fromscripts/checks.pyvia computed file paths. Additionally, the script itself dynamically modifiessys.pathto resolve internal dependencies. While used for testing and environment setup, these patterns represent dynamic code loading which can be abused if file paths are manipulated. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process user-supplied markdown artifacts (notices, memos, drafts) for review. This introduces a vulnerability surface where malicious instructions embedded in the artifacts could influence the agent's behavior or the output of the analysis script.
- Ingestion points: Ingests markdown text from the
artifact.textproperty inscripts/checks.py. - Boundary markers: No explicit delimiter or instruction-ignoring markers are applied to the artifact text within the processing script.
- Capability inventory: The skill executes a local Python script (
scripts/checks.py) and instructs the agent to delegate tasks to acritique-criticsubagent tool. - Sanitization: The Python script performs basic string matching and regex parsing but does not sanitize or escape the content for safe interpolation into the agent's context.
Audit Metadata