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.
Moonstuff is an AllianceAuth plugin focused on managing moons, from keeping track of moonscan data to making sure everyone knows when and where the next extraction will be.
(Moon info page is identical)
Install the app into your allianceauth virtualenvironment via PIP.
$ pip install aa-moonstuff
Configure your AA settings (local.py
) as follows:
'eveuniverse',
and 'moonstuff',
to INSTALLED_APPS
# Moonstuff Module
EVEUNIVERSE_LOAD_TYPE_MATERIALS = True
CELERYBEAT_SCHEDULE['moonstuff_import_extraction_data'] = {
'task': 'moonstuff.tasks.import_extraction_data',
'schedule': crontab(minute='*/10'),
}
CELERYBEAT_SCHEDULE['moonstuff_run_ledger_update'] = {
'task': 'moonstuff.tasks.update_ledger',
'schedule': crontab(minute=0, hour='*'),
}
CELERYBEAT_SCHEDULE['moonstuff_run_refinery_update'] = {
'task': 'moonstuff.tasks.update_refineries',
'schedule': crontab(minute=0, hour=0),
}
CELERYBEAT_SCHEDULE['moonstuff_run_price_update'] = {
'task': 'moonstuff.tasks.load_prices',
'schedule': crontab(minute=0, hour=0),
}
Note: The last two tasks can be schdeuled at whatever time is best for you, though they need only be run once per day.
Run migrations and copy static files.
$ python manage.py migrate
$ python manage.py collectstatic
Restart your supervisor tasks.
Run the following command to pull the required eveuniverse data required for moonstuff.
$ python manage.py moonstuff_preload_data
To update your existing installation of Moonstuff first enable your virtual environment.
Then run the following commands from your allianceauth project directory (the one that contains manage.py
).
$ pip install -U aa-moonstuff
$ python manage.py migrate
$ python manage.py collectstatic
Lastly, restart your supervisor tasks.
Note: Be sure to follow any version specific update instructions as well. These instructions can be found on the Tags
page for this repository.
Setting Name | Description | Default |
---|---|---|
MOON_REFINE_PERCENT | This setting defines the refine percent to use when calculating ore values. ( 0.876 and 87.6 are both acceptable formats) | 87.6 |
DEFAULT_EXTRACTION_VIEW | This setting allows you to configure if you would like the calendar or card view to show by default when the dashboard loads. (Options are "Calendar" or "Card" ) | "Calendar" |
Permission Name | Admin Site | Auth Site |
---|---|---|
Moonstuff.access_moonstuff | None | Can access the moonstuff module. |
Moonstuff.access_moon_list | None | Can access the list of known moons. |
Resource.add_resource | None | Can add access the add_scan page to add moon scan data. |
TrackingCharacter.add_trackingcharacter | None | Can link a character to be used in tracking extractions. |
Though accepted best practice for auth is to ensure that one's ESI application has access to all scopes through the EVE Development portal, if you are not following this practice please make sure to include the following scopes in your ESI application.
Scope | Purpose |
---|---|
esi-industry.read_corporation_mining.v1 | This is required to pull corporation moon extraction data. (The in-game Station_Manager and Accountant roles are required) |
esi-universe.read_structures.v1 | Required to pull structure names. |
esi-characters.read_notifications.v1 | Required to pull character notifications used for updating resource data. |
This plugin makes use of django-eveuniverse by @ErikKalkoken
FAQs
A plugin for publishing moon extractions, and keeping track of moon scan data.
We found that aa-moonstuff 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.