skills/frappe/skills/deep-app-audit/Gen Agent Trust Hub

deep-app-audit

Pass

Audited by Gen Agent Trust Hub on Nov 2, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses local command execution as its primary mechanism for auditing target applications and managing the audit lifecycle.
  • The orchestration script scripts/run_audit.py uses asyncio.create_subprocess_exec to launch agent CLI processes (e.g., Claude or other LLM harnesses) and asyncio.create_subprocess_shell to execute environment reset commands.
  • SKILL.md provides instructions for the coordinator to run various standard tools including bench, git, jq, uv, and python scripts to prepare the inventory and test site.
  • These operations are associated with the skill's primary purpose and are necessary for performing deep application audits.
  • [EXTERNAL_DOWNLOADS]: The skill references and fetches external resources required to perform security scans.
  • It includes instructions to clone semgrep rules from the official Frappe repository: https://github.com/frappe/semgrep-rules.
  • It utilizes standard tool installation patterns, such as uv tool install semgrep, to ensure the required auditing binaries are present.
  • All identified external references point to well-known vendor or tool repositories.
  • [INDIRECT_PROMPT_INJECTION]: The skill's architecture involves ingesting and analyzing untrusted source code from external Frappe applications, creating a potential surface for indirect injection.
  • Ingestion points: scripts/build_inventory.py parses the target application's Python source files using the ast module to build a call graph and identify sensitive sinks.
  • Boundary markers: The skill uses structured templates in prompts/ (e.g., scan.md, verify.md) that provide sub-agents with clear constraints, instructing them to audit only the provided target and follow specific security conventions defined in the skill's internal knowledge base.
  • Capability inventory: The orchestration scripts possess capabilities for file system access, network requests to the local test site, and execution of the audit agent CLI.
  • Sanitization: run_audit.py validates the JSON structure and mandatory fields of the result files produced by subordinate agents before proceeding with verification or reporting.
  • [CREDENTIALS_UNSAFE]: The skill utilizes hardcoded default credentials for the temporary, disposable audit environment.
  • SKILL.md specifies default passwords such as audit-admin-pw and audit-user-pw to be used for the test site created during the audit process.
  • These are placeholders for a restricted test environment and do not impact the security of production systems.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 2, 2026, 11:53 PM