Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add plugin loading system#190

Draft
charles-cooper wants to merge 1 commit into
vyperlang:masterfrom
charles-cooper:feat/plugins
Draft

add plugin loading system#190
charles-cooper wants to merge 1 commit into
vyperlang:masterfrom
charles-cooper:feat/plugins

Conversation

@charles-cooper
Copy link
Copy Markdown
Member

What I did

How I did it

How to verify it

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Comment thread boa/plugins/__init__.py

def LOAD_PLUGINS():
for _, name, _ in pkgutil.iter_modules():
if name.startswith("boa_"):
Copy link
Copy Markdown
Contributor

@DanielSchiavini DanielSchiavini May 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be a vector for a dependency poison attack 🤔

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea i think so, but any plugin discovery system is vulnerable to that unless there is a whitelist

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not installing anything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants