skills/regents-ai/skills/chain-events/Gen Agent Trust Hub

chain-events

Pass

Audited by Gen Agent Trust Hub on Oct 15, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill documents and implements several security best practices:
  • Secret Management: Guidelines explicitly state that provider URLs (which contain API keys) must be stored in environment variables and never logged.
  • Data Validation: Blockchain addresses and transaction hashes are strictly validated using regular expression patterns (e.g., ~r/\A0x[0-9a-f]{40}\z/).
  • Secure Database Operations: Database interactions use parameterized queries (pg_advisory_xact_lock) and the Ash framework's resource-based abstractions, preventing SQL injection.
  • Authorization Policies: Access control is implemented using Ash policies, restricting administrative actions (like advancing cursors or recording events) to a specific system actor role.
  • SSRF Prevention: The design explicitly instructs the agent to use internal trusted RPC nodes for verification rather than potentially malicious user-supplied RPC URLs.
  • [INDIRECT_PROMPT_INJECTION]: The skill defines a system for ingesting untrusted data from blockchain logs.
  • Ingestion Points: Data enters the system via the logs/4 function in the chain client defined in watcher.md.
  • Boundary Markers: The skill utilizes Ash.Resource schemas and explicit regex-based validations to enforce data boundaries.
  • Capability Inventory: The skill involves database writes and PubSub notifications based on external events.
  • Sanitization: External inputs are sanitized through lowercasing, hex-string pattern matching, and raw decimal conversion.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 15, 2026, 05:35 PM