| Version | Supported |
|---|---|
| 1.0.x | ✅ |
If you discover a security vulnerability within this GitHub Action, please submit an issue or a pull request. For sensitive vulnerabilities, please contact the maintainer directly.
This action has been designed with security in mind:
-
Direct Puppeteer Usage: We use Puppeteer directly rather than relying on the vulnerable
markdown-pdfpackage to avoid security issues related to that package. -
Sandbox Disabled: The
--no-sandboxflag is used in the Docker container environment for compatibility reasons. This is a common practice for containerized Puppeteer usage and does not pose a significant security risk in the context of a GitHub Action, as the container itself provides isolation. -
File System Isolation: The action only operates on files within the GitHub workspace, and doesn't access files outside of the specified directories.
-
Regular Dependency Updates: Dependencies are regularly updated to patch known vulnerabilities.
We take dependencies security seriously. We've removed dependencies with known vulnerabilities that were not being actively used in our implementation:
- Removed
markdown-pdfwhich had high severity vulnerabilities - Uses only necessary packages for the conversion process
When using this GitHub Action:
-
Always specify the version tag when using this action (e.g.,
uses: username/markdown-to-pdf-action@v1) rather than using@mainto ensure you're using a stable, reviewed version. -
Be cautious about the Markdown content you convert - remember that this action will execute any HTML included in your Markdown as part of the conversion process.
-
If you're using custom CSS files, ensure they come from trusted sources.
-
Regularly update your workflows to use the latest version of this action.