Skip to content
Merged
Show file tree
Hide file tree
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
26 changes: 26 additions & 0 deletions .github/workflows/self-pnpm-audit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PNPM Audit

on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

concurrency:
group: pr-${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
audit:
name: audit:required
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup PNPM
uses: ./actions/setup-pnpm

- run: pnpm audit
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore-scripts=true
36 changes: 36 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Security Policy

DFINITY takes the security of our software products seriously, which includes all source code repositories under the [DFINITY](https://github.com/dfinity) GitHub organization.

> [!IMPORTANT] > [DFINITY Foundation](https://dfinity.org) has an [Internet Computer (ICP) Bug Bounty program](https://dfinity.org/bug-bounty/) that rewards researchers for finding and reporting vulnerabilities in the Internet Computer. Please check the scope and eligibility criteria outlined in the policy to see if the vulnerability you found qualifies for a reward.

## How to report a vulnerability

We appreciate your help in keeping our projects secure.
If you believe you have found a security vulnerability in any of our repositories, please report it responsibly to us as described below:

1. **Do not disclose the vulnerability publicly.** Public disclosure could be exploited by attackers before it can be fixed.
2. **Send an email to securitybugs@dfinity.org.** Please include the following information in your email:
- A description of the vulnerability
- Steps to reproduce the vulnerability
- Risk rating of the vulnerability
- Any other relevant information

We will respond to your report within 72 hours and work with you to fix the vulnerability as soon as possible.

### Security Updates

We are committed to fixing security vulnerabilities in a timely manner. Once a security vulnerability is reported, we will:

- Investigate the report and confirm the vulnerability.
- Develop a fix for the vulnerability.
- Release a new version of the project that includes the fix.
- Announce the security fix in the project's release notes.

## Preferred Language

We prefer all communications to be in English.

## Disclaimer

This security policy is subject to change at any time.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@
"prettier": "^3.2.5",
"rimraf": "^6.0.0",
"typescript": "^5.9.3"
},
"pnpm": {
"overrides": {
"brace-expansion": "^5.0.5"
}
}
}
11 changes: 7 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ packages:
- 'actions/extract-version'
- 'actions/submit-docs'
- 'lib/action-utils'

onlyBuiltDependencies:
- esbuild

minimumReleaseAge: 10080 # ignore dependency updates released less than 7 days ago
Loading