Skip to content

Commit f752306

Browse files
authored
Merge pull request #3 from Nec0ti/master
aa
2 parents 19e40a4 + 47882a8 commit f752306

4 files changed

Lines changed: 88 additions & 18 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 10
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# LibrisAPI Security Policy
2+
3+
At LibrisAPI, we are committed to maintaining the highest level of security for our users' data. This document outlines our security policies and how to report security vulnerabilities.
4+
5+
## Supported Versions
6+
7+
| Version | Support Status |
8+
| ------- | -------------- |
9+
| 1.x | Supported |
10+
| < 1.0 | Not Supported |
11+
12+
Security updates will only be applied to supported versions.
13+
14+
## Reporting Security Vulnerabilities
15+
16+
If you discover a security vulnerability in LibrisAPI, please report it to us by following these steps:
17+
18+
1. **Description:** Prepare a detailed report that includes a description of the vulnerability, how to reproduce it, and the potential impact.
19+
2. **Contact:** Send your report via email to [core@necoti.dev](mailto:core@necoti.dev). Please encrypt your email (e.g., using GPG) and include your public key.
20+
3. **Confidentiality:** Avoid disclosing the vulnerability publicly. After contacting us, we will work together to resolve the issue and release the necessary updates.
21+
22+
## Security Measures
23+
24+
The following security measures are implemented in LibrisAPI:
25+
26+
* **Password Hashing:** User passwords are securely hashed using bcryptjs.
27+
* **JWT (JSON Web Token) Authentication:** Authentication is performed securely using JWT.
28+
* **Input Validation:** User inputs are validated to prevent potential security vulnerabilities.
29+
* **HTTPS Usage:** Communication between the API and users is encrypted using the HTTPS protocol.
30+
* **Dependency Updates:** All dependencies used in the project are regularly updated to patch security vulnerabilities.
31+
* **Rate Limiting:** Request rates are limited to prevent abuse of the API.
32+
33+
## Disclaimer
34+
35+
LibrisAPI is provided "as is" and without any warranty. We are not responsible for any security breaches or data loss resulting from the use of this project.
36+
37+
## Contact
38+
39+
If you have any security-related questions or concerns, please contact us at [core@necoti.dev](mailto:core@necoti.dev).
40+
41+
This core policy is continuously updated to ensure the core of LibrisAPI. Please check back regularly.

package-lock.json

Lines changed: 33 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"dev": "nodemon server.js"
99
},
1010
"dependencies": {
11-
"bcryptjs": "^2.4.3",
11+
"bcryptjs": "^3.0.2",
1212
"cors": "^2.8.5",
1313
"dotenv": "^16.3.1",
1414
"express": "^4.18.2",
1515
"express-rate-limit": "^7.5.0",
1616
"jsonwebtoken": "^9.0.2",
17-
"mongoose": "^8.0.3"
17+
"mongoose": "^8.12.1"
1818
},
1919
"devDependencies": {
2020
"nodemon": "^3.0.2"

0 commit comments

Comments
 (0)