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.
@inmanlabs/location
Advanced tools
MIT Licensed library to add support for Google's Places API and Inmanlabs Location entity.
MIT Licensed library to add support for Google's Places API and Inmanlabs Location entity.
Package:
yarn package
Login:
npm login
Publish:
npm publish /inmanlabs/workspace/inman-commons/inman-angular/location-lib/dist/location/inmanlabs-location-v0.0.1.tgz --access public
To bootstrap new lib project:
ng new location-lib --create-application=false
cd location-lib
ng generate library location --prefix=inm
ng generate application location-tester
Add to package.json (under "scripts"):
{
"ng": "ng",
"start": "ng serve",
"build": "ng build location",
"copy_license": "cp ./LICENSE ./dist/location",
"copy_readme": "cp ./README.md ./dist/location",
"copy_files": "npm run copy_license && npm run copy_readme",
"package": "ng build location && yarn copy_files && cd dist/location && yarn pack",
"publish": "npm publish /inmanlabs/workspace/inman-commons/inman-angular/location-lib/dist/location/inmanlabs-location-v*.tgz --access public",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
}
In "inner" package.json, add organization name to package name:
"@inmanlabs/location"
Add LICENSE file to top directory. Update README to reflect library content.
FAQs
MIT Licensed library to add support for Google's Places API and Inmanlabs Location entity.
The npm package @inmanlabs/location receives a total of 0 weekly downloads. As such, @inmanlabs/location popularity was classified as not popular.
We found that @inmanlabs/location 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.