Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Security Policy

## Trust model

PHP_CodeSniffer standards and configuration are not sandboxed.

Rulesets may load and execute PHP code supplied by the analyzed project, including custom sniffs and autoloaded files.
Repository-local PHPCS configuration should therefore be treated as executable project code.

Running PHP_CodeSniffer against an untrusted or attacker-modifiable checkout must be treated in the same way as running that checkout's tests, build scripts, or other development tooling.

CI environments processing untrusted contributions are responsible for appropriate isolation, including restricting access to credentials, secrets, privileged services, and sensitive network resources.

## Supported Versions

For all repositories in the PHPCSStandards organisation, the latest patch version of the current major is supported for security updates.
Expand Down
Loading