
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
nativescript-plugin-seed
Advanced tools
npm install -g typescriptcd ... path/to/unzip/folder ...npm run setupThis seed expands on several things presented here.
The seed is prepared to allow you to test and try out your plugin via the demo folder.
Additionally it provides a proper .gitignore to keep GitHub tidy as well as .npmignore to ensure everyone is happy when you publish your plugin via npm.
You'll want to change a couple things right away:
package.json (including github repo, etc.) and the filenames.package.json, find this line:"preparedemo": "npm run build; cd demo; tns plugin remove nativescript-yourplugin; tns plugin add ..; tns install",
Replace nativescript-yourplugin with your actual plugin name.
demo that would test those changes outnpm run demo.ios or npm run demo.android (must be run from the root directory)Those demo tasks are just general helpers. You may want to have more granular control on the device and/or emulator you want to run. For that, you can just run things the manual way:
cd demo
// when developing, to ensure the latest code is built into the demo, it's a gaurantee to remove the plugin and add it back
tns plugin remove nativescript-yourplugin // replace with your plugin name
tns plugin add ..
// manual platform adds
tns platform add ios
// and/or
tns platform add android
Then use any of the available options from the tns command line:
When you have everything ready to publish:
package.jsonnpm run build - very important - ensure the latest is built before you publishnpm publishOr at least help keep it up to date with NativeScript releases, which would be excellent.
npm install -g typescript // if you don't already have it
git clone https://github.com/NathanWalker/nativescript-plugin-seed
cd nativescript-plugin-seed
// Improve!
FAQs
Your awesome NativeScript plugin.
We found that nativescript-plugin-seed 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.