Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Stupidly simple template generator for people that don't want to learn an yet an other way to write a for loop.
You need to have python installed. Install the latest release with:
pip install stupidgen
The development version can be installed with the following commands:
git clone https://framagit.org/squirrrr/stupidgen.git
cd stupidgen
pip install .
Check your installation with the following command:
stupdigen --version
Example for python, but many other languages are supported. Check out the documentation.
#test.py.multi
for i in range(5) :
>Hello world {% i %}
Then run your program with:
stupidgen -C --run test.py.multi
This produces the following output:
Hello world 0
Hello world 1
Hello world 2
Hello world 3
Hello world 4
You can use the ./stupidgen bash script at the source of the repository to make sure that you run the local version of the program, and not the one you might have installed globally.
Some tests are provided in the tests/
folder to verify that the output remain correct. They can be run with:
sh tests/runTests.sh
Finally, the code for the documentation pages is in the doc/
folder, and uses mkdocs. To host it locally you will need to install the dependencies with::
pip install -r doc/requirements.txt
Then a test version of the website that automatically reloads when you make changes can be started with:
cd doc && mkdocs serve
Contributions are welcome. Check out the open issues, or open your own if you have suggestions for improvements/bugs to report.
This software is distributed under the GNU General Public License v3.
FAQs
Generate text document from simple scripts using your favorite language.
We found that stupidgen 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.