Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter plugin triggers security alerts due to repeated logins when posting #1969

Closed
mrsalitre opened this issue Jan 7, 2025 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@mrsalitre
Copy link

mrsalitre commented Jan 7, 2025

Describe the bug

Every time the agent posts via the Twitter plugin, a security alert is triggered by Twitter. This happens because the plugin attempts to log in each time the post.ts action is called, instead of using an existing session.

To Reproduce

  1. Add the plugin-twitter to your Eliza configuration. You can do this in one of the following locations:
  • defaultCharacter.ts
  • agent/src/index.ts
  • Your JSON character file.
  1. Trigger a post action using the agent.

Expected behavior

The agent should not attempt to log in each time a post is created. Instead, it should use the session already saved by client-twitter.

Screenshots

IMG_3315

Screenshot 2025-01-07 at 16 50 50

Additional context

  • Agent Version: v0.1.7
  • Plugin Version: N/A
  • Related Issues: N/A
@mrsalitre mrsalitre added the bug Something isn't working label Jan 7, 2025
Copy link
Contributor

github-actions bot commented Jan 7, 2025

Hello @mrsalitre! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor!

@mrsalitre
Copy link
Author

Fixed: #1974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants