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.
team_fastlane-sequel_base_service
Advanced tools
= Team Fastlane Base Service
A service base for a ruby micro service using Sequel
== Installation
As described by the link:../README.adoc[main readme].
== Usage
=== Health Check
You can use the link:../bin/health_check[health_check] executable to provide a method of checking the health of the server (database included). For example within a docker file like this:
This makes use of an exposed endpoint called /health_check
, which you can only use for a custom ping to check for it.
=== Default responses
This also provides some default json responses to be used in your controller. See link:./app/controllers/concerns/responses.rb[responses.rb] for more details.
To use these responses let your ApplicationController
inherit from ApiBaseController
and you are set.
=== Oracle Binding Variables
This Gem automatically interrupts all Oracle DB statements and substitues the values with binding variables. + It is possible to deactivate this behaviour:
Sequel::Oracle::Database.skip_binding_variables = true
Beware that this is a global setting which de-/activates binding variables for the whole application.
=== Parameter handling
You get automatically camelCase to snake_case transformation for the request and the reverse for responses via the olive_branch gem.
There will be a default parameter filtering enabled. It filters passwords of various key names in development and everything in production.
FAQs
Unknown package
We found that team_fastlane-sequel_base_service 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.