
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
django-ember-precompile
Advanced tools
ember.js precompiler for projects that use the django compressor
ember.js precompiler for projects that use the django compressor
##Why did you write another precompiler npm module?
##How do I get started then?
First you need to install node.js if you have not already
Install the npm module
npm install django-ember-precompile
Add django compressor to your django web project
pip install -r django_compressor
Register a type to have the compressor fire off the precompile step (in your settings.py)
COMPRESS_PRECOMPILERS = (
('text/x-handlebars', 'node_modules/django-ember-precompile/bin/django-ember-precompile {infile}'),
)
Finally in your html you need to reference the uncompiled handlebars templates
{% load staticfiles %}
{% load compress %}
{% compress js %}
<script src="{% static 'script/app/templates/foo.handlebars' %}" type="text/x-handlebars"></script>
{% endcompress %}
This npm module makes a few assumptions to correctly register the template name with ember.js
1.) Each template must have a file extension of "handlebars" or "hbs"
2.) Each template must reside under a root "templates" directory
##Development
To run the tests
cd tests
./runner.sh
FAQs
ember.js precompiler for projects that use the django compressor
The npm package django-ember-precompile receives a total of 6 weekly downloads. As such, django-ember-precompile popularity was classified as not popular.
We found that django-ember-precompile 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 deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.