UNPKG

@silvestv/migration-planificator

Version:

Professional Angular migration analysis tool with AST precision for version upgrades (17→18, 18→19, 19→20), Nx monorepo refactoring, workload estimation, and technical debt assessment. Interactive HTML reports with Gantt timeline and real-time editing.

224 lines (147 loc) • 6.66 kB
# Security Policy ## šŸ”’ Security Commitment **@silvestv/migration-planificator** is committed to protecting your codebase and maintaining the highest security standards. --- ## šŸ›”ļø Privacy & Data Collection ### What This Tool Does NOT Do This CLI tool is designed with **privacy-first principles**: - āŒ **No Data Collection** - We do not collect, store, or transmit any data from your codebase - āŒ **No Telemetry** - Zero usage tracking or analytics - āŒ **No Network Requests** - The tool runs entirely offline (except for npm package download) - āŒ **No External APIs** - All analysis is performed locally using AST parsing libraries - āŒ **No Code Upload** - Your source code never leaves your machine ### How It Works 1. **Local Execution Only** - All code analysis happens on your machine 2. **AST Parsing** - Uses `ts-morph` and `@angular/compiler` for local code analysis 3. **File System Access** - Only reads files in the specified project directory 4. **Output Generation** - Generates HTML reports locally in the `output/` directory --- ## šŸ” Package Integrity ### npm Package Signing All packages published to the npm registry are **automatically signed** by npm to ensure integrity: - āœ… Packages are cryptographically signed upon publication - āœ… Signature verification happens automatically during `npm install` - āœ… Tampering detection is built into npm's infrastructure ### Verify Package Contents You can audit the published package contents at any time: ```bash # Download the package tarball npm pack @silvestv/migration-planificator # Inspect the contents tar -tzf silvestv-migration-planificator-*.tgz # Or view files metadata directly from npm registry npm view @silvestv/migration-planificator files ``` ### Published Files Only the following files are included in the published package (defined in `package.json` `files` field): - `dist/src/` - Compiled TypeScript source - `dist/client.bundle.js` - Client-side JavaScript bundle - `dist/styles.css` - Compiled CSS styles - `README.md` - English documentation - `README.fr.md` - French documentation - `LICENSE` - Apache 2.0 License - `NOTICE` - Copyright and attribution notices **No sensitive files** (`.env`, credentials, source maps, test files) are included. --- ## 🚨 Reporting a Vulnerability We take security vulnerabilities seriously. If you discover a security issue, please follow responsible disclosure: ### Contact Information **Primary Contact:** - **Name:** Victor SILVESTRE - **Email:** victor.silvestre.dev@gmail.com - **Role:** Full-Stack Developer - Angular/Node.js/TypeScript Specialist ### Reporting Process 1. **DO NOT** open a public GitHub issue for security vulnerabilities 2. Email details to: **victor.silvestre.dev@gmail.com** 3. Include: - Description of the vulnerability - Steps to reproduce - Potential impact - Suggested fix (if any) ### Response Timeline - **Initial Response:** Within 48 hours - **Status Update:** Within 7 days - **Fix & Disclosure:** Coordinated with reporter ### What to Expect 1. Acknowledgment of your report within 48 hours 2. Investigation and validation of the issue 3. Development of a fix (if confirmed) 4. Coordinated disclosure timeline 5. Credit in release notes (if desired) --- ## šŸ“ Security Best Practices ### For Users When using this tool: - āœ… Install from official npm registry: `npm install @silvestv/migration-planificator` - āœ… Verify package integrity using `npm audit` - āœ… Review generated reports before sharing (may contain file paths/code snippets) - āœ… Use specific version pinning in production: `npm install @silvestv/migration-planificator@x.y.z` - āš ļø Avoid running as root/administrator unless necessary ### For Contributors When contributing: - Use `npm audit` to check dependencies for vulnerabilities - Follow TypeScript strict mode guidelines - Never commit secrets, API keys, or credentials - Run tests before submitting: `npm test` - Sign commits with GPG when possible --- ## šŸ“‹ Dependencies Security This project uses minimal, well-maintained dependencies: ### Production Dependencies - **ts-morph** (^27.0.0) - TypeScript AST manipulation - **@angular/compiler** (^20.3.4) - Angular HTML template parsing - **chart.js** (^4.4.0) - Client-side chart rendering - **tailwindcss** (^4.1.14) - CSS framework - **typescript** (^5.9.3) - TypeScript compiler ### Security Audits Run regular security audits: ```bash # Check for known vulnerabilities npm audit # Fix automatically (if possible) npm audit fix # View detailed report npm audit --json ``` --- ## šŸ“œ License & Liability This software is licensed under the **Apache License, Version 2.0**. ### Key License Terms - āœ… **Commercial Use** - Allowed for any purpose - āœ… **Modification** - Can be modified and distributed - āœ… **Distribution** - Can be distributed freely - āœ… **Patent Grant** - Includes express grant of patent rights - āœ… **Private Use** - Can be used privately without restrictions ### Required When Using - šŸ“ Include the LICENSE file - šŸ“ Include the NOTICE file (if present) - šŸ“ State changes made to the code (if modified) ### Disclaimer This software is provided **"AS IS"** without warranty of any kind, express or implied. See the [LICENSE](LICENSE) file for the full license terms and limitations. ``` Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ``` ### Enterprise Support For enterprise security requirements, SLAs, or private security audits: šŸ“§ Contact: victor.silvestre.dev@gmail.com --- ## šŸ“š Additional Resources - šŸ“¦ [NPM Package](https://www.npmjs.com/package/@silvestv/migration-planificator) - šŸ“– [Apache 2.0 License Text](http://www.apache.org/licenses/LICENSE-2.0) - šŸ” [npm Security Documentation](https://docs.npmjs.com/auditing-package-dependencies-for-security-vulnerabilities) - šŸ“§ [Security Contact](mailto:victor.silvestre.dev@gmail.com) --- ## šŸ¢ Corporate Usage This project is suitable for use in enterprise environments: - āœ… **Clear licensing** under Apache 2.0 - āœ… **No GPL dependencies** that could affect your proprietary code - āœ… **Patent protection** included in the license - āœ… **Professional support** available upon request --- **Last Updated:** January 2025 **Version:** Aligned with Apache License 2.0 Ā© 2025 Victor SILVESTRE Licensed under the Apache License, Version 2.0. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0