
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Dewar is a static site generator inspired by flask.
Dewar (pronounced d-you-ah) is another name for a vacuum flask, or a thermos. Basically, it's a flask that keeps things frozen (or hot).
To the moment, there have been a few ways of making a static site:
This might work for a small site, or for a repetitive report; but maintainability is lost, and a lot of custom configuration has to be done.
These are great for making blogs, but are opinionated about what content they should host. They don't allow for computation inline, and they are their own ecosystem to learn.
There are two major limitations to flask that this project solves:
These limitaions are obvious, but they prevent a few use cases:
Installing Dewar is as simple as:
pip install dewar
And writing a program like
# named 'site.py'
import dewar
site = dewar.Site()
@site.register('index.html')
def index():
return "<h1>Hello, World</h1>"
if __name__ == "__main__":
site.render()
Then,
$ python3 site.py
That's it! Your static site is now in dist/
.
FAQs
Static Site Generator, like flask
We found that dewar 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 Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.