
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
This package contains a midas module providing a database simulator. This works like most other collectors for mosaik, i.e., it accepts any number of inputs and stores them in a database file.
Although this package is intended to be used with midas, you can use in any mosaik simulation scenario.
Version: 2.1
This package will usually installed automatically together with midas-mosaik
if you opt-in any of the extras, e.g., base
or bh
.
It is available on pypi, so you can install it manually with
pip install midas-store
The complete documentation is available at https://midas-mosaik.gitlab.io/midas.
To use the store inside of midas, just add store
to your modules
my_scenario:
modules:
- store
- ...
and configure it with (filename
is required, everything else is optional and can be left out if the default values, shown below, are used):
store_params:
filename: my_results.csv
step_size: 900
unique_filename: False
keep_old_files: False
All simulators that have something to store will then automatically connect to the store
simulator.
If you don't use midas, you can add the store
manually to your mosaik scenario file.
First, the entry in the sim_config
:
sim_config = {
"MidasCSV": {"python": "midas_store.simulator:MidasCSVStore"},
# ...
}
Next, you need to start the simulator (assuming a step_size
of 900):
store_sim = world.start("MidasCSVStore", step_size=900)
Finally, the model needs to be started:
store = store_sim.Database(filename="my_results.csv", keep_old_files=False, unique_filename=False)
Afterwards, you can define world.connect(other_entity, store, attrs)
as you like.
This software is released under the GNU Lesser General Public License (LGPL). See the license file for more information about the details.
FAQs
A database simulator that stores every input.
We found that midas-store 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.