Merge pull request #2508 from PR0M3TH3AN/agents/daily/deps-security-agent-8835369508755284956

Daily Deps Security Audit
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-14 08:58:49 -05:00
commit daa33daeec
6 files changed
+137 -27

No files matched your search

+20 -27
View File
@@ -1,33 +1,26 @@
# Daily Dependency & Security Report
# Dependency Security Report: 2026-02-14
**Date**: 2026-02-14
**Agent**: deps-security-agent
## Summary
- **Vulnerabilities**: 0
- **Outdated Packages**: 7
- **Critical/High Issues**: 0
## 1. Vulnerabilities (npm audit)
## Vulnerabilities
No known vulnerabilities found.
- **Total Vulnerabilities**: 0
- **Critical**: 0
- **High**: 0
- **Moderate**: 0
- **Low**: 0
## Outdated Packages
*No vulnerabilities found.*
## 2. Outdated Packages
| Package | Current | Wanted | Latest | Type | Action |
| Package | Current | Wanted | Latest | Type | Status |
|---------|---------|--------|--------|------|--------|
| `nostr-tools` | 2.19.4 | 2.23.1 | 2.23.1 | Dependency (Protocol) | **SKIP** (Requires Review) |
| `pixelmatch` | 5.3.0 | 5.3.0 | 7.1.0 | Dependency | **SKIP** (Major) |
| `postcss-import` | 15.1.0 | 15.1.0 | 16.1.1 | Dependency | **SKIP** (Major) |
| `prettier-plugin-tailwindcss` | 0.6.14 | 0.6.14 | 0.7.2 | DevDependency | **SKIP** (Minor) |
| `stylelint` | 16.12.0 | 16.26.1 | 17.3.0 | DevDependency | **SKIP** (Major/Minor) |
| `stylelint-config-standard` | 36.0.1 | 36.0.1 | 40.0.0 | DevDependency | **SKIP** (Major) |
| `tailwindcss` | 3.4.19 | 3.4.19 | 4.1.18 | DevDependency | **SKIP** (Major) |
| `nostr-tools` | 2.19.4 | 2.23.1 | 2.23.1 | dep | **REQUIRES REVIEW** (Crypto) |
| `stylelint` | 16.12.0 | 16.26.1 | 17.3.0 | devDep | Safe Candidate |
| `pixelmatch` | 5.3.0 | 5.3.0 | 7.1.0 | devDep | Major |
| `postcss-import` | 15.1.0 | 15.1.0 | 16.1.1 | devDep | Major |
| `prettier-plugin-tailwindcss` | 0.6.14 | 0.6.14 | 0.7.2 | devDep | Major/Minor |
| `stylelint-config-standard` | 36.0.1 | 36.0.1 | 40.0.0 | devDep | Major |
| `tailwindcss` | 3.4.19 | 3.4.19 | 4.1.18 | devDep | Major |
## 3. Summary & Next Steps
- The repository is secure (0 vulnerabilities).
- `nostr-tools` needs a manual upgrade review.
- Several major upgrades are available for dev tooling (Tailwind, Stylelint).
- No auto-upgrades were performed in this run.
## Recommendations
1. **nostr-tools**: Open an issue to review the changes in 2.23.1 and verify NIP compatibility.
2. **stylelint**: Safe to upgrade to 16.26.1.
3. **tailwindcss**: Plan migration to v4.
+11
View File
@@ -0,0 +1,11 @@
# Context: 2026-02-14
## Environment
- Node: v22.22.0
- NPM: 10.9.2 (Assuming based on node version, but I'll cat the file)
- Package Manager: npm
- CI Matrix: Linux x64
## Run Metadata
- Agent: deps-security-agent
- Timestamp: 2026-02-14T13:35:20Z
@@ -0,0 +1,16 @@
# Decisions: 2026-02-14
## Triage Decisions
### nostr-tools (2.19.4 -> 2.23.1)
- **Decision**: SKIP (Requires Review)
- **Reason**: Security-sensitive library (NIP-46, NIP-07, Crypto). Policy prohibits auto-upgrade without human review.
### stylelint (16.12.0 -> 16.26.1)
- **Decision**: CANDIDATE (Safe)
- **Reason**: Minor version update within same major version (16.x). Low risk devDependency.
- **Action**: Deferred to manual PR or separate task to keep scheduler run clean.
### Major Upgrades (pixelmatch, postcss-import, stylelint-config-standard, tailwindcss)
- **Decision**: SKIP (Major)
- **Reason**: Major version bumps require breaking change analysis and potential migration.
@@ -0,0 +1,26 @@
# Dependency Security Report: 2026-02-14
## Summary
- **Vulnerabilities**: 0
- **Outdated Packages**: 7
- **Critical/High Issues**: 0
## Vulnerabilities
No known vulnerabilities found.
## Outdated Packages
| Package | Current | Wanted | Latest | Type | Status |
|---------|---------|--------|--------|------|--------|
| `nostr-tools` | 2.19.4 | 2.23.1 | 2.23.1 | dep | **REQUIRES REVIEW** (Crypto) |
| `stylelint` | 16.12.0 | 16.26.1 | 17.3.0 | devDep | Safe Candidate |
| `pixelmatch` | 5.3.0 | 5.3.0 | 7.1.0 | devDep | Major |
| `postcss-import` | 15.1.0 | 15.1.0 | 16.1.1 | devDep | Major |
| `prettier-plugin-tailwindcss` | 0.6.14 | 0.6.14 | 0.7.2 | devDep | Major/Minor |
| `stylelint-config-standard` | 36.0.1 | 36.0.1 | 40.0.0 | devDep | Major |
| `tailwindcss` | 3.4.19 | 3.4.19 | 4.1.18 | devDep | Major |
## Recommendations
1. **nostr-tools**: Open an issue to review the changes in 2.23.1 and verify NIP compatibility.
2. **stylelint**: Safe to upgrade to 16.26.1.
3. **tailwindcss**: Plan migration to v4.
+53
View File
@@ -0,0 +1,53 @@
# Test Log: 2026-02-14
## Environment
- Timestamp: 2026-02-14T13:35:20Z
- Agent: deps-security-agent
## Execution Log
### 1. Environment Check
```bash
node -v
v22.22.0
npm -v
10.9.2
```
### 2. Clean Install
```bash
npm ci
# Output: added 424 packages, and audited 425 packages in 20s
```
### 3. Audits
```bash
npm audit --json > artifacts/npm-audit.json
# Exit Code: 0 (No vulnerabilities)
```
```bash
npm outdated --json > artifacts/npm-outdated.json
# Exit Code: 1 (Outdated packages found)
```
## Findings
### Vulnerabilities
- Total: 0
- Critical: 0
- High: 0
- Moderate: 0
- Low: 0
### Outdated Packages
- nostr-tools: 2.19.4 -> 2.23.1 (Wanted: 2.23.1)
- pixelmatch: 5.3.0 -> 7.1.0
- postcss-import: 15.1.0 -> 16.1.1
- prettier-plugin-tailwindcss: 0.6.14 -> 0.7.2
- stylelint: 16.12.0 -> 17.3.0 (Wanted: 16.26.1)
- stylelint-config-standard: 36.0.1 -> 40.0.0
- tailwindcss: 3.4.19 -> 4.1.18
## Tests
No upgrades attempted in this run. No tests executed.
+11
View File
@@ -0,0 +1,11 @@
# TODO: 2026-02-14
## Upgrade Candidates
- [ ] Upgrade `stylelint` from 16.12.0 to 16.26.1 (Minor)
- [ ] Upgrade `nostr-tools` from 2.19.4 to 2.23.1 (Requires Manual Review)
## Major Upgrades Needed
- [ ] `tailwindcss` v4 migration (Current: 3.4.19)
- [ ] `stylelint-config-standard` v40 migration (Current: 36.0.1)
- [ ] `postcss-import` v16 migration (Current: 15.1.0)
- [ ] `pixelmatch` v7 migration (Current: 5.3.0)