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.
This is the django app that should be deployed in a running django server.
Outside of installing the app, this should remain a black box. The reason being that none of the routes or uses for this should be accessed except through the Torque MediaWiki plugin.
For developers, look in the individual code files for details on the inner workings.
See INSTALL.md for installation instructions.
torque ships commands
Whenever loading up a new collection, there may be changes to the form of the data as the collection evolves. Because it may be uploaded in mistake, nothing is deleted from the database to ensure that no unintentional data loss occurs. However, admins may want to remove that data to reflect the upgrades in the data.
remove_unattached
removes those items. Each field/document that gets uploaded will
be marked as attached
. If there are edits associated with a field or document, then
the --forced
argument is required.
run_cache_rebuilder
starts up the cache rebuilder. This is responsible for all
the cache regeneration, and split off to a separate application in order to ensure
that it doesn't affect the main process. It IS required to run, though, as it
does important database upkeep items as part of it's workflow.
If you want to run it as part of the application instead of separately, add
"torque.cache_rebuilder",
as an INSTALLED_APP
in your settings file, as
is exampled in test_settings.py and INSTALL.md
As a system runs, old FileField files can hang around on the hard drive. Those are usually uploaded attachments and templates. This can start to take up too much space. To remove, one was is to use https://github.com/akolpakov/django-unused-media:
$ pipenv install django-unused-media
Add 'django_unused_media'
to your INSTALLED_APPS and then run:
$ pipenv run python ./manage.py cleanup_unused_media
FAQs
django app for torque
We found that django-torque demonstrated a healthy version release cadence and project activity because the last version was released less than 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.