social-poster-hardened
Fail
Audited by Gen Agent Trust Hub on Apr 21, 2026
Risk Level: HIGHCREDENTIALS_UNSAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/post.mjscontains a hardcoded API keyquack_5c6786fb7ac8f08c638d5db176d60b12b906b78ac63d21cf. Hardcoding secrets in source code is a high-risk practice that exposes credentials to any user with access to the skill files, potentially leading to unauthorized account access. - [DATA_EXFILTRATION]: The skill uses the
fetchAPI inscripts/post.mjsto send user-provided text to a remote endpoint athttps://vibepost-jpaulgrayson.replit.app/api/quack/post. This creates a channel where sensitive data could be sent to an external server if the agent is manipulated into including it in the post content. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted text input and has the capability to publish it externally. The
SAFETY.mdfile identifies this surface and attempts to mitigate it with behavioral instructions.- Ingestion points: CLI
--textargument inscripts/post.mjsused for the social media post content. - Boundary markers: Present in
SKILL.mdandSAFETY.mdas explicit instructions to the agent to confirm text and refuse reading local files for content. - Capability inventory: Network POST capability via
fetchinscripts/post.mjsto an external API. - Sanitization: Absent; the script directly transmits the provided string without validation or escaping.
- Ingestion points: CLI
- [COMMAND_EXECUTION]: The skill executes a local Node.js script
scripts/post.mjswhich performs network requests. This provides the primary mechanism for the agent to transmit data to external services.
Recommendations
- AI detected serious security threats
Audit Metadata