@dollhousemcp/mcp-server 1.9.13 โ†’ 1.9.15

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.
Files changed (79) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.github.md +54 -0
  3. package/README.md.backup +1241 -49
  4. package/dist/cache/CollectionCache.js +2 -2
  5. package/dist/collection/CollectionIndexManager.js +3 -3
  6. package/dist/config/ConfigWizard.js +3 -3
  7. package/dist/config/indicator-config.js +2 -2
  8. package/dist/config/portfolio-constants.js +12 -12
  9. package/dist/elements/BaseElement.js +7 -7
  10. package/dist/elements/FeedbackProcessor.d.ts +7 -0
  11. package/dist/elements/FeedbackProcessor.d.ts.map +1 -1
  12. package/dist/elements/FeedbackProcessor.js +67 -14
  13. package/dist/elements/agents/AgentManager.js +6 -6
  14. package/dist/elements/memories/Memory.js +4 -4
  15. package/dist/elements/memories/MemoryManager.js +3 -3
  16. package/dist/elements/memories/utils.js +3 -3
  17. package/dist/elements/skills/Skill.js +2 -2
  18. package/dist/elements/skills/SkillManager.js +2 -2
  19. package/dist/elements/templates/Template.d.ts.map +1 -1
  20. package/dist/elements/templates/Template.js +38 -14
  21. package/dist/elements/templates/TemplateManager.js +2 -2
  22. package/dist/generated/version.d.ts +2 -2
  23. package/dist/generated/version.js +3 -3
  24. package/dist/handlers/ConfigHandler.js +3 -3
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +20 -16
  27. package/dist/persona/PersonaElementManager.js +3 -3
  28. package/dist/persona/PersonaManager.js +2 -2
  29. package/dist/persona/export-import/PersonaImporter.js +3 -3
  30. package/dist/portfolio/DefaultElementProvider.d.ts +12 -0
  31. package/dist/portfolio/DefaultElementProvider.d.ts.map +1 -1
  32. package/dist/portfolio/DefaultElementProvider.js +23 -6
  33. package/dist/portfolio/GitHubPortfolioIndexer.js +2 -2
  34. package/dist/portfolio/MigrationManager.js +2 -2
  35. package/dist/portfolio/NLPScoringManager.js +2 -2
  36. package/dist/portfolio/PortfolioManager.d.ts +5 -0
  37. package/dist/portfolio/PortfolioManager.d.ts.map +1 -1
  38. package/dist/portfolio/PortfolioManager.js +8 -1
  39. package/dist/portfolio/PortfolioRepoManager.js +2 -2
  40. package/dist/portfolio/PortfolioSyncManager.js +5 -5
  41. package/dist/portfolio/RelationshipManager.js +4 -4
  42. package/dist/portfolio/UnifiedIndexManager.js +4 -4
  43. package/dist/portfolio/types/RelationshipTypes.js +2 -2
  44. package/dist/security/InputValidator.d.ts +12 -0
  45. package/dist/security/InputValidator.d.ts.map +1 -1
  46. package/dist/security/InputValidator.js +38 -18
  47. package/dist/security/audit/config/suppressions.js +10 -10
  48. package/dist/security/commandValidator.js +2 -2
  49. package/dist/security/dosProtection.d.ts +123 -0
  50. package/dist/security/dosProtection.d.ts.map +1 -0
  51. package/dist/security/dosProtection.js +392 -0
  52. package/dist/security/pathValidator.js +2 -2
  53. package/dist/security/secureYamlParser.d.ts.map +1 -1
  54. package/dist/security/secureYamlParser.js +4 -3
  55. package/dist/security/tokenManager.js +10 -10
  56. package/dist/security/validators/unicodeValidator.js +2 -2
  57. package/dist/security/yamlValidator.js +3 -3
  58. package/dist/sync/PortfolioDownloader.js +2 -2
  59. package/dist/sync/PortfolioSyncComparer.js +2 -2
  60. package/dist/tools/portfolio/PortfolioElementAdapter.js +3 -3
  61. package/dist/tools/portfolio/submitToPortfolioTool.js +14 -14
  62. package/dist/utils/EarlyTerminationSearch.d.ts +1 -1
  63. package/dist/utils/EarlyTerminationSearch.d.ts.map +1 -1
  64. package/dist/utils/EarlyTerminationSearch.js +3 -3
  65. package/dist/utils/ElementFormatter.d.ts +1 -0
  66. package/dist/utils/ElementFormatter.d.ts.map +1 -1
  67. package/dist/utils/ElementFormatter.js +21 -13
  68. package/dist/utils/GitHubRateLimiter.d.ts +6 -0
  69. package/dist/utils/GitHubRateLimiter.d.ts.map +1 -1
  70. package/dist/utils/GitHubRateLimiter.js +20 -5
  71. package/dist/utils/RateLimiter.js +2 -2
  72. package/dist/utils/SecureDownloader.js +2 -2
  73. package/dist/utils/fileOperations.d.ts +6 -1
  74. package/dist/utils/fileOperations.d.ts.map +1 -1
  75. package/dist/utils/fileOperations.js +29 -5
  76. package/dist/utils/filesystem.js +6 -6
  77. package/dist/utils/searchUtils.js +2 -2
  78. package/dist/utils/version.js +3 -3
  79. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.15] - 2025-10-01
4
+
5
+ Security patch: Zero-width Unicode bypass vulnerability + SonarCloud cleanup
6
+
7
+ SECURITY FIX [HIGH]:
8
+ - Block zero-width Unicode characters in metadata validation (#1228, #1229)
9
+ - Prevents steganography and homograph attacks
10
+
11
+ CODE QUALITY:
12
+ - 228+ SonarCloud issues resolved (#1220-1224)
13
+ - 199 security hotspots evaluated (all safe)
14
+ - Number.parseInt modernization, String.replaceAll updates
15
+
16
+ All production security concerns resolved.
17
+
18
+ ## [1.9.14] - 2025-09-30
19
+
20
+ ### Fixed
21
+ - **ElementFormatter Security Scanner False Positives (Issue #1211, PR #1212)**
22
+ - Fixed SecureYamlParser ignoring `validateContent: false` option
23
+ - Pre-parse security validation now properly respects validation flag
24
+ - ElementFormatter now uses `validateContent: false` for all YAML parsing (5 locations)
25
+ - Allows local trusted files to bypass content scanning while maintaining security for untrusted sources
26
+ - Improved memory name generation: derives names from filenames instead of auto-generated IDs
27
+ - Example: `sonarcloud-rules-reference` instead of `mem_1759077319164_w9m9fk56y`
28
+
29
+ - **Portfolio Search File Extension Display (Issue #1213, PR #1215)**
30
+ - Portfolio search now displays correct file extensions based on element type
31
+ - Memories show `.yaml` extension, other elements show `.md` extension
32
+ - Added `getFileExtension()` public method to PortfolioManager
33
+ - Fixed hardcoded `.md` extension in search result formatting
34
+ - No breaking changes, display-only fix
35
+
36
+ ### Code Quality
37
+ - Fixed SonarCloud issues in Docker test files:
38
+ - S7018: Sorted apt packages alphabetically in Dockerfile.test-enhanced
39
+ - S7031: Merged consecutive RUN instructions in Dockerfile.test-enhanced
40
+ - S7772: Added `node:` prefix for built-in module imports (4 occurrences)
41
+ - S2486: Added proper error logging for JSON parse exceptions
42
+ - S7780: Used String.raw for grep regex patterns (2 occurrences)
43
+ - Added comprehensive test coverage for portfolio search file extensions
44
+ - 2,277 tests passing with >96% coverage
45
+
46
+ ### Documentation
47
+ - Added SESSION_NOTES_2025-09-30-AFTERNOON-PR1215-SONARCLOUD-PROCEDURE.md
48
+ - Added SONARCLOUD_QUERY_PROCEDURE.md - Critical guide for querying SonarCloud correctly
49
+ - Updated CLAUDE.md with naming conventions and style guide for session notes and memories
50
+
3
51
  ## [1.9.13] - 2025-09-29
4
52
 
5
53
  ### Fixed
package/README.github.md CHANGED
@@ -873,6 +873,60 @@ For detailed guidelines, see [CONTRIBUTING.md](CONTRIBUTING.md).
873
873
 
874
874
  ## ๐Ÿท๏ธ Version History
875
875
 
876
+ ### v1.9.15 - October 1, 2025
877
+
878
+ **Security Patch**: Zero-width Unicode bypass vulnerability + SonarCloud cleanup
879
+
880
+ #### ๐Ÿ”’ Security Fix [HIGH]
881
+ - **Zero-width Unicode bypass vulnerability** - Restored Unicode security validation (#1228, #1229)
882
+ - Blocks zero-width characters (U+200B-U+200F, U+FEFF) in metadata validation
883
+ - Prevents steganography and homograph attacks
884
+ - Fixed `validateContent` bypass in DefaultElementProvider
885
+ - Restored security validation chain through ContentValidator and UnicodeValidator
886
+
887
+ #### ๐Ÿงน Code Quality
888
+ - **228+ SonarCloud issues resolved** across 5 issues (#1220-1224):
889
+ - S7773: Modernized Number parsing methods (90 issues) - `parseInt()` โ†’ `Number.parseInt()`
890
+ - S7781: String.replaceAll modernization (134 issues) - `.replace(/g)` โ†’ `.replaceAll()`
891
+ - MEDIUM severity fixes (4 issues) - Object literals, loop counters, Promise types
892
+ - False positives marked (11 issues) - Test-only patterns properly categorized
893
+ - **199 security hotspots evaluated** - All marked SAFE, zero production concerns (#1219)
894
+ - Math.random(), MD5, PATH usage validated for non-security contexts
895
+ - Comprehensive documentation of safe patterns
896
+
897
+ #### ๐Ÿ“Š Impact
898
+ - โœ… 1 HIGH severity security vulnerability fixed
899
+ - โœ… All production security concerns resolved
900
+ - โœ… Test coverage maintained at >96%
901
+
902
+ ### v1.9.14 - September 30, 2025
903
+
904
+ **Bug Fixes**: ElementFormatter and portfolio search improvements
905
+
906
+ #### ๐Ÿ”ง Fixed
907
+ - **ElementFormatter Security Scanner False Positives** - Fixed validation option being ignored (#1211, #1212)
908
+ - SecureYamlParser now properly respects `validateContent: false` option
909
+ - ElementFormatter uses `validateContent: false` for all YAML parsing (5 locations)
910
+ - Local trusted files can bypass content scanning while maintaining security for untrusted sources
911
+
912
+ - **Portfolio Search File Extension Display** - Fixed incorrect extension display (#1213, #1215)
913
+ - Portfolio search now shows correct file extensions based on element type
914
+ - Memories display `.yaml` extension, other elements show `.md` extension
915
+
916
+ #### ๐Ÿ“š Documentation
917
+ - Added SONARCLOUD_QUERY_PROCEDURE.md - Critical guide for querying SonarCloud correctly
918
+ - Updated CLAUDE.md with naming conventions and style guide for session notes
919
+ - Added session notes documentation for PR #1215
920
+
921
+ #### ๐Ÿ“Š Statistics
922
+ - 2 Bug fixes merged (PR #1212, #1215)
923
+ - 10 Code quality issues resolved
924
+ - 2,277 tests passing with >96% coverage
925
+ - Quality Gate: PASSING
926
+ - Test Coverage: >96% maintained
927
+
928
+ ---
929
+
876
930
  ### v1.9.13 - September 29, 2025
877
931
 
878
932
  **Memory System Critical Fixes**: Security scanner improvements and enhanced error reporting