
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
$ arc-asm An ARC assembler written in Node.JS.
You can install the package globally and use it as command line tool:
$ npm i -g arc-asm
Then, run arc-asm --help and see what the CLI tool can do.
$ arc-asm --help
Usage: arc-asm [options]
Options:
-s, --source <path> Sets the source file path.
-o, --output <path> Sets the output file path.
-h, --help Displays this help.
-v, --version Displays version information.
Examples:
arc-asm -s my-input.asm # This will generate a.out
arc-asm -s my-input.asm -o program # This will generate the `program` file.
Documentation can be found at https://github.com/IonicaBizau/arc-assembler
Here is an example how to use this package as library. To install it locally, as library, you can do that using npm:
$ npm i --save arc-asm
// Dependencies
var ArcAssembler = require("arc-asm");
// Compile input
var result = ArcAssembler.compile(
"! Sum of two numbers"
+ "\n" + "! This is a comment"
+ "\n" + " .begin"
+ "\n" + " .org 2048"
+ "\n" + " ld [x], %r1"
+ "\n" + " ld [y], %r2"
+ "\n" + " addcc %r1, %r2, %r3"
+ "\n" + " jmpl %r15+4, %r0"
+ "\n" + "x: 2"
+ "\n" + "y: 0xa"
);
// Show some output
result.raw.forEach(function (c) {
console.log(c.code.match(/.{1,4}/g).join(" ") + " << Line " + c.line);
});
For full API reference, see the DOCUMENTATION.md file.
Have an idea? Found a bug? See how to contribute.
If you are using this library in one of your projects, add it in this list. :sparkles:
FAQs
An ARC assembler written in Node.JS.
We found that arc-asm 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.