Skip to content

[ecs] Integrate security rules into ECS (#32)#5

Draft
coisa wants to merge 1 commit intomainfrom
security_sniffs
Draft

[ecs] Integrate security rules into ECS (#32)#5
coisa wants to merge 1 commit intomainfrom
security_sniffs

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 8, 2026

Summary

This pull request integrates recommended security rules into the Easy Coding Standard (ECS) configuration. It leverages PHPCS Security Audit sniffs and other best practices to ensure ECS identifies and alerts about insecure PHP code patterns, such as dangerous functions, missing escapes, lack of input validation, unsafe file handling, and insecure headers.

Changes

Testing

  • Run Running code style checks and fixes...
  • Review ECS output for detection of unsafe code patterns

Closes #32

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa coisa marked this pull request as draft April 11, 2026 16:07
@coisa coisa self-assigned this Apr 11, 2026
@coisa coisa changed the title feat: add PHPCS security audit sniffs to ECS configuration Integração de regras de segurança ao ECS (Easy Coding Standard) Apr 11, 2026
@coisa coisa changed the title Integração de regras de segurança ao ECS (Easy Coding Standard) [ecs] Integrate security rules into ECS (#32) Apr 11, 2026
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.

Integrate security rules into ECS (Easy Coding Standard)

1 participant