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

Ensure code based agent doesn't allow scope escalation #7569

Closed
Pwuts opened this issue Jul 23, 2024 — with Linear · 2 comments
Closed

Ensure code based agent doesn't allow scope escalation #7569

Pwuts opened this issue Jul 23, 2024 — with Linear · 2 comments

Comments

Copy link
Member

Pwuts commented Jul 23, 2024

Operations that should not be allowed (by default):

  • Executing shell commands through subprocess.run(..) or os.system(..)
  • Access files outside of the agent's file workspace
    • suggestion: inject a wrapped version of open() into the execution namespace
@Pwuts Pwuts self-assigned this Jul 23, 2024
@Pwuts Pwuts changed the title Ensure code based agent doesn't allow execution scope escalation Ensure code based agent doesn't allow scope escalation Jul 23, 2024
Copy link
Contributor

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 12, 2024
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant