mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
chore(deps): deps-security-agent daily audit
- Ran `npm audit` and `npm outdated`. - Generated `artifacts/npm-audit.json`, `artifacts/npm-outdated.json`, and `artifacts/deps-report.md`. - Identified minor vulnerabilities in `ajv` (via `serve`) and outdated protocol/tools packages. - Created `test_logs` and completion log. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
5383e83e24
commit
bf76a9a8ca
6 files changed
+249
No files matched your search
@@ -0,0 +1,57 @@
|
||||
# Dependency Security & Health Report
|
||||
**Date:** 2026-02-18
|
||||
**Agent:** deps-security-agent
|
||||
|
||||
## 1. Vulnerability Audit
|
||||
*Source: `npm audit`*
|
||||
|
||||
### Moderate Severity
|
||||
* **ajv** (<8.18.0)
|
||||
* **Issue:** ReDoS when using `$data` option.
|
||||
* **Path:** `serve` > `ajv`
|
||||
* **Status:** `serve` is a devDependency used for local development (`npm start`).
|
||||
* **Action:** Investigate `serve` updates or overrides. The suggested fix to downgrade to `6.5.8` is incorrect as we are on `^14.2.5`. Likely need to wait for `serve` to update its dependencies or use `overrides`.
|
||||
|
||||
## 2. Outdated Packages
|
||||
*Source: `npm outdated`*
|
||||
|
||||
### Protocol / Critical (Manual Review Required)
|
||||
* **nostr-tools**
|
||||
* Current: `2.19.4`
|
||||
* Wanted: `2.23.1`
|
||||
* Latest: `2.23.1`
|
||||
* **Action:** Requires manual review and testing of NIP compliance before upgrade.
|
||||
|
||||
### Safe Candidates (Minor/Patch)
|
||||
* **stylelint**
|
||||
* Current: `16.12.0`
|
||||
* Wanted: `16.26.1`
|
||||
* Latest: `17.3.0`
|
||||
* **Action:** Safe to upgrade to `16.26.1` in next cycle.
|
||||
* **prettier-plugin-tailwindcss**
|
||||
* Current: `0.6.14`
|
||||
* Wanted: `0.6.14` (Wait, latest is 0.7.2)
|
||||
* **Action:** Minor update available to 0.7.2.
|
||||
|
||||
### Major Upgrades (Breaking Changes)
|
||||
* **tailwindcss**
|
||||
* Current: `3.4.19`
|
||||
* Latest: `4.1.18`
|
||||
* **Action:** Major migration required (v3 -> v4). Create a dedicated task.
|
||||
* **stylelint-config-standard**
|
||||
* Current: `36.0.1`
|
||||
* Latest: `40.0.0`
|
||||
* **Action:** Major update.
|
||||
* **pixelmatch**
|
||||
* Current: `5.3.0`
|
||||
* Latest: `7.1.0`
|
||||
* **Action:** Major update.
|
||||
* **postcss-import**
|
||||
* Current: `15.1.0`
|
||||
* Latest: `16.1.1`
|
||||
* **Action:** Major update.
|
||||
|
||||
## 3. Recommendations
|
||||
1. **High Priority**: Monitor `serve` for updates that bump `ajv`.
|
||||
2. **Maintenance**: Schedule upgrade for `stylelint` (minor).
|
||||
3. **Refactor**: Plan `tailwindcss` v4 migration.
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"auditReportVersion": 2,
|
||||
"vulnerabilities": {
|
||||
"ajv": {
|
||||
"name": "ajv",
|
||||
"severity": "moderate",
|
||||
"isDirect": false,
|
||||
"via": [
|
||||
{
|
||||
"source": 1113214,
|
||||
"name": "ajv",
|
||||
"dependency": "ajv",
|
||||
"title": "ajv has ReDoS when using `$data` option",
|
||||
"url": "https://github.com/advisories/GHSA-2g4f-4pwh-qvx6",
|
||||
"severity": "moderate",
|
||||
"cwe": [
|
||||
"CWE-400"
|
||||
],
|
||||
"cvss": {
|
||||
"score": 0,
|
||||
"vectorString": null
|
||||
},
|
||||
"range": "<8.18.0"
|
||||
}
|
||||
],
|
||||
"effects": [
|
||||
"serve"
|
||||
],
|
||||
"range": "<8.18.0",
|
||||
"nodes": [
|
||||
"node_modules/ajv"
|
||||
],
|
||||
"fixAvailable": {
|
||||
"name": "serve",
|
||||
"version": "6.5.8",
|
||||
"isSemVerMajor": true
|
||||
}
|
||||
},
|
||||
"serve": {
|
||||
"name": "serve",
|
||||
"severity": "moderate",
|
||||
"isDirect": true,
|
||||
"via": [
|
||||
"ajv"
|
||||
],
|
||||
"effects": [],
|
||||
"range": ">=7.0.0",
|
||||
"nodes": [
|
||||
"node_modules/serve"
|
||||
],
|
||||
"fixAvailable": {
|
||||
"name": "serve",
|
||||
"version": "6.5.8",
|
||||
"isSemVerMajor": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"vulnerabilities": {
|
||||
"info": 0,
|
||||
"low": 0,
|
||||
"moderate": 2,
|
||||
"high": 0,
|
||||
"critical": 0,
|
||||
"total": 2
|
||||
},
|
||||
"dependencies": {
|
||||
"prod": 111,
|
||||
"dev": 340,
|
||||
"optional": 53,
|
||||
"peer": 0,
|
||||
"peerOptional": 0,
|
||||
"total": 477
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"nostr-tools": {
|
||||
"current": "2.19.4",
|
||||
"wanted": "2.23.1",
|
||||
"latest": "2.23.1",
|
||||
"dependent": "app",
|
||||
"location": "/app/node_modules/nostr-tools"
|
||||
},
|
||||
"pixelmatch": {
|
||||
"current": "5.3.0",
|
||||
"wanted": "5.3.0",
|
||||
"latest": "7.1.0",
|
||||
"dependent": "app",
|
||||
"location": "/app/node_modules/pixelmatch"
|
||||
},
|
||||
"postcss-import": {
|
||||
"current": "15.1.0",
|
||||
"wanted": "15.1.0",
|
||||
"latest": "16.1.1",
|
||||
"dependent": "app",
|
||||
"location": "/app/node_modules/postcss-import"
|
||||
},
|
||||
"prettier-plugin-tailwindcss": {
|
||||
"current": "0.6.14",
|
||||
"wanted": "0.6.14",
|
||||
"latest": "0.7.2",
|
||||
"dependent": "app",
|
||||
"location": "/app/node_modules/prettier-plugin-tailwindcss"
|
||||
},
|
||||
"stylelint": {
|
||||
"current": "16.12.0",
|
||||
"wanted": "16.26.1",
|
||||
"latest": "17.3.0",
|
||||
"dependent": "app",
|
||||
"location": "/app/node_modules/stylelint"
|
||||
},
|
||||
"stylelint-config-standard": {
|
||||
"current": "36.0.1",
|
||||
"wanted": "36.0.1",
|
||||
"latest": "40.0.0",
|
||||
"dependent": "app",
|
||||
"location": "/app/node_modules/stylelint-config-standard"
|
||||
},
|
||||
"tailwindcss": {
|
||||
"current": "3.4.19",
|
||||
"wanted": "3.4.19",
|
||||
"latest": "4.1.18",
|
||||
"dependent": "app",
|
||||
"location": "/app/node_modules/tailwindcss"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user