
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
A Node.js module for getting information about a jar file.
Want to know something about what is going on in a jar file? This module may help!
Currently this module can only tell you about manifest entries. If there's other stuff worth knowing about the contents of a jar file, feel free to submit a pull request!
npm install jarfile
var jarfile = require("jarfile")
// Get the Main-Class entry from foo.jar.
jarfile.fetchJarAtPath("foo.jar", function (err, jar) {
console.log(jar.valueForManifestEntry("Main-Class"))
})
Reads information from the jar file at the given path, and passes the following to the callback:
Jar
object. See the methods below for what to do with this object.Note that this function caches Jar
objects and doesn’t make any attempts to ensure the underlying file has not changed.
Returns the string value for the given entry’s name. If you’re looking for an entry in a particular section, specify the section’s name as the first argument. If the section or entry does not exist in the manifest, null
is returned.
FAQs
Get information about a jar file
The npm package jarfile receives a total of 5 weekly downloads. As such, jarfile popularity was classified as not popular.
We found that jarfile 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.