web-security
Warn
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/scan-secrets.mjsinvokesexecFileSyncto rungit ls-filesandgit check-ignore. These commands are used to verify whether sensitive files are tracked by git or ignored by the project's configuration during the security scan. - [DYNAMIC_EXECUTION]: In
scripts/lib/browser.mjs, the skill uses dynamicimport()to load theplaywrightorplaywright-corelibrary from a computed path. Additionally, it searches for browser executables across various system and user-specific locations, including user cache directories (e.g.,~/Library/Caches/ms-playwright), which is a form of dynamic environment discovery. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves ingesting and processing untrusted data from the site being audited, which presents a surface for indirect prompt injection attacks.
- Ingestion points:
scripts/lib/pages.mjsfetches site content through web crawling and headless browser rendering;scripts/scan-secrets.mjsrecursively reads local source code and configuration files. - Boundary markers: The instructions do not provide the agent with specific delimiters or "ignore instructions" warnings to apply when processing the external data it collects.
- Capability inventory: The skill possesses extensive capabilities, including reading local files, making external network requests, executing git commands, and controlling a headless browser.
- Sanitization: The collected data is parsed and reported to the agent without explicit sanitization or filtering to prevent the execution of instructions embedded in the audited content.
- [CREDENTIALS_UNSAFE]:
scripts/scan-secrets.mjscontains comprehensive regex patterns for detecting hardcoded credentials, such as AWS access keys, Stripe secret keys, and GitHub tokens. It also accesses environment files like.env. Although this behavior is intended for auditing and includes redaction logic to prevent full secrets from being reported, the ability to read these credentials represents a sensitive operation.
Audit Metadata