Skip to content

SECURITY.md: treat PAC files as trusted input and narrow scope - #272

Merged
manugarg merged 1 commit into
mainfrom
security-scope
Nov 10, 2026
Merged

manugarg merged 1 commit into
mainfrom
security-scope

Conversation

@manugarg

Copy link
Copy Markdown
Owner

Narrows the security policy scope:

  • Adds a trust model: PAC files are programs, run unsandboxed in QuickJS. Only load PAC files you trust.
  • Out of scope: anything that needs an attacker-controlled PAC file (including engine memory corruption and resource use), QuickJS bugs (report upstream), bad values from the embedding application or command line, build/install-time and local-only issues, build/CI/test code, and unverified reports from scanners, fuzzers or AI agents.
  • In scope: issues in pacparser's own code that can be triggered without controlling the PAC file, e.g. through a crafted URL or host name.
  • Notes that repeated out-of-scope reporters may be blocked.

PAC files are programs run unsandboxed in QuickJS, so issues that need an
attacker-controlled PAC file are out of scope, as are QuickJS bugs (report
upstream), bad values from the embedding application or command line,
build/install-time and local-only issues, and unverified reports from
automated tools or AI agents.
@manugarg
manugarg merged commit bd81011 into main Nov 10, 2026
25 checks passed
@manugarg
manugarg deleted the security-scope branch November 10, 2026 07:31
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant