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.
A set of AWS CDK examples and constructs.
Requires:
npm install -g aws-cdk
pip install aviv-cdk
# With 'extra' to install additionnal libraries
pip install aviv-cdk[data]
import aviv_cdk
from aws_cdk import App
from aviv_cdk.cicd.stack import CodePipelineStack
app = App()
CodePipelineStack(
app, 'cicd-stack',
connections={'myorg': dict(connection_name='myorg')},
sources={'cicd-stack': dict(repo_string='myorg/repo', branch='main')},
pipeline=dict(
self_mutation=False
)
)
app.synth()
from aviv_cdk.route53 import DomainZone
# Creates a new HostedZone
z = DomainZone(stack, 'myzone', fqdn='mydomain.com')
# add record
z.a('toto.mydomain.com', '10.0.0.1')
# Use an existing Zone
z = DomainZone(stack, 'myzone', fqdn='mydomain.com', zone_id='42')
z.txt('mydomain.com', 'my-dummy-check')
Requirements:
git clone https://github.com/aviv-group/aviv-cdk-python && cd aviv-cdk-python
pipenv install -d -e .
# Build with codebuild agent - see: buildspec.yml
codebuild_build.sh -i aws/codebuild/standard:4.0 -a cdk.out
# Run tests
pipenv run pytest -v tests/
Requires twine to be installed (pip install twine
) and credentials to upload a new verison to pypi.
# Test and build
python3 setup.py sdist bdist_wheel
# Release on pypi
python3 -m twine upload --repository testpypi dist/*
python3 -m twine upload --repository pypi dist/*
Yes please! Fork this project, tweak it and share it back by sending your PRs.
Have a look at the TODO's and changelog file if you're looking for inspiration.
This project is developed under the MIT license.
FAQs
Aviv CDK Python library
We found that aviv-cdk 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.