Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@prototyp-stockholm/contentful-migrator-programme
Advanced tools
Tool to manage and keep track of contentful migrations.
Tool to manage Contentful migrations
npm i --save @prototyp-stockholm/contentful-migrator-programme
Create a .env
file in your project root and add those variables:
# required
CTF_SPACE=<SECRET>
CTF_ENVIRONMENT=<SECRET>
CTF_CMA_TOKEN=<SECRET>
# optional
MIGRATIONS_DIR=migrations
MIGRATIONS_TYPE=migrations
ALIAS_AMOUNT=1
ENV_AMOUNT=3
cmp generate <migrationName> # generates a migration with the given name and a timestamp prepended ex: YYYYMMDDhhmmssxxx-add-user-type.js.
cmp apply # applies all non applied migrations to the CTF_ENVIRONMENT set in the `.env` file
cmp aux:create <name?> # creates an aux env based on CTF_ENVIRONMENT. You can give it an optional name.
cmp aux:drop <name> # drop the env with the given name
cmp aux:test # creates env from CTF_ENVIRONMENT, applies new migrations, and drops the env
If you did not install the package globally you'll have to prepend node_modules/.bin/
to the cmp
command.
Otherwise, you can add the cmp
command in the scripts section of the project package.json
.
Then you can use it like so: npm run cmp
.
{
"scripts": {
"cmp": "cmp"
}
}
FAQs
Tool to manage and keep track of contentful migrations.
The npm package @prototyp-stockholm/contentful-migrator-programme receives a total of 50 weekly downloads. As such, @prototyp-stockholm/contentful-migrator-programme popularity was classified as not popular.
We found that @prototyp-stockholm/contentful-migrator-programme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.