
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
This plugins, when registered on your Hapi application, will automatically create the tables "people", "organisations" and "tags_organisations" if they are not yet defined in your Postgres database.
{
reset: false,
people: [],
organisations: [],
tags_orgs: []
}
When reset is defined to true
the plugin will reset the tables with the content passed in the other options (people, organisation and tags_orgs).
So
Adds a new user sets 'active' to true and 'account_activated' to false. Returns an array:
Updates the password field and sets 'account_activated' to true. Returns an array:
where either columnName = 'email', value: string (an email address) or columnName = 'id', value: integer returns an array of length 1 or 0:
{
id: 1,
first_name: 'Bob',
last_name: 'Bobby',
user_type: 'admin',
email: 'bob.bobby@bob.com',
phone: '00000',
password: '123pwd',
job_title: 'Developer',
last_login: '1479491066104',
active: true,
account_activated: true
}
Where
userId
: integer
updatedProfile
: an object of the following format:
{
first_name: 'Sally',
last_name: 'Robertson',
job_title: 'Chocolatier',
phone: '07111111111'
};
if the userId is not an attribute of an existing user, we return an empty array if the userId is an attribute of an existing user, we return an Boom.notFound, 404 error.
Enables/disables user accounts. if userId is an attribute of an existing user, we return an empty array if userId is not recognised, we will return an Boom.notFound, 404 error.
returns an object:
{
"org": {
"id": 1,
"name": "Apple",
"logo_url": "https://apple.com",
"mission_statement": "Change the economy"
},
"primary": {
"first_name": "Sally",
"last_name": "Robbins",
"id": "07111111111",
"email": "sa@ro.co",
"job_title": "Athlete"
},
"challenges": [
{
"id": 2,
"title": "Challenge Number 2",
"tags": [
{
"tag_id": 2,
"tag_name": "Corporate"
}
]
},
...
]
}
where
activeOnly
is a Boolean value; Setting this to false
will return all (active
and inactive) organisations. true
will return active orgs only.
filter
corresponds to a tag ID. Organisations are filtered by this, and the
query will return only return organisations associated with the tag ID
specified.
returns an object of the following format:
{
filter: {
id: 69,
name: 'Design for disassembly'
},
orgs: {
id: 1,
name: 'Apple AAAA',
logo_url: 'google.com/?search=appleaaaa',
active: true
}
}
if org id is a legitimate organisation id, we return an empty array if org id is not recognised, we will return an Boom.notFound error.
When an org is enabled/disabled, any associated users are also enabled/disabled.
Where
id
: integer
orgObj
: object containing at least one of the following keys: ['name', 'logo_url', 'mission_statement']
if org id is a legitimate organisation id, we return an empty array if org id is not recognised, we will return an Boom.notFound error.
[ { name: 'Apple', id: 1 },
{ name: 'Asda', id: 6 },
{ name: 'Charcoal', id: 3 },
...
]
Returns an array of orgs, ordering them alphabetically.
FAQs
People database in postgres.
The npm package pg-people receives a total of 3 weekly downloads. As such, pg-people popularity was classified as not popular.
We found that pg-people demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.