Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
metalpress-cli
Advanced tools
Readme
CLI for Metalpress (Official)
metalpress works from a specific directory structure. It contains a templates
and src
directory. Within the src directory it will load data from data
as yaml
or json
files. You can create folders for collections and use markdown files for pages. You should store all assets in assets
.
For templating, metalpress uses liquid. You can learn more about the syntax here.
Here's an example structure:
├── package.json
├── src
│ ├── data
│ ├── site.yaml
│ ├── projects.json
│ ├── assets
│ ├── sass
│ ├── img
│ ├── fonts
│ ├── js
│ ├── index.js
│ ├── index.md
│ ├── pages
│ ├── about.md
│ └── posts
│ ├── 2016-08-25-how-to-use-metalpress.md
├── templates
│ ├── _includes
│ ├── header.liquid
│ ├── footer.liquid
│ └── _layouts
│ ├── home.liquid
npm install metalpress-cli -g
Prompts a series of questions and creates a new
.metalpress
config.
metalpress init
Serve the project on automatically assigned browser-sync port. (default: http://localhost:3000)
metalpress serve
To deploy your site, you'll need to have your aws.json
set up. It includes:
{
"key":"AWS_ACCESS_KEY_HERE",
"secret":"AWS_SECRET_KEY_HERE",
"stagingBucket":"staging.example.com",
"productionBucket":"example.com"
}
Deploy a
dist
and deployed to AWS S3.
Staging
metalpress deploy
Production
metalpress deploy -p
FAQs
CLI for Metalpress (Official)
We found that metalpress-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.