Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@tmugo/amp-boilerplate
Advanced tools
Install NodeJS and npm. http://nodejs.org/
Install gulp
globally:
$ sudo npm install -g gulp
Install all of the package.json dependencies locally. Run this command from inside this folder.
$ npm install
Call npm install
after each pull to make sure latest build plugins are there.
$ npm install
When adding new dev/build dependencies, use the --save-dev
option for npm so that they are added to package.json
, so that other developers can keep up to date. Make sure to commit the updated package.json
to version control when you commit.
$ npm install jshint --save-dev
All commands are automated with gulp, and configured in gulpfile.js.
Compiled versions for testing and distribution are in dist/
. The amp-boilerplate.js version in dist
is uglified. Under src/compiled-js/amp-boilerplate.js you can find the original, more readable, version
$ gulp build
For use with browserify (this way should be avoided. Gulp-ing should be the usual procedure):
Broserify must be installed and on the $PATH
:
$ browserify index.js -t brfs -s amp-boilerplate -o dist/amp-boilerplate.js
Anywhere in your app, do
var boilerplate = require('amp-boilerplate');
Using in jsp:
FAQs
Header and footer used in parts of AMP
The npm package @tmugo/amp-boilerplate receives a total of 0 weekly downloads. As such, @tmugo/amp-boilerplate popularity was classified as not popular.
We found that @tmugo/amp-boilerplate 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.