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.
SimpleERD is a tool to generate beautiful ERD digrams from plain text.
SimpleERD started out as an experiment and is currently at its early stage of development. Consider it a working prototype. SimpleERD is written in Ruby, but this is likely subject for a change.
There are two installation options on macOS:
via homebrew
:
$ brew tap gmile/apps
$ brew install simple-erd --HEAD
via rubygems
:
make sure to have graphviz
installed:
$ brew install graphviz
intall the gem:
$ gem install simple-erd
SimpleERD requires a text file as an input. Input file contains text formatted the following way:
[entity_1]
attribute | type
[entity_2]
attribute | type | modifier
[entity_3]
attribute
(entity_group_1)
entity_1
entity_2
(entity_group_2)
entity_3
entity_1 ?--1 entity_2
entity_3 *--n entity_2
Here, [entity_1]
starts a block, indicating an entity. Right below [entity_1]
come entity attributes. An entity attribute is defined by a attribute_name
, type
(optional and modifier
(optional).
At the bottom of input file – relations between entities. Syntax for relations:
?
– 0 or 11
– exactly 1*
– 0 or more+
– 1 or morex
– relation is undefined, will render as ???
in the output.$ simple-erd -i samples/complex_input.txt -o /tmp/output.pdf
See /samples for more samples.
I was inspired by erd
from Andrew Gallant, but had a couple of issues with it:
mainly I found it hard, although possible, to install:
erd
requires haskell runtime to be available, which takes around 1Gb when installed.cabal
and all of erd
's dependencies manually.the libarary doesn't seem to be actively maintained.
Also, I wanted to work on the custom styling of the diagram.
MIT
FAQs
Unknown package
We found that simple-erd demonstrated a not healthy version release cadence and project activity because the last version was released 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.