nextjs-sentinel 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.fr.md +1 -51
- package/README.md +1 -90
- package/package.json +1 -1
- package/skills/nextjs-fingerprint-hardening/SKILL.md +1 -1
- package/skills/nextjs-fix/SKILL.md +1 -1
- package/skills/nextjs-sentinel/SKILL.md +2 -2
- package/skills/nextjs-sentinel/scripts/sentinel-core.js +1 -1
- package/skills/nextjs-upgrade/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to Next.js Sentinel are documented here. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
|
|
5
5
|
[Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [1.0.2] - 2026-12-05
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Remove the Project layout section from READMEs.
|
|
12
|
+
|
|
7
13
|
## [1.0.1] - 2026-12-05
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/README.fr.md
CHANGED
|
@@ -277,7 +277,7 @@ Le JSON est stable et pensé pour la CI :
|
|
|
277
277
|
```json
|
|
278
278
|
{
|
|
279
279
|
"tool": "nextjs-sentinel",
|
|
280
|
-
"version": "1.0.
|
|
280
|
+
"version": "1.0.2",
|
|
281
281
|
"target": { "mode": "repo", "repo": "/app" },
|
|
282
282
|
"summary": {
|
|
283
283
|
"score": 82,
|
|
@@ -342,56 +342,6 @@ Un score élevé n'annule pas un constat critique. La sévérité prime toujours
|
|
|
342
342
|
| Serveur MCP (`.mcp.json`) | Outils `scan_repo`, `scan_url`, `diff_reports`. Aussi déclaré pour Gemini CLI. |
|
|
343
343
|
| Hook après modification | Désactivé par défaut. Définissez `NEXTJS_SENTINEL_AUTOSCAN=1` pour re-scanner après une modification de `next.config.*`, `middleware.*`, `proxy.*`, `Dockerfile` ou `.env*`, et obtenir les constats de ce fichier. |
|
|
344
344
|
|
|
345
|
-
## Structure du projet
|
|
346
|
-
|
|
347
|
-
```text
|
|
348
|
-
nextjs-sentinel/
|
|
349
|
-
├── .claude-plugin/
|
|
350
|
-
│ ├── plugin.json
|
|
351
|
-
│ └── marketplace.json
|
|
352
|
-
├── .codex-plugin/plugin.json
|
|
353
|
-
├── .agents/plugins/marketplace.json
|
|
354
|
-
├── gemini-extension.json
|
|
355
|
-
├── GEMINI.md
|
|
356
|
-
├── .mcp.json
|
|
357
|
-
├── agents/
|
|
358
|
-
│ ├── openai.yaml
|
|
359
|
-
│ └── sentinel-validator.md
|
|
360
|
-
├── assets/
|
|
361
|
-
│ ├── composer-icon.svg
|
|
362
|
-
│ ├── how-it-works.svg
|
|
363
|
-
│ ├── icon.png
|
|
364
|
-
│ ├── logo.png
|
|
365
|
-
│ ├── logo.svg
|
|
366
|
-
│ ├── scoring.svg
|
|
367
|
-
│ └── screenshots/
|
|
368
|
-
│ ├── dashboard-part1.png
|
|
369
|
-
│ ├── dashboard-part2.png
|
|
370
|
-
│ └── dashboard-part3.png
|
|
371
|
-
├── commands/
|
|
372
|
-
├── hooks/
|
|
373
|
-
├── mcp/server.js
|
|
374
|
-
├── skills/
|
|
375
|
-
│ ├── nextjs-fingerprint-hardening/SKILL.md
|
|
376
|
-
│ ├── nextjs-fix/SKILL.md
|
|
377
|
-
│ ├── nextjs-upgrade/SKILL.md
|
|
378
|
-
│ └── nextjs-sentinel/
|
|
379
|
-
│ ├── SKILL.md
|
|
380
|
-
│ ├── agents/openai.yaml
|
|
381
|
-
│ ├── references/
|
|
382
|
-
│ ├── scripts/
|
|
383
|
-
│ └── templates/report.html
|
|
384
|
-
├── scripts/package_plugins.js
|
|
385
|
-
├── README.md
|
|
386
|
-
├── README.fr.md
|
|
387
|
-
├── LICENSE
|
|
388
|
-
├── SECURITY.md
|
|
389
|
-
├── CHANGELOG.md
|
|
390
|
-
├── .github/workflows/test.yml
|
|
391
|
-
├── examples/
|
|
392
|
-
├── evals/
|
|
393
|
-
└── tests/
|
|
394
|
-
```
|
|
395
345
|
|
|
396
346
|
## Développement
|
|
397
347
|
|
package/README.md
CHANGED
|
@@ -275,7 +275,7 @@ The JSON report is stable and designed for CI:
|
|
|
275
275
|
```json
|
|
276
276
|
{
|
|
277
277
|
"tool": "nextjs-sentinel",
|
|
278
|
-
"version": "1.0.
|
|
278
|
+
"version": "1.0.2",
|
|
279
279
|
"target": { "mode": "repo", "repo": "/app" },
|
|
280
280
|
"summary": {
|
|
281
281
|
"score": 82,
|
|
@@ -340,95 +340,6 @@ A high score does not cancel a critical finding. Severity always wins.
|
|
|
340
340
|
| MCP server (`.mcp.json`) | Tools `scan_repo`, `scan_url`, `diff_reports`. Also declared for Gemini CLI. |
|
|
341
341
|
| Post-edit hook | Off by default. Set `NEXTJS_SENTINEL_AUTOSCAN=1` to re-scan after edits to `next.config.*`, `middleware.*`, `proxy.*`, `Dockerfile`, or `.env*`, and get findings for that file. |
|
|
342
342
|
|
|
343
|
-
## Project layout
|
|
344
|
-
|
|
345
|
-
```text
|
|
346
|
-
nextjs-sentinel/
|
|
347
|
-
├── .claude-plugin/
|
|
348
|
-
│ ├── plugin.json
|
|
349
|
-
│ └── marketplace.json
|
|
350
|
-
├── .codex-plugin/
|
|
351
|
-
│ └── plugin.json
|
|
352
|
-
├── .agents/plugins/
|
|
353
|
-
│ └── marketplace.json
|
|
354
|
-
├── gemini-extension.json
|
|
355
|
-
├── GEMINI.md
|
|
356
|
-
├── .mcp.json
|
|
357
|
-
├── agents/
|
|
358
|
-
│ ├── openai.yaml
|
|
359
|
-
│ └── sentinel-validator.md
|
|
360
|
-
├── assets/
|
|
361
|
-
│ ├── composer-icon.svg
|
|
362
|
-
│ ├── how-it-works.svg
|
|
363
|
-
│ ├── icon.png
|
|
364
|
-
│ ├── logo.png
|
|
365
|
-
│ ├── logo.svg
|
|
366
|
-
│ ├── scoring.svg
|
|
367
|
-
│ └── screenshots/
|
|
368
|
-
│ ├── dashboard-part1.png
|
|
369
|
-
│ ├── dashboard-part2.png
|
|
370
|
-
│ └── dashboard-part3.png
|
|
371
|
-
├── commands/
|
|
372
|
-
│ ├── nextjs-audit.md / .toml
|
|
373
|
-
│ ├── nextjs-fix.md / .toml
|
|
374
|
-
│ └── nextjs-diff.md / .toml
|
|
375
|
-
├── hooks/
|
|
376
|
-
│ ├── hooks.json
|
|
377
|
-
│ └── post-edit-scan.js
|
|
378
|
-
├── mcp/
|
|
379
|
-
│ └── server.js
|
|
380
|
-
├── bin/
|
|
381
|
-
│ └── nextjs-sentinel.js
|
|
382
|
-
├── package.json
|
|
383
|
-
├── skills/
|
|
384
|
-
│ ├── nextjs-fingerprint-hardening/SKILL.md
|
|
385
|
-
│ ├── nextjs-fix/SKILL.md
|
|
386
|
-
│ ├── nextjs-upgrade/SKILL.md
|
|
387
|
-
│ └── nextjs-sentinel/
|
|
388
|
-
│ ├── SKILL.md
|
|
389
|
-
│ ├── agents/
|
|
390
|
-
│ │ └── openai.yaml
|
|
391
|
-
│ ├── references/
|
|
392
|
-
│ │ ├── audit-playbook.md
|
|
393
|
-
│ │ ├── security.md
|
|
394
|
-
│ │ ├── performance.md
|
|
395
|
-
│ │ ├── architecture.md
|
|
396
|
-
│ │ ├── clean-code.md
|
|
397
|
-
│ │ ├── seo.md
|
|
398
|
-
│ │ ├── accessibility.md
|
|
399
|
-
│ │ ├── infrastructure.md
|
|
400
|
-
│ │ ├── scoring.md
|
|
401
|
-
│ │ └── nextjs-version-notes.md
|
|
402
|
-
│ ├── scripts/
|
|
403
|
-
│ │ ├── sentinel.js
|
|
404
|
-
│ │ └── sentinel-core.js
|
|
405
|
-
│ └── templates/
|
|
406
|
-
│ └── report.html
|
|
407
|
-
├── scripts/
|
|
408
|
-
│ └── package_plugins.js
|
|
409
|
-
├── README.md
|
|
410
|
-
├── README.fr.md
|
|
411
|
-
├── LICENSE
|
|
412
|
-
├── SECURITY.md
|
|
413
|
-
├── CHANGELOG.md
|
|
414
|
-
├── .github/
|
|
415
|
-
│ └── workflows/
|
|
416
|
-
│ └── test.yml
|
|
417
|
-
├── examples/
|
|
418
|
-
│ ├── audit-url.md
|
|
419
|
-
│ └── audit-repository.md
|
|
420
|
-
├── evals/
|
|
421
|
-
│ ├── repo-audit-vulnerable-app/
|
|
422
|
-
│ ├── repo-audit-clean-app/
|
|
423
|
-
│ ├── repo-audit-french-report/
|
|
424
|
-
│ ├── url-audit-nextjs-org/
|
|
425
|
-
│ └── url-probe-needs-authorization/
|
|
426
|
-
└── tests/
|
|
427
|
-
├── sentinel.test.js
|
|
428
|
-
└── fixtures/
|
|
429
|
-
├── vulnerable-app/
|
|
430
|
-
└── clean-app/
|
|
431
|
-
```
|
|
432
343
|
|
|
433
344
|
## Development
|
|
434
345
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ name: nextjs-fingerprint-hardening
|
|
|
3
3
|
description: Audit and reduce publicly exposed Next.js technology fingerprints behind Nginx or another reverse proxy without breaking routing, hydration, React Server Components, image optimization, caching, or deployment behavior. Use when asked to harden, conceal, reduce, or assess Next.js framework disclosure.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: "1.0.
|
|
6
|
+
version: "1.0.2"
|
|
7
7
|
author: Next.js Sentinel contributors
|
|
8
8
|
---
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ description: >-
|
|
|
11
11
|
modifying the project unless the user explicitly approves.
|
|
12
12
|
license: MIT
|
|
13
13
|
metadata:
|
|
14
|
-
version: "1.0.
|
|
14
|
+
version: "1.0.2"
|
|
15
15
|
author: Next.js Sentinel contributors
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -143,7 +143,7 @@ The generator writes a JSON report with this shape:
|
|
|
143
143
|
```json
|
|
144
144
|
{
|
|
145
145
|
"tool": "nextjs-sentinel",
|
|
146
|
-
"version": "1.0.
|
|
146
|
+
"version": "1.0.2",
|
|
147
147
|
"target": { "mode": "repo", "repo": "/path/to/app" },
|
|
148
148
|
"generated_at": "2026-01-01T00:00:00Z",
|
|
149
149
|
"summary": {
|
|
@@ -6,7 +6,7 @@ const crypto = require('node:crypto');
|
|
|
6
6
|
const { spawnSync } = require('node:child_process');
|
|
7
7
|
|
|
8
8
|
const TOOL = 'nextjs-sentinel';
|
|
9
|
-
const VERSION = '1.0.
|
|
9
|
+
const VERSION = '1.0.2';
|
|
10
10
|
const SCHEMA_VERSION = '1.0';
|
|
11
11
|
|
|
12
12
|
const SEVERITIES = ['critical', 'high', 'medium', 'low', 'info'];
|