Skip to content

Commit 55a9f2c

Browse files
authored
Merge pull request #5 from MacPaw/develop
Release 1.0.1
2 parents e21701b + 62cc38d commit 55a9f2c

File tree

4 files changed

+67
-1
lines changed

4 files changed

+67
-1
lines changed

Diff for: .github/workflows/security.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
pull_request:
3+
push:
4+
branches: [ main, develop ]
5+
6+
jobs:
7+
security-checker:
8+
name: Security checker
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
14+
- name: Setup PHP
15+
uses: shivammathur/setup-php@v2
16+
17+
- name: Install dependencies
18+
run: composer install --no-progress --no-interaction --prefer-dist
19+
20+
- name: Download local-php-security-checker
21+
run: curl -s -L -o local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64
22+
23+
- name: Run local-php-security-checker
24+
run: chmod +x local-php-security-checker && ./local-php-security-checker

Diff for: .github/workflows/static_analyse.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,22 @@ jobs:
5151

5252
- name: Run script
5353
run: composer validate
54+
55+
security-checker:
56+
name: Security checker
57+
runs-on: ubuntu-latest
58+
steps:
59+
- name: Checkout
60+
uses: actions/checkout@v2
61+
62+
- name: Setup PHP
63+
uses: shivammathur/setup-php@v2
64+
65+
- name: Install dependencies
66+
run: composer install --no-progress --no-interaction --prefer-dist
67+
68+
- name: Download local-php-security-checker
69+
run: curl -s -L -o local-php-security-checker https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64
70+
71+
- name: Run local-php-security-checker
72+
run: chmod +x local-php-security-checker && ./local-php-security-checker

Diff for: SECURITY.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Security Policy
2+
3+
## Reporting Security Issues
4+
If you believe you have found a security vulnerability in any MacPaw-owned repository, please report it to us through coordinated disclosure.
5+
6+
Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.
7+
8+
Instead, please send an email to security[@]macpaw.com.
9+
10+
Please include as much of the information listed below as you can to help us better understand and resolve the issue:
11+
12+
- The type of issue (e.g., buffer overflow, SQL injection, or cross-site scripting)
13+
- Full paths of source file(s) related to the manifestation of the issue
14+
- The location of the affected source code (tag/branch/commit or direct URL)
15+
- Any special configuration required to reproduce the issue
16+
- Step-by-step instructions to reproduce the issue
17+
- Proof-of-concept or exploit code (if possible)
18+
- Impact of the issue, including how an attacker might exploit the issue
19+
20+
This information will help us triage your report more quickly.
21+
22+
## Policy
23+
See MacPaw's [Vulnerability Disclosure Policy](https://macpaw.com/vulnerability-disclosure-policy)

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
"symfony/http-kernel": "^6.4|^7.0",
3939
"symfony/routing": "^6.4|^7.0",
4040
"phpstan/phpstan-symfony": "^1.3",
41-
"symfony/event-dispatcher": "^6.4"
41+
"symfony/event-dispatcher": "^6.4|^7.0"
4242
}
4343
}

0 commit comments

Comments
 (0)