skills/lancetw/skills/app-state-fix/Gen Agent Trust Hub

app-state-fix

Pass

Audited by Gen Agent Trust Hub on Nov 13, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the user's codebase which could theoretically contain malicious instructions designed to influence the agent's refactoring or reporting logic.
  • Ingestion points: Source code files located in the path provided via $ARGUMENTS (or the project root) are read and analyzed in Step 1 and Step 2.
  • Boundary markers: The instructions do not define specific delimiters or "ignore embedded instructions" warnings to separate codebase content from the agent's operational context.
  • Capability inventory: The skill is capable of file system writes (Step 3: Convert) and command execution (Step 3: Pin/Hold using the repository's own test runner).
  • Sanitization: No sanitization or content validation is performed on the ingested source code before it influences the agent's decisions.
  • [COMMAND_EXECUTION]: To ensure the safety of refactoring, the skill executes the project's existing test runner.
  • Evidence: Step 3 (Pin/Hold) explicitly instructs the agent to "write tests... and see them pass on the current code" using the "repo's own runner". This involves executing arbitrary local tools defined within the project environment.
  • [DYNAMIC_EXECUTION]: The skill generates new source code and test cases at runtime, which are subsequently executed to verify behavior.
  • Evidence: Step 3 involves replacing flags and nullables with new types/structures and writing new test cases to drive reachable impossible states, which are then processed by the local execution environment (test runner).
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 13, 2026, 10:06 AM