nextjs-sentinel 1.0.0 → 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 CHANGED
@@ -4,6 +4,18 @@ 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
+
13
+ ## [1.0.1] - 2026-12-05
14
+
15
+ ### Fixed
16
+
17
+ - Use jsDelivr CDN image URLs in READMEs so images render on npm.
18
+
7
19
  ## [1.0.0] - 2026-12-05
8
20
 
9
21
  ### Added
package/README.fr.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Next.js Sentinel
2
2
 
3
3
  <div align="center">
4
- <img src="assets/logo.png" alt="Logo Next.js Sentinel" width="160" />
4
+ <img src="https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/logo.png" alt="Logo Next.js Sentinel" width="160" />
5
5
  </div>
6
6
 
7
7
  **Un plugin et skill d'audit portable et en lecture seule pour les applications Next.js en production.**
@@ -38,16 +38,16 @@ Voir `skills/nextjs-sentinel/references/` pour les checklists détaillées et le
38
38
 
39
39
  Exemple de tableau de bord HTML généré à partir de `tests/fixtures/vulnerable-app` :
40
40
 
41
- ![Score, grade, compteurs de sévérité et répartition par domaine](assets/screenshots/dashboard-part1.png)
41
+ ![Score, grade, compteurs de sévérité et répartition par domaine](https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/screenshots/dashboard-part1.png)
42
42
 
43
- ![Actions prioritaires et début de la liste des constats](assets/screenshots/dashboard-part2.png)
43
+ ![Actions prioritaires et début de la liste des constats](https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/screenshots/dashboard-part2.png)
44
44
 
45
- ![Suite des constats et couverture &amp; limitations](assets/screenshots/dashboard-part3.png)
45
+ ![Suite des constats et couverture &amp; limitations](https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/screenshots/dashboard-part3.png)
46
46
 
47
47
  ## Comment ça marche
48
48
 
49
49
  <p align="center">
50
- <img src="assets/how-it-works.svg" alt="Les preuves du dépôt et de l'URL alimentent les scanners statique et passif, puis la fusion et la notation, pour produire des rapports JSON, Markdown et HTML" width="100%">
50
+ <img src="https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/how-it-works.svg" alt="Les preuves du dépôt et de l'URL alimentent les scanners statique et passif, puis la fusion et la notation, pour produire des rapports JSON, Markdown et HTML" width="100%">
51
51
  </p>
52
52
 
53
53
  Utilisez une source ou les deux : le dépôt apporte la profondeur au niveau du code, l'URL déployée apporte les preuves d'exécution. Sentinel fusionne les deux, déduplique les constats et signale ce qu'il n'a pas pu évaluer.
@@ -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.0",
280
+ "version": "1.0.2",
281
281
  "target": { "mode": "repo", "repo": "/app" },
282
282
  "summary": {
283
283
  "score": 82,
@@ -311,7 +311,7 @@ Le contrat JSON est publié dans [`schema/report.schema.json`](schema/report.sch
311
311
  ## Notation
312
312
 
313
313
  <p align="center">
314
- <img src="assets/scoring.svg" alt="Notation pondérée : Sécurité 25 %, Performance 20 %, Architecture 15 %, Qualité de code 15 %, Accessibilité 10 %, SEO 10 %, Infrastructure 5 %" width="100%">
314
+ <img src="https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/scoring.svg" alt="Notation pondérée : Sécurité 25 %, Performance 20 %, Architecture 15 %, Qualité de code 15 %, Accessibilité 10 %, SEO 10 %, Infrastructure 5 %" width="100%">
315
315
  </p>
316
316
 
317
317
  Poids : Sécurité 25 %, Performance 20 %, Architecture 15 %, Qualité de code 15 %, Accessibilité 10 %, SEO 10 %, Infrastructure 5 %.
@@ -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
@@ -1,7 +1,7 @@
1
1
  # Next.js Sentinel
2
2
 
3
3
  <div align="center">
4
- <img src="assets/logo.png" alt="Next.js Sentinel logo" width="160" />
4
+ <img src="https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/logo.png" alt="Next.js Sentinel logo" width="160" />
5
5
  </div>
6
6
 
7
7
  **A portable, read-only audit plugin and skill for production Next.js applications.**
@@ -38,16 +38,16 @@ See `skills/nextjs-sentinel/references/` for the detailed checklists and fixes.
38
38
 
39
39
  Example HTML dashboard generated from `tests/fixtures/vulnerable-app`:
40
40
 
41
- ![Audit score, grade, severity counters and domain breakdown](assets/screenshots/dashboard-part1.png)
41
+ ![Audit score, grade, severity counters and domain breakdown](https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/screenshots/dashboard-part1.png)
42
42
 
43
- ![Priority actions and findings list (part 1)](assets/screenshots/dashboard-part2.png)
43
+ ![Priority actions and findings list (part 1)](https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/screenshots/dashboard-part2.png)
44
44
 
45
- ![Findings list (part 2) and coverage and limitations](assets/screenshots/dashboard-part3.png)
45
+ ![Findings list (part 2) and coverage and limitations](https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/screenshots/dashboard-part3.png)
46
46
 
47
47
  ## How it works
48
48
 
49
49
  <p align="center">
50
- <img src="assets/how-it-works.svg" alt="Repository and URL evidence flows into static and passive scanners, then merge and scoring, producing JSON, Markdown, and HTML reports" width="100%">
50
+ <img src="https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/how-it-works.svg" alt="Repository and URL evidence flows into static and passive scanners, then merge and scoring, producing JSON, Markdown, and HTML reports" width="100%">
51
51
  </p>
52
52
 
53
53
  Use one source or both: a repository gives source-level depth, a deployed URL gives runtime evidence. Sentinel merges the two, deduplicates findings, and reports what it could not assess.
@@ -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.0",
278
+ "version": "1.0.2",
279
279
  "target": { "mode": "repo", "repo": "/app" },
280
280
  "summary": {
281
281
  "score": 82,
@@ -309,7 +309,7 @@ The JSON contract is published as [`schema/report.schema.json`](schema/report.sc
309
309
  ## Scoring
310
310
 
311
311
  <p align="center">
312
- <img src="assets/scoring.svg" alt="Weighted scoring: Security 25%, Performance 20%, Architecture 15%, Clean code 15%, Accessibility 10%, SEO 10%, Infrastructure 5%" width="100%">
312
+ <img src="https://cdn.jsdelivr.net/npm/nextjs-sentinel/assets/scoring.svg" alt="Weighted scoring: Security 25%, Performance 20%, Architecture 15%, Clean code 15%, Accessibility 10%, SEO 10%, Infrastructure 5%" width="100%">
313
313
  </p>
314
314
 
315
315
  Weights: Security 25%, Performance 20%, Architecture 15%, Clean code 15%, Accessibility 10%, SEO 10%, Infrastructure 5%.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextjs-sentinel",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Read-only performance, security, architecture, SEO, accessibility, and release-readiness audit for Next.js applications.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -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.0"
6
+ version: "1.0.2"
7
7
  author: Next.js Sentinel contributors
8
8
  ---
9
9
 
@@ -8,7 +8,7 @@ description: >-
8
8
  Never runs without an existing report and explicit approval for each change.
9
9
  license: MIT
10
10
  metadata:
11
- version: "1.0.0"
11
+ version: "1.0.2"
12
12
  author: Next.js Sentinel contributors
13
13
  ---
14
14
 
@@ -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.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.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.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'];
@@ -8,7 +8,7 @@ description: >-
8
8
  cookies()/headers()/params, middleware.ts, images.domains, or next lint.
9
9
  license: MIT
10
10
  metadata:
11
- version: "1.0.0"
11
+ version: "1.0.2"
12
12
  author: Next.js Sentinel contributors
13
13
  ---
14
14