Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
|Build Status| |Codecov Status| |Pypi Version| |Code Climate|
Sdklib helps you to write you own client library which will consume a specific service.
.. |Build Status| image:: https://travis-ci.org/ivanprjcts/sdklib.svg?branch=master :target: https://travis-ci.org/ivanprjcts/sdklib .. |Codecov Status| image:: https://codecov.io/gh/ivanprjcts/sdklib/branch/master/graph/badge.svg :target: https://codecov.io/gh/ivanprjcts/sdklib .. |Pypi Version| image:: https://img.shields.io/pypi/v/sdklib.svg :target: https://pypi.python.org/pypi/sdklib .. |Code Climate| image:: https://codeclimate.com/github/ivanprjcts/sdklib/badges/gpa.svg :target: https://codeclimate.com/github/ivanprjcts/sdklib
Install the sdklib
package using pip::
pip install sdklib
Find my first SDK on github: https://github.com/ivanprjcts/my-first-sdk
.. code-block:: python
from sdklib.http import HttpSdk
class FirstSdk(HttpSdk):
"""
My First Sdk.
"""
DEFAULT_HOST = "http://mockapi.sdklib.org"
API_ITEMS_URL_PATH = "/items/"
def create_item(self, name, description=None):
"""
Create an item.
:type name: str
:type description: str
:return: SdkResponse
"""
params = parse_args(name=name, description=description)
return self.post(self.API_ITEMS_URL_PATH, body_params=params)
Running testing with coverage::
py.test --cov=sdklib tests/
@ivanprjcts <https://github.com/ivanprjcts>
_@rgonalo <https://github.com/rgonalo>
_FAQs
SDK helper library
We found that sdklib demonstrated a healthy version release cadence and project activity because the last version was released less than 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.