Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
DUH is a suite of tools for packaging reusable hardware components and designs. DUH enables the generation of JSON5 duh-documents for describing these components, and also enables export from these documents to output deliverables.
First ensure Node Package Manager (npm
) is installed or
get npm. Then install
npm i duh
And test installation with duh --help
The following base set of DUH tools can be used to generate a duh-document for hardware components and designs:
Run duh init
to create a base duh-document.
Run duh-import-verilog-ports
to import a port list from a
(pre-preprocessed) verilog top-level module.
Run duh-portinf
to infer mappings of portgroups to standard bus
definitions AXI, AHB, TileLink, etc. (From the duhportinf
package.)
Run duh-portbundler
to group ports, which are unassigned to a bus
mapping, into structured bundles. (From the duhportinf
package.)
Run duh validate
to test whether a given document conforms to the
duh-document standard.
The following base set of DUH tools can be used to generate outputs from a valid duh-document:
duh-export-scala
to generate scala black box wrappers for the
component.To run a verilog preprocessor on the top-level module, use:
verilator -E -Irtl mytop.v > mytop.preproc.v
or
vppreproc -Irtl mytop.v > mytop.preproc.v
Further information:
block-ark for a walk-through example using the DUH suite on a standalone module to produce a valid duh-document that fully describes the mapping of ports to known bus definitions.
the duh-document standard.
duhportinf for the port
inference DUH package that contains usage details of the duh-portinf
and duh-portbundler
tools.
FAQs
Design Unit Hardware
The npm package duh receives a total of 8 weekly downloads. As such, duh popularity was classified as not popular.
We found that duh demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.