Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Don't print out shell snippets if we find anything malicious #35

Closed
jhrozek opened this issue Nov 18, 2024 · 2 comments
Closed

Don't print out shell snippets if we find anything malicious #35

jhrozek opened this issue Nov 18, 2024 · 2 comments

Comments

@jhrozek
Copy link
Contributor

jhrozek commented Nov 18, 2024

This might be a little too much now, but since shell snippets are typically one-liners we might want to just buffer them before evaluation (this would not slow the execution too much), maybe if we find that the snippet is longer we can let it through line-by-line. We'd then evaluate the snippet and only let it through if it doesn't contain any malicious packages.

@lukehinds
Copy link

@lukehinds add to features / roadmap

@lukehinds lukehinds modified the milestones: 0.1.0-alpha.2 (public), 0.2.0 Dec 14, 2024
@lukehinds
Copy link

@lukehinds consolidate into #34

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants