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.
A boilerplate bin website for saving text in a database and access it with a short URL. Very similar to PasteBin or JSBin. This is mostly back-end implementation of the website. Front-end is very simple.
Try a version of the app running here
Work in progress
?import
query parameter. Example: http://anybin.herokuapp.com/?import=https://raw.githubusercontent.com/mohsen1/anybin/master/README.mdgit clone git@github.com:mohsen1/anybin.git
cd anybin
npm install
npm run dev
config
for selecting the configuration fileviews
for selecting the folder to look for index.ejs
filepublic
for selecting public content folderdb
MongoDB URL, it will override database URLs in config.js
$ node app/server.js \
--config='/path/to/my/config.js' \
--views='/path/to/my/views-folder/' \
--public='/path/to/my/public-folder' \
--db='mongodb://user:pass@me.dbhost.com:9999/my-db'
Operation | Path | Description |
---|---|---|
GET | / | Load homepage |
GET | /?import=url | Load homepage and import from url |
GET | /:id | Load a bin |
GET | /:id/:version | Load a bin at a version |
Operation | Path | Description |
---|---|---|
POST | /api/ | Make a new Bin |
POST | /api?import=url | Make a new Bin form url |
GET | /api/:id | Get latest version of a bin |
PUT | /api/:id | Update latest version of a bin |
POST | /api/:id | Add a new version to a bin |
GET | /api/:/id/:version | Get a specific version of a bin |
MIT
FAQs
Half(backend) of a bin website
We found that halfbin 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.
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.