memorylink 2.0.0 ā 2.0.1
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 +56 -1
- package/README.md +2 -2
- package/package.json +19 -6
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,60 @@ All notable changes to MemoryLink will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.0] - 2026-01-02
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
#### Enhanced Secret Detection
|
|
13
|
+
- **112 Secret Patterns**: Expanded from 20+ to 112 detection patterns
|
|
14
|
+
- **India-specific Patterns**: Aadhaar, PAN, GSTIN, UPI, IFSC, Paytm, PhonePe
|
|
15
|
+
- **Browser Storage**: localStorage, sessionStorage, cookie detection
|
|
16
|
+
- **Cloud Providers**: AWS, Azure, GCP, DigitalOcean, Heroku, and more
|
|
17
|
+
- **AI/ML Keys**: OpenAI, Anthropic, HuggingFace, Cohere patterns
|
|
18
|
+
|
|
19
|
+
#### Smart Mode System
|
|
20
|
+
- **ACTIVE Mode**: Blocks commits/pushes when secrets detected
|
|
21
|
+
- **INACTIVE Mode** (default): Warns but allows commits
|
|
22
|
+
- **Smart Resolution**: CLI flag > ENV var > CI detection > config > default
|
|
23
|
+
- **CI Auto-Enforce**: 19 CI platforms automatically enforce ACTIVE mode
|
|
24
|
+
- **One-time Override**: `ML_MODE=active git push` for temporary enforcement
|
|
25
|
+
|
|
26
|
+
#### Git Hooks Integration
|
|
27
|
+
- **Pre-commit Hook**: Scans only staged files (fast)
|
|
28
|
+
- **Pre-push Hook**: Full repository scan before push
|
|
29
|
+
- **Easy Install**: `ml hooks --install` command
|
|
30
|
+
- **Smart Bypass**: `git commit --no-verify` for emergencies
|
|
31
|
+
|
|
32
|
+
#### New Commands
|
|
33
|
+
- `ml scan` - Comprehensive secret scanning with beautiful output
|
|
34
|
+
- `ml mode` - View and switch between ACTIVE/INACTIVE modes
|
|
35
|
+
- `ml self-check` - Verify installation and configuration
|
|
36
|
+
- `ml ci` - Setup CI/CD integration (GitHub Actions workflow)
|
|
37
|
+
- `ml hooks` - Manage Git hooks installation
|
|
38
|
+
|
|
39
|
+
#### CI/CD Support
|
|
40
|
+
- **19 CI Platforms**: GitHub Actions, GitLab CI, Jenkins, CircleCI, Travis, Buildkite, Azure Pipelines, TeamCity, Bitbucket, Drone, AppVeyor, Semaphore, Buddy, Vercel, Netlify, Bitrise, Codeship, and more
|
|
41
|
+
- **Auto-Detection**: Automatically enables ACTIVE mode in CI environments
|
|
42
|
+
- **Exit Codes**: 0=pass, 1=blocked, 2=error for pipeline integration
|
|
43
|
+
|
|
44
|
+
#### Enhanced User Experience
|
|
45
|
+
- **Color-Coded Output**: Beautiful terminal output with emoji indicators
|
|
46
|
+
- **Secret Masking**: All output shows `AKIA****MPLE` format
|
|
47
|
+
- **Actionable Hints**: Shows exact commands to fix issues
|
|
48
|
+
- **Progress Indicators**: Real-time feedback during scans
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
- **Mode Default**: Changed default from blocking to warn-only (INACTIVE)
|
|
52
|
+
- **Scan Performance**: Optimized scanning for large repositories
|
|
53
|
+
- **Documentation**: Complete rewrite of README and docs
|
|
54
|
+
|
|
55
|
+
### Security
|
|
56
|
+
- **AES-256-GCM Encryption**: For quarantined secrets
|
|
57
|
+
- **Zero Telemetry**: 100% local, no network calls ever
|
|
58
|
+
- **Key Isolation**: Encryption keys stored in `~/.memorylink/keys/` (not in project)
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
8
62
|
## [1.0.0] - 2025-12-30
|
|
9
63
|
|
|
10
64
|
### Added
|
|
@@ -94,5 +148,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
94
148
|
|
|
95
149
|
---
|
|
96
150
|
|
|
97
|
-
[
|
|
151
|
+
[2.0.0]: https://github.com/mspworld/memorylink/releases/tag/v2.0.0
|
|
152
|
+
[1.0.0]: https://github.com/mspworld/memorylink/releases/tag/v1.0.0
|
|
98
153
|
|
package/README.md
CHANGED
|
@@ -346,8 +346,8 @@ MIT License - see [LICENSE](LICENSE)
|
|
|
346
346
|
|
|
347
347
|
## š Support
|
|
348
348
|
|
|
349
|
-
- **Issues:** [GitHub Issues](https://github.com/
|
|
350
|
-
- **Discussions:** [GitHub Discussions](https://github.com/
|
|
349
|
+
- **Issues:** [GitHub Issues](https://github.com/mspworld/memorylink/issues)
|
|
350
|
+
- **Discussions:** [GitHub Discussions](https://github.com/mspworld/memorylink/discussions)
|
|
351
351
|
|
|
352
352
|
---
|
|
353
353
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memorylink",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "MemoryLink - Prevent secret leaks in AI-assisted development",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"ml": "./dist/cli/index.js"
|
|
9
9
|
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/mspworld/memorylink.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/mspworld/memorylink/issues"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/mspworld/memorylink#readme",
|
|
10
18
|
"files": [
|
|
11
19
|
"dist/",
|
|
12
20
|
"templates/",
|
|
@@ -31,13 +39,18 @@
|
|
|
31
39
|
"postinstall": "echo '\\nš MemoryLink installed! Run \"ml init\" in your project to enable protection.\\n'"
|
|
32
40
|
},
|
|
33
41
|
"keywords": [
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
42
|
+
"secrets",
|
|
43
|
+
"security",
|
|
44
|
+
"api-keys",
|
|
45
|
+
"pre-commit",
|
|
46
|
+
"git-hooks",
|
|
37
47
|
"cli",
|
|
38
|
-
"
|
|
48
|
+
"ai",
|
|
49
|
+
"devtools",
|
|
50
|
+
"cicd",
|
|
51
|
+
"scanning"
|
|
39
52
|
],
|
|
40
|
-
"author": "",
|
|
53
|
+
"author": "mspworld",
|
|
41
54
|
"license": "MIT",
|
|
42
55
|
"dependencies": {
|
|
43
56
|
"commander": "^11.1.0",
|